Steam Notification causes the client to freeze/hang completely(KDE WAYLAND)

This seems to be a rather interesting bug, it was introduced since kde 5.25 and upon further checks it seems like it is an nvidia driver related bug.
More details: 462027 – Notification Pop-Up from Steam, causes Steam client to hang Wayland

If it helps out I’m leaving the log provided by David Gow in the thread I have linked above:

"

Thread 1 (Thread 0xf7cbeb80 (LWP 9253) “steam”):
#0 __kernel_vsyscall () at …/arch/x86/entry/vdso/vdso32/system_call.S:72
#1 0xf7b157a7 in __GI___poll (timeout=-1, nfds=1, fds=0xfff68f1c) at …/sysdeps/unix/sysv/linux/poll.c:29
#2 __GI___poll (fds=0xfff68f1c, nfds=1, timeout=-1) at …/sysdeps/unix/sysv/linux/poll.c:26
#3 0xf7cd2b65 in poll (__timeout=-1, __nfds=1, __fds=0xfff68f1c) at /usr/include/bits/poll2.h:39
#4 _xcb_conn_wait (c=0x5840c2a0, vector=0x0, count=0x0, cond=) at /usr/src/debug/libxcb-1.15-1.4.i386/src/xcb_conn.c:508
#5 0xf7cd4c7d in _xcb_conn_wait (count=0x0, vector=0x0, cond=0x58c63dd8, c=0x5840c2a0) at /usr/src/debug/libxcb-1.15-1.4.i386/src/xcb_conn.c:474
#6 xcb_wait_for_special_event (c=0x5840c2a0, se=0x58c63dc0) at /usr/src/debug/libxcb-1.15-1.4.i386/src/xcb_in.c:806
#7 0xf75160bd in () at /lib/libGLX_nvidia.so.0
#8 0xf74fa46b in () at /lib/libGLX_nvidia.so.0
#9 0xf615f6e3 in () at /lib/libnvidia-glcore.so.525.53
#10 0xf751948c in () at /lib/libGLX_nvidia.so.0
#11 0xf74e4192 in () at /lib/libGLX_nvidia.so.0
#12 0xedf85cd7 in () at /home/david/.local/share/Steam/ubuntu12_32/vgui2_s.so
#13 0xedf760f6 in () at /home/david/.local/share/Steam/ubuntu12_32/vgui2_s.so
#14 0xedf85811 in () at /home/david/.local/share/Steam/ubuntu12_32/vgui2_s.so
#15 0xedf8cbec in () at /home/david/.local/share/Steam/ubuntu12_32/vgui2_s.so
#16 0xf1d4408e in () at /home/david/.local/share/Steam/ubuntu12_32/steamui.so
#17 0xf1d46799 in () at /home/david/.local/share/Steam/ubuntu12_32/steamui.so
#18 0xf1d481f0 in () at /home/david/.local/share/Steam/ubuntu12_32/steamui.so
#19 0x5664dc99 in ()
#20 0x5664ebae in ()
#21 0x56638b30 in ()
#22 0xf7a23295 in __libc_start_call_main (main=main@entry=0x56638b00, argc=argc@entry=1, argv=argv@entry=0xfff6f954) at …/sysdeps/nptl/libc_start_call_main.h:58
#23 0xf7a23358 in __libc_start_main_impl (main=0x56638b00, argc=1, argv=0xfff6f954, init=0x56ab1bb0 <__libc_csu_init>, fini=0x56ab1c20 <__libc_csu_fini>, rtld_fini=0xf7f6c990 <_dl_fini>, stack_end=0xfff6f94c) at …/csu/libc-start.c:381
#24 0x5663d9f5 in _start ()"

Steam really sucks for NVIDIA/Wayland. Some electron apps don’t update the screen either. Are we having these problems because they don’t support implicit synchronization?

It seems that this issue affects ONLY the proprietary driver, BUT NOT the open source driver.

EDIT: Nevermind the issue is present on the open as well.

Don’t know how you’re getting it to work at all. on debian-testing on kde with nvidia 525.60.11, i just get blank or garbled window. same in gnome. not sure if i’m missing an env variable or something. electron is hit or miss.

Try to start it from terminal. Maybe you can figure out why from the logs there.

Haven’t had any issues opening steam on Arch/EndeavourOS distros(no env variables set or anything).

1 Like

Thanks to you both! It might just be that debian doesn’t have updated enough packages for xwayland to work properly, so maybe just waiting a couple of months will do the trick.

This is the only part of the output in terminal that indicates errors/warnings:

(steam:406884): Gtk-WARNING **: 10:05:23.915: gtk_disable_setlocale() must be called before gtk_init()
Gtk-Message: 10:05:23.918: Failed to load module "appmenu-gtk-module"
/usr/share/themes/Breeze/gtk-2.0/widgets/entry:70: error: unexpected identifier 'direction', expected character '}'

(steam:406884): Gtk-WARNING **: 10:05:23.929: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant
local (potentially out of sync) copy of roaming config loaded - 1331 bytes.

Potentially similar to: xcb_wait_for_special_event() wait indefinitely when the window is closed (#38) · Issues · xorg / lib / libxcb · GitLab

Alright this issue could not even be related to nvidia drivers at all, I was able to reproduce it on steam deck(under both Stable and Beta) where a notification automatically hang up the client(in desktop mode). Further to that there seems to be a github report of it on the Steam repo.
For additional details - Steam freezes after running for a while · Issue #8769 · ValveSoftware/steam-for-linux · GitHub

1 Like