Gaming on Bluefin DX - Lutris as Flatpak or as layered package?

Hello everybody!

I’m writing from my Bluefin DX desktop installation and I must say I couldn’t be more satisfied with it: I’ve been using it as my daily driver for 3 months now and it’s such a great user experience so far!

Despite the fact I’m no longer a hard-core gamer, sometimes I still indulge with playing a match or two on StarCraft 2 using Lutris.

Now, I’ve installed Lutris as a Flatpak and both Battlenet and SC2 initialize and run pretty well…except SC2 crashes after a while.
Looking into Wine Logs I see that some resources are not accessible to the Flatpak:

i.e.:
pressure-vessel-wrap[50]: W: /dev/shm not shared between app instances (flatpak#4214). The Steam Overlay will not work.

i.e.:
gamemodeauto: dlopen failed - libgamemode.so: cannot open shared object file: No such file or directory
(even though gamemode is fully installed on the machine…)

i.e.:
/usr/lib/i386-linux-gnu/GL/default/share/libdrm/amdgpu.ids: No such file or directory
(even though amdgpu.ids is on the filesystem at several locations)

Hence I’ve tried adding some filesystem mappings using FlatSeal

  • in a granular manner first, under FileSystem, Other Files —> no improvement
  • in a bing-bang fashion subsequently… “All system files” ----> no improvement

Is there any magic I can possibly do to make Lutris work as a Flatpak or should I surrender to installing it as a layered package so that it can have elevated access to the filesystem?

Thanks in advance!

There even is a third option bazzite-arch Container. I did not Yet try it myself but it has latencyflex pre-configured.

1 Like

Hey!
Thanks for this option which I must confess…looks quite intriguing.

However, I have some conceptual obstacles when I think about it:

  • my Lutris issues (unless explained to be different…) seem to be related to the Fltapak inability to access resources in root-land (i.e. /dev/shm stuff) which is comprehensible, given the sandboxed/layered nature of the whole setup
  • a distrobox container is supposed to run in rootless mode (so with the same unprivileged access to system resources) sharing only portions of my userland (which is why for instance my Kali Linux managed by BoxBuddy cannot open raw sockets at networking level for instance…)…so ideally, a Bazzite container should suffer from the same restrictions imposed by the containerization layer.

The only way I can imagine that working is if the container replicates the full set of libraries, drivers, shared DLL, etc. needed by Lutris and Wine runtimes…pretty much like an AppImage would do…

Am I on the good trail for this or have I got totally deranged?
Anybody keeping me honest on this would be very much welcome. :smiling_face:

Ok…my Asus TUF laptop with AMD CPU and AMD GPU sports BluefinDX latest version (as my desktop does…) …

…and…

Lutris and SC2 are running smoothly without ANY sort of issue (leaving aside the noisy vents spinning up of course…).

So now I’m officially confused. Same sw…different hw…
I’ve even copy/pasted some sshots with the configs from both Lutris envs to make sure they were 100% aligned…no luck.
Then I’ve removed Lutris and its game folders and reinstalled it from scratch on the Desktop…no luck.

Guess what? I’m taking this as a sign from the destiny: I have to try Bazzite!
Haven’t tried it so far and what a better use case other than installing it to solve my little gaming issue?