ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.25k stars 175 forks source link

Steam games not starting anymore from library in /usr/games/ #11445

Closed graham2071 closed 2 days ago

graham2071 commented 2 days ago

Your system information

Please describe your issue in as much detail as possible:

All games fail to start ! Running steam from terminal, there are warnings

pressure-vessel-wrap[15267]: W: Not sharing path STEAM_COMPAT_DATA_PATH="/usr/games/SteamLibrary/steamapps/compatdata/718670" with container because "/usr" is reserved by the container framework
pressure-vessel-wrap[15267]: W: Not sharing path STEAM_COMPAT_INSTALL_PATH="/usr/games/SteamLibrary/steamapps/common/Cultist Simulator" with container because "/usr" is reserved by the container framework
pressure-vessel-wrap[15267]: W: Not sharing path STEAM_COMPAT_LIBRARY_PATHS="...:/usr/games/SteamLibrary/steamapps:..." with container because "/usr" is reserved by the container framework
pressure-vessel-wrap[15267]: W: Not sharing path STEAM_COMPAT_MOUNTS="...:/usr/games/SteamLibrary/steamapps/common/SteamLinuxRuntime:..." with container because "/usr" is reserved by the container framework
pressure-vessel-wrap[15267]: W: Not sharing path STEAM_COMPAT_MOUNTS="...:/usr/games/SteamLibrary/steamapps/common/SteamLinuxRuntime_soldier:..." with container because "/usr" is reserved by the container framework
pressure-vessel-wrap[15267]: W: Not sharing path STEAM_COMPAT_SHADER_PATH="/usr/games/SteamLibrary/steamapps/shadercache/718670" with container because "/usr" is reserved by the container framework
pressure-vessel-wrap[15267]: W: Unable to share "/usr/games/SteamLibrary/steamapps/common/Cultist Simulator" with container: Path "/usr" is reserved by the container framework

Here is the workaround:

  1. From Steam Settings / Storage: removed steamlibrary (in '/')
  2. moved SteamLibrary to /opt with sudo mv /usr/games/SteamLibrary /opt
  3. From Steam Settings / Storage: added SteamLibrary located in /opt/SteamLibrary

Now everything works again.

Steps for reproducing this issue:

  1. Start steam
  2. "Play" any game installed in /usr/games/SteamLibrary
kisak-valve commented 2 days ago

Hello @graham2071, this is an expected side effect of Native titles will execute in 'Steam for Linux runtime 1.0 (scout)' by default, instead of the legacy runtime environment. in the 2024-11-05 Steam client update leading to https://github.com/ValveSoftware/steam-runtime/blob/master/doc/steamlinuxruntime-known-issues.md#usrlocal.

Having user-controlled Steam library folders under /usr isn't something that can be supported sanely in that runtime environment and this is unlikely to change in the near future. Closing as won't fix.

graham2071 commented 2 days ago

Thanks for letting me know. I could find this info with google. Since it took me a bit of time to find what was going wrong, I've posted here hoping it can help others with the same issue.