Snapping Dolphin emulator

Hi everybody, nice to see that there’s a pretty cool community now!

I was trying to snap the Dolphin emulator and it seems to work fine in devmode. The snapcraft.yaml file is here.
In the past the joystick didn’t work but now that works too.

The confined version crash after executing any game, because it has problem accessing the shared memory.
I’ve posted here in case someone know how to continue packaging it, it would be pretty awesome to have this emulator in the software center.

05:36:281 Common/MemArena.cpp:108 N[MI]: mmap failed <== Dolphin Log
= AppArmor =
Time: Jun 24 20:05:36
Log: apparmor=“DENIED” operation=“mknod” profile=“snap.dolphin-emu.dolphin-emu” name="/dev/shm/dolphinmem.0" pid=24800 comm=456D75746872656164202D20537461 requested_mask=“c” denied_mask=“c” fsuid=1000 ouid=1000
File: /dev/shm/dolphinmem.0 (write)

  • adjust program to create files and directories in /dev/shm/snap.$SNAP_NAME.*
1 Like