solus-project / linux-steam-integration

Helper for enabling better Steam integration on Linux
GNU Lesser General Public License v2.1
430 stars 19 forks source link

Feral options menu is all white when running from snapped LSI #39

Open johningve opened 6 years ago

johningve commented 6 years ago

Using Ubuntu 17.10 image

Tested on:

This appears on the command line:

[1114/101734:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
LaunchProcess: failed to execvp:
/media/slow-storage/john/SteamLibrary/steamapps/common/DiRT Rally/bin/DirtRally
LaunchProcess: failed to execvp:
/proc/self/exe
ikeydoherty commented 6 years ago

Known issue atm due to how the apparmor policy works by default. If the files were in your ~ they'd launch, but on the /var,/run,/media trees they bork for Feral interactive titles as the child process exits with EPERM

GloriousEggroll commented 6 years ago

Just a heads up if you just want your feral games to run, you can compile + install snapd without apparmor by adding --disable-apparmor in the ./configure arguments. Just a warning this -is- going to run things without apparmor. It's a temp workaround option. Arch and arch aur git package both do this by default:

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=snapd-git

I mount my partitions to /run/media/ and am able to run feral launcher games with np this way. just be aware that apparmor will be disabled.

ikeydoherty commented 6 years ago

Aye - we'll still need to get the actual confinement issue fixed though :D

mclang commented 6 years ago

Is there other workaround than building snapd without apparmor?

I'd like to try Company of Heroes 2 and Deus Ex: Mankind Divided, but they are giving the same error... Should I install steam using eopg and forget LSI for now? Can the two live side by side using the same steam library directory?

ikeydoherty commented 6 years ago

Solus already uses LSI for our Steam package @mclang - for now its the "proper" way to use it in Solus. Right now we have some confinement issues to work through which I started last night. We're still a few weeks away from prime time here :D

mclang commented 6 years ago

Ah, okay - missed that in the blog post.

I uninstalled the snaps and installed steam using eopg. Now COH2 starts alright but DX: MD not. Ah well - no time to play many games at the same time, so I may as well wait that you get things in shipping order.