Experimental Snap packages for Linux


I got first working Snap package for Linux:

Added instruction on wiki:

There still more work needed:

  • Ubuntu 17.04 only: network or DNS doesn’t work for launcher.
  • Ubuntu: client crashes unless you run it with --disable-shm due to AppArmor.
  • Ubuntu: no sound at all.
  • Fedora 26: music is working, but effects doesn’t.
  • Fedora 26: videos not working.
  • SOLVED: Fedora 26: crashes on server startup when client is running through launcher. I suppose it’s due to port being opened.

Isolation with AppArmor only supported on Ubuntu so other distributions have no problems with it.


I decide try to use Launchpad for Snap builds and find out our PPA was broken for a while. End up that it wasn’t updated because Bazaar import doesn’t support submodules. I tried to solve it by importing it as Git repository since Launchpad now support these, but building still fails since Launchpad doesn’t clone git recursively on build…

Still idea how to fix it.


@sxx we need to package fuzzilite separately even in ppa


Yeah I might try it, but that would require more work on packaging.


At least at some ubuntu versions you can just reuse debian`s fuzzilite


We can’t reuse it. FuzzyLite 4 and 5 are not source-compatible.
So I’ll investigate how to build FuzzyLite separately.


So our PPA is building again. I’ll try to test builds of Snap on it soon.

Only problem is that would require to put snap data into main repository since Launchad tend to refuse to build unchanged source. Though another way to solve it is just auto commit empty commits daily.


So I made it not fail without interprocess memory, but issues with sound still remain.
Other than that packages should be fully functional now.

Oops but yeah I forgot there is another issue: launcher fail to use network for whatever reason on Ubuntu where isolation is enforced.


I’ve tried snap package on my desktop PC (Nvidia 1050, intel Q6600) on Debian 9. Vcmilauncher starts and after clicking start button I get this error:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast


Thanks for reporting. I’ll setup Debian 9 VM eventually and see what I can do.



This is what I get when trying to run VCMI on Fedora 27 :


VCMI launcher screen looks like this:


And vcmiclient can’t find the H3 data already placed to $HOME/snap/vcmi/current/.local/share/vcmi/


Thanks for reporting. I only tested it on Fedora 26, but once I have time I’ll check 27 release.