linux-steam-integration icon indicating copy to clipboard operation
linux-steam-integration copied to clipboard

Feral options menu is all white when running from snapped LSI

Open johningve opened this issue 8 years ago • 6 comments

Using Ubuntu 17.10 image

Tested on:

  • Dirt Rally
  • Middle-earth: Shadow of Mordor
  • Mad Max (vulkan beta)

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

johningve avatar Nov 14 '17 09:11 johningve

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

ikeydoherty avatar Nov 14 '17 15:11 ikeydoherty

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.

GloriousEggroll avatar Dec 20 '17 08:12 GloriousEggroll

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

ikeydoherty avatar Dec 20 '17 12:12 ikeydoherty

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?

mclang avatar Dec 20 '17 19:12 mclang

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

ikeydoherty avatar Dec 21 '17 16:12 ikeydoherty

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.

mclang avatar Dec 22 '17 07:12 mclang