protonscr

steam client randomly stuck

steamclosed Steam clientDistro Family: ArchDistro Family: Fedora
ValveSoftware/steam-for-linux#5480 · opened 2018-05-10 by NTMan · updated 2020-07-10 · 8 comments · github
NNTMan 2018-05-10 github

Your system information

  • Steam client version (build number or date): 1525918068
  • Distribution (e.g. Ubuntu): Fedora 29
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

Regularly steam client hang. Only kill -p `pidof steam` can close freezed steam client.

Steps for reproducing this issue:

No exactly instruction for reproducing.
But often it occurs after playing in a game.

steam client backtrace

I can make more accurate backtrace if you provide debug symbols for steam client.

$ inxi -bM
System:    Host: localhost.localdomain Kernel: 4.17.0-0.rc3.git4.1.fc29.x86_64 x86_64 bits: 64
           Desktop: Gnome 3.29.1 Distro: Fedora release 29 (Rawhide)
Machine:   Device: desktop System: Gigabyte product: Z87M-D3H serial: N/A
           Mobo: Gigabyte model: Z87M-D3H serial: N/A UEFI: American Megatrends v: F11 date: 08/12/2014
Battery    hidpp__0: charge: N/A condition: NA/NA Wh
CPU:       Quad core Intel Core i7-4770 (-MT-MCP-) speed/max: 1979/3900 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Vega 10 XT [Radeon RX Vega 64]
           Display Server: wayland (X.org 119999.5 ) drivers: modesetting,ati (unloaded: fbdev,vesa)
           Resolution: [email protected]
           OpenGL: renderer: Radeon RX Vega (VEGA10, DRM 3.25.0, 4.17.0-0.rc3.git4.1.fc29.x86_64, LLVM 6.0.0)
           version: 4.5 Mesa 18.1.0-rc3
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
Drives:    HDD Total Size: 16241.0GB (19.6% used)
Info:      Processes: 424 Uptime: 2:55 Memory: 13125.4/32037.0MB Client: Shell (bash) inxi: 2.3.56 
Kkisak-valve maintainer 2018-05-10 github

This issue is a regression in xorg server 1.20 (and rc's).

NNTMan 2018-05-15 github

Can you help me reported about this issue to appropriate developers?
I reported about this problem here: https://bugs.freedesktop.org/show_bug.cgi?id=106472
But no one's replied to me.
Maybe I described the problem poorly?
Do you see in the backtrace where the hang are occurred?
Can you add snip with information where stuck are occurred in XWayland ?
Big thanks.

Kkisak-valve maintainer 2018-05-17 github
SSilur 2018-05-20 github

Confirmed, on an up-to-date arch, wayland, nvidia 396.24 system
most likely a mesa issue, running stuff directly from CLI with STEAM_RUNTIME=0 results in

Process 29495 (dota2) of user 1000 dumped core.

                                                   Stack trace of thread 29506:
                                                   #0  0x00007fcd20949161 n/a (i965_dri.so)
                                                   #1  0x00007fcd20b4beed n/a (i965_dri.so)
                                                   #2  0x00007fcd2339a425 n/a (libGL.so.1)
                                                   #3  0x00007fcd2aa15075 start_thread (libpthread.so.0)
                                                   #4  0x00007fcd2ad2453f __clone (libc.so.6)

                                                   Stack trace of thread 29495:
                                                   #0  0x00007fcd2aa1affc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #1  0x00007fcd2913dfa2 n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libtier0.so)
                                                   #2  0x00007fcd1c836593 n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemgl.so)
                                                   #3  0x00007fcd1c839ccf n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemgl.so)
                                                   #4  0x00007fcd1c86c141 n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemgl.so)
                                                   #5  0x00007fcd1c86c279 n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemgl.so)
                                                   #6  0x00007fcd1c86fd28 n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemgl.so)
                                                   #7  0x00007fcd2980c1f9 n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so)
                                                   #8  0x00007fcd2980cf85 n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so)
                                                   #9  0x00007fcd2980d84c n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so)
                                                   [#10](/issue/ValveSoftware/steam-for-linux/10) 0x00007fcd1c87472d n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/librendersystemgl.so)
                                                   [#11](/issue/ValveSoftware/steam-for-linux/11) 0x00007fcd29a46ba2 n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so)
                                                   [#12](/issue/ValveSoftware/steam-for-linux/12) 0x00007fcd29a47b3a n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so)
                                                   [#13](/issue/ValveSoftware/steam-for-linux/13) 0x00007fcd2980bc6b n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so)
                                                   [#14](/issue/ValveSoftware/steam-for-linux/14) 0x00007fcd2980e4d0 n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so)
                                                   [#15](/issue/ValveSoftware/steam-for-linux/15) 0x00007fcd2980f3c7 n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so)
                                                   [#16](/issue/ValveSoftware/steam-for-linux/16) 0x00007fcd2973d4ed n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so)
                                                   [#17](/issue/ValveSoftware/steam-for-linux/17) 0x00007fcd2973da07 n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/libengine2.so)
                                                   [#18](/issue/ValveSoftware/steam-for-linux/18) 0x00005620c368018f n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/dota2)
                                                   [#19](/issue/ValveSoftware/steam-for-linux/19) 0x00007fcd2ac4f06b __libc_start_main (libc.so.6)
                                                   [#20](/issue/ValveSoftware/steam-for-linux/20) 0x00005620c3680225 n/a (/home/silur/.local/share/Steam/steamapps/common/dota 2 beta/game/bin/linuxsteamrt64/dota2)
Kkisak-valve maintainer 2018-05-20 github

Hello @Silur, do you have an optimus setup / is steam running with mesa?

SSilur 2018-05-20 github

yes I was running dota with primusrun %command% flawlessly with steam till yesterday
but steam itself was not running within optimus/primus

NNTMan 2018-05-20 github

https://patchwork.freedesktop.org/patch/223324/ potentially fixes this issue.

I tested this patch several days and can confirm that with this patch steam client not stuck anymore.

Kkisak-valve maintainer 2020-07-10 github

Nothing extracted yet.