Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Games don't work with Steam Linux Runtime #140543

Closed
davidak opened this issue Oct 4, 2021 · 6 comments
Closed

Games don't work with Steam Linux Runtime #140543

davidak opened this issue Oct 4, 2021 · 6 comments

Comments

@davidak
Copy link
Member

davidak commented Oct 4, 2021

Describe the bug

should that work?

Could not connect to X session manager: None of the authentication protocols specified are supported
Could not connect to X session manager: None of the authentication protocols specified are supported
GameAction [AppID 730, ActionID 17] : LaunchApp changed task to UpdatingAppInfo with ""
GameAction [AppID 730, ActionID 17] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 730, ActionID 17] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 730, ActionID 17] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 730, ActionID 17] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 730, ActionID 17] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 730, ActionID 17] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0mangohud /home/davidak/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- '/home/davidak/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/davidak/.local/share/Steam/steamapps/common/SteamLinuxRuntime'/scout-on-soldier-entry-point-v2 --  '/home/davidak/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh' -steam -fullscreen\0
Game update: AppID 730 "", ProcID 102747, IP 0.0.0.0:0
ERROR: ld.so: object '/home/davidak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Starting app 730
>>> Adding process 102747 for game ID 730
GameAction [AppID 730, ActionID 17] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/davidak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/davidak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/davidak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/davidak/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/davidak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/davidak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/davidak/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 730, ActionID 17] : LaunchApp changed task to Completed with ""
pid 102763 != 102760, skipping destruction (fork without exec?)
/nix/store/bifdr7lp00f4963l50hnxfsydh0gnrbj-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so: undefined symbol: g_type_ensure
Failed to load module: /nix/store/bifdr7lp00f4963l50hnxfsydh0gnrbj-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so
/nix/store/sbpmhp8xh8kjq06m1z12s0w6a0gs4iw3-glib-networking-2.68.2/lib/gio/modules/libgiognutls.so: undefined symbol: g_byte_array_steal
Failed to load module: /nix/store/sbpmhp8xh8kjq06m1z12s0w6a0gs4iw3-glib-networking-2.68.2/lib/gio/modules/libgiognutls.so
/nix/store/sbpmhp8xh8kjq06m1z12s0w6a0gs4iw3-glib-networking-2.68.2/lib/gio/modules/libgiolibproxy.so: undefined symbol: g_task_set_task_data
Failed to load module: /nix/store/sbpmhp8xh8kjq06m1z12s0w6a0gs4iw3-glib-networking-2.68.2/lib/gio/modules/libgiolibproxy.so
/nix/store/sbpmhp8xh8kjq06m1z12s0w6a0gs4iw3-glib-networking-2.68.2/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_new
Failed to load module: /nix/store/sbpmhp8xh8kjq06m1z12s0w6a0gs4iw3-glib-networking-2.68.2/lib/gio/modules/libgiognomeproxy.so
/nix/store/ji67dqqh5dw4v7v0plfshvi2hiilr7yp-gvfs-1.48.1/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_new
Failed to load module: /nix/store/ji67dqqh5dw4v7v0plfshvi2hiilr7yp-gvfs-1.48.1/lib/gio/modules/libgvfsdbus.so
/nix/store/ji67dqqh5dw4v7v0plfshvi2hiilr7yp-gvfs-1.48.1/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_new
Failed to load module: /nix/store/ji67dqqh5dw4v7v0plfshvi2hiilr7yp-gvfs-1.48.1/lib/gio/modules/libgioremote-volume-monitor.so
>>> Adding process 102760 for game ID 730
>>> Adding process 102761 for game ID 730
pressure-vessel-wrap[102760]: W: Found more than one possible libdrm data directory from provider
cat: /home/davidak/.local/share/Steam/ubuntu12_32/steam-runtime/version.txt: No such file or directory
>>> Adding process 102960 for game ID 730
Game removed: AppID 730 "", ProcID 102747 
Uploaded AppInterfaceStats to Steam
Exiting app 730
No cached sticky mapping in ActivateActionSet.

Steps To Reproduce

Steps to reproduce the behavior:

tested with

since the games also don't work natively (black screen, hangs forever)

Expected behavior

native linux steam games work

Additional context

Add any other context about the problem here.

Notify maintainers

@jagajaga @jonringer

Metadata

system built from master

  • system: "x86_64-linux"
  • host os: Linux 5.14.9, NixOS, 21.11 (Porcupine)
  • multi-user?: no
  • sandbox: yes
  • version: nix-env (Nix) 2.3.15
  • channels(root): "home-manager-21.05, nixos-21.05.1574.4181644d09b, nixos-hardware, nixos-unstable-21.11pre302615.967d40bec14"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
@davidak
Copy link
Member Author

davidak commented Oct 4, 2021

@TredwellGit
Copy link
Member

#140711 Updating does not fix.

@TredwellGit
Copy link
Member

This seems to have been fixed by a recent Steam update.

@benneti
Copy link
Contributor

benneti commented Nov 15, 2021

are you sure for me something still seems to be broken:

pressure-vessel-wrap[5614]: W: Found more than one possible libdrm data directory from provider
pid 5817 != 5812, skipping destruction (fork without exec?)
=== ERROR - You're missing vital libraries to run Rise of the Tomb Raider
=== Either use the steam runtime or install these using your package manager
	libgconf-2.so.4 => not found
	libcups.so.2 => not found
===
pid 5878 != 5812, skipping destruction (fork without exec?)
pid 5884 != 5812, skipping destruction (fork without exec?)
SteamLibrary/steamapps/common/Rise of the Tomb Raider/bin/RiseOfTheTombRaider: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

while both of the .so.* files should be in the steam-run environment according to nix-locate.

@Atemu
Copy link
Member

Atemu commented Nov 13, 2022

@benneti your problem seems to be something else. It's erroring out on missing libs. Please open a new issue if it still persists.

cat: /home/davidak/.local/share/Steam/ubuntu12_32/steam-runtime/version.txt: No such file or directory

Makes me believe this is an issue of the Steam state in your home dir, not our Steam derivation. This is something that can easily get fixed automagically by an update as @TredwellGit mentioned or by wiping the stateful Steam installation but we can't do anything for or against it on our side in Nixpkgs.

pressure-vessel-wrap[102760]: W: Found more than one possible libdrm data directory from provider

Is probably just a benign warning.

@Atemu Atemu closed this as not planned Won't fix, can't repro, duplicate, stale Nov 13, 2022
@davidak
Copy link
Member Author

davidak commented Nov 13, 2022

I tested https://store.steampowered.com/app/496300/Kingdom_New_Lands/ again and it works with Steam and Linux Environment. So the issue seem to be fixed

Tested on NixOS 22.05.3954.4f09cfce9c1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants