protonscr

Unable to launch valve games in archliunuxsteam

steamclosed Distro Family: Arch
ValveSoftware/steam-for-linux#11965 · opened 2025-05-01 by odror · updated 2025-05-12 · 3 comments · github
Oodror 2025-05-01 github

Your system information

  • Steam client version (build number or date): 1745876290 Mon, Apr 28 2:09 PM UTC -08:00
  • Distribution (e.g. Ubuntu): Archlinux
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes
  • GPU: Nvidia RTC 4070ti

Games fail to start for example Portal revolution I get the following terminal output

chdir "/home/games/steamapps/common/Portal Revolution"
ERROR: ld.so: object '/home/dror/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Game Recording - would start recording game 601360, but recording for this game is disabled
Adding process 1273592 for gameID 601360
ERROR: ld.so: object '/home/dror/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dror/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/dror/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/dror/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
WARNING: discarding _NET_WM_PID 2 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 2 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
Adding process 1273593 for gameID 601360
Adding process 1273594 for gameID 601360
Adding process 1273683 for gameID 601360
pid 1273687 != 1273683, skipping destruction (fork without exec?)
pid 1273692 != 1273683, skipping destruction (fork without exec?)
Adding process 1273713 for gameID 601360
Adding process 1273715 for gameID 601360
Adding process 1273716 for gameID 601360
Segmentation fault (core dumped)
Game Recording - game stopped [gameid=601360]
Removing process 1273716 for gameID 601360
Removing process 1273715 for gameID 601360
Removing process 1273713 for gameID 601360
Removing process 1273683 for gameID 601360
Removing process 1273594 for gameID 601360
Removing process 1273593 for gameID 601360
Removing process 1273592 for gameID 601360

Every time that I start this game i have the issue .
steam --reset
did not solve the issue.
I have not used steam on this computer for a while, but everything is up to date

TTTimo 2025-05-05 github

Looks like a Portal mod, that may be the execstack issue: https://github.com/ValveSoftware/Source-1-Games/issues/6982

Ssmcv 2025-05-12 github

Looks like a Portal mod, that may be the execstack issue: ValveSoftware/Source-1-Games#6982

If it's that, I would have expected to see cannot enable executable stack as shared object requires: Invalid argument in the game's output.

These lines look unusual and perhaps distinctive:

WARNING: discarding _NET_WM_PID 2 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 2 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
...
Segmentation fault (core dumped)

for example Portal revolution

This is a third-party Portal 2 mod. Is the crash reproducible with the original Portal 2?

TTTimo 2025-05-12 github

Those _NET_WM_PID are likely a red herring, it's just some code in the steam client that should get updated.

I can reproduce the crash, it is the execstack issue - set your launch options to GLIBC_TUNABLES=glibc.rtld.execstack=2 %command% as a workaround (assuming you are on a system with 2.41.1 or newer glibc, see the linked issue for details)