Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] steam wont launch any game anymore
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 647
Location: Los Angeles

PostPosted: Wed Nov 17, 2021 3:51 am    Post subject: [SOLVED] steam wont launch any game anymore Reply with quote

Steam games have suddenly stopped working for me. I haven't changed anything out side of system updates and steam updates. I am using STEAM_RUNTIME=1 and the application itself is loading as usual, but when I click to play a game it just tries to launch for a second then returns the play button.

Code:

Opted-in Controller Mask for AppId 427520: 0
GameAction [AppID 427520, ActionID 2] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 427520, ActionID 2] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 427520, ActionID 2] : LaunchApp changed task to SynchronizingControllerConfig with ""
GameAction [AppID 427520, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 427520, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 427520, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 427520, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/kwhat/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=427520 -- '/home/kwhat/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio'\0
Game process added : AppID 427520 "/home/kwhat/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=427520 -- '/home/kwhat/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio'", ProcID 31764, IP 0.0.0.0:0
ERROR: ld.so: object '/home/kwhat/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 427520, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/kwhat/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
GameAction [AppID 427520, ActionID 2] : LaunchApp changed task to Completed with ""
Game process removed: AppID 427520 "/home/kwhat/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=427520 -- '/home/kwhat/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio'", ProcID 31764
Uploaded AppInterfaceStats to Steam
No cached sticky mapping in ActivateActionSet.No cached sticky mapping in ActivateActionSet.No cached sticky mapping in ActivateActionSet.



Update: It looks like glibc is what is causing this problem when compiled with -ftree-vectorize -ftree-slp-vectorize

Code:
traps: reaper[14843] general protection fault ip:f7d5334f sp:ff889bd0 error:0 in libc.so.6[f7ced000+183000]
Back to top
View user's profile Send private message
Ghett_Klapson
n00b
n00b


Joined: 25 Oct 2021
Posts: 38

PostPosted: Sat Dec 18, 2021 3:44 am    Post subject: Reply with quote

I'm having the same problem, could you elaborate on your solution and what steps you took to troubleshoot/figure out the problem? Thanks!
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 647
Location: Los Angeles

PostPosted: Sat Dec 18, 2021 4:34 am    Post subject: Reply with quote

The only meaningful error messages I got were in dmsg and said
Code:
traps: reaper[14843] general protection fault ip:f7d5334f sp:ff889bd0 error:0 in libc.so.6[f7ced000+183000]
I started looking at my cflags and set them to something less optimization happy and things started working. I should also not that I am using STEAM_RUNTIME=1.
Back to top
View user's profile Send private message
Ghett_Klapson
n00b
n00b


Joined: 25 Oct 2021
Posts: 38

PostPosted: Sat Dec 18, 2021 4:47 am    Post subject: Reply with quote

KWhat wrote:
The only meaningful error messages I got were in dmsg


Interesting, my dmesg isn't yelling anything at me. I will try changing my CFLAGS as well? I don't have -ftree-vectorize enabled, but -O2 does enable -ftree-slp-vectorize (according to https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html).
Back to top
View user's profile Send private message
KWhat
l33t
l33t


Joined: 04 Sep 2005
Posts: 647
Location: Los Angeles

PostPosted: Sat Dec 18, 2021 5:00 am    Post subject: Reply with quote

-ftree-slp-vectorize def caused problems with glibc for me, but I would get a segfault with dmegs after I tried to launch a game.
Back to top
View user's profile Send private message
Ghett_Klapson
n00b
n00b


Joined: 25 Oct 2021
Posts: 38

PostPosted: Sat Dec 18, 2021 5:13 am    Post subject: Reply with quote

Hmmm. Maybe we're actually having different issues, but Steam's giving the same (generic?) messages.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Sat Dec 18, 2021 6:08 pm    Post subject: Reply with quote

That could be. Ghett, you haven't shown your error message, so we cannot determine if it is related at all.
Back to top
View user's profile Send private message
Ghett_Klapson
n00b
n00b


Joined: 25 Oct 2021
Posts: 38

PostPosted: Sat Dec 18, 2021 11:51 pm    Post subject: Reply with quote

Edit: solved, just a silly mount option mistake. https://forums.gentoo.org/viewtopic-p-8685839.html#8685839

Yep. Here's the stuff steam spits out at me when launched from a terminal, it's identical. My games also don't launch at all and silently error out. I think the 2 errors don't have any relation? There are some really old threads out there that say disabling the in-game overlay solves this issue, but the "gameoverlayrender.so from LD_PRELOAD..." error shows regardless of that setting. This is the error for a game running on Proton, though I can launch that game if I open it with Wine directly. I've tried a different Proton version and it didn't work either. STEAM_RUNTIME=1 hasn't done anything, and my steam-launcher has the steamruntime USE flag enabled (though I can try w/out in a bit).

Code:
GameAction [AppID 252950, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 252950, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 252950, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 252950, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 252950, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 252950, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask for AppId 252950: 0
/bin/sh\0-c\0/home/tao/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=252950 -- '/home/tao/Games/games_subvol/SteamLibrary/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/tao/Games/games_subvol/SteamLibrary/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/tao/Games/games_subvol/SteamLibrary/steamapps/common/rocketleague/Binaries/Win64/RocketLeague.exe'\0
Game process added : AppID 252950 "/home/tao/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=252950 -- '/home/tao/Games/games_subvol/SteamLibrary/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/tao/Games/games_subvol/SteamLibrary/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/tao/Games/games_subvol/SteamLibrary/steamapps/common/rocketleague/Binaries/Win64/RocketLeague.exe'", ProcID 4785, IP 0.0.0.0:0
chdir /home/tao/Games/games_subvol/SteamLibrary/steamapps/common/rocketleague/Binaries/Win64
ERROR: ld.so: object '/home/tao/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 252950, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/tao/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
pid 4786 != 4785, skipping destruction (fork without exec?)
GameAction [AppID 252950, ActionID 1] : LaunchApp changed task to Completed with ""
Game process removed: AppID 252950 "/home/tao/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=252950 -- '/home/tao/Games/games_subvol/SteamLibrary/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/tao/Games/games_subvol/SteamLibrary/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/tao/Games/games_subvol/SteamLibrary/steamapps/common/rocketleague/Binaries/Win64/RocketLeague.exe'", ProcID 4785


Edit: I'm waiting for a Linux native Steam game to update, then I can see if that errs as well.
Back to top
View user's profile Send private message
mouacyk
n00b
n00b


Joined: 23 Mar 2009
Posts: 23

PostPosted: Wed Jan 12, 2022 2:16 am    Post subject: Reply with quote

KWhat wrote:
The only meaningful error messages I got were in dmsg and said
Code:
traps: reaper[14843] general protection fault ip:f7d5334f sp:ff889bd0 error:0 in libc.so.6[f7ced000+183000]
I started looking at my cflags and set them to something less optimization happy and things started working. I should also not that I am using STEAM_RUNTIME=1.

Thank you! I started to run into this issue recently and only when I recompiled glibc and harfbuzz with minimal cflags, did games start launching again.
Code:

CFLAGS="-march=skylake -O2 -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu"

_________________
OCed24/7: 9900K5.0GHz//16GB4000MHzC16//1080Ti2.10GHz
OCed24/7: 1680v24.5GHz//32GB2333MHzC10//750Ti[GHz
Back to top
View user's profile Send private message
shaumux
Veteran
Veteran


Joined: 13 May 2005
Posts: 1009
Location: Hong Kong

PostPosted: Fri Aug 05, 2022 11:54 am    Post subject: Reply with quote

It's an issue with gcc-12 glibc and steam
It's reported here https://github.com/ValveSoftware/steam-for-linux/issues/8302
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2716

PostPosted: Fri Aug 05, 2022 11:57 pm    Post subject: Reply with quote

shaumux wrote:
It's an issue with gcc-12 glibc and steam
It's reported here https://github.com/ValveSoftware/steam-for-linux/issues/8302
As far as I'm aware, the -ftree-vectorize issue shouldn't be an issue if glibc was built with USE=strack-realign (default on relevant profiles), or at least it's what a user reported when they were having gcc-12 issues, possible(?) reports weren't entirely accurate albeit stack-realign is useful with steam either way.

That USE didn't exist back when this thread was made though, so issues were expected back then.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum