protonscr

Steam fails to attach dropdowns and renderer to the main window

steamclosed
ValveSoftware/steam-for-linux#10409 · opened 2024-01-20 by neptuwunium · updated 2024-01-20 · 1 comments · github
1 matching comments, n / p to jump
Nneptuwunium 2024-01-20 github

Your system information

  • Steam client version (build number or date): 1705108172 and 1705720677
  • Distribution (e.g. Ubuntu): Gentoo
  • Opted into Steam client beta?: Attempted Both
  • Have you checked for system updates?: Yes
  • GPU: AMD

Please describe your issue in as much detail as possible:

All web renderers are not attached to the main steam process, instead show as individual windows. Additionally, Steam does not set an X11 Window Class, or at least XWayland does not forward it. This renders the Steam interface completely unusable on tiling window managers as each dropdown will be categorized as it's own window, and with no class id and every process having the same PID it is impossible to automatically hide each dropdown.

cef_log is spamming a lot of errors: https://gist.github.com/yretenai/66d61050887f18dcb2138809eee34d2c

additionally libcef.so is segfaulting:

[  805.478341] GpuWatchdog[14540]: segfault at 0 ip 00007fc46419e906 sp 00007fc45aea87b0 error 6 in libcef.so[7fc45fcfb000+7770000] likely on CPU 12 (core 0, socket 0)
[  805.478350] Code: 89 de e8 4d ee 6e ff 80 7d cf 00 79 09 48 8b 7d b8 e8 2e 70 2c 03 41 8b 84 24 e0 00 00 00 89 45 b8 48 8d 7d b8 e8 3a d1 b5 fb <c7> 04 25 00 00 00 00 37 13 00 00 48 83 c4 38 5b 41 5c 41 5d 41 5e
[  839.052297] traps: steamwebhelper[14461] trap invalid opcode ip:7f3bfb0cc09b sp:7ffdcdb7fbb0 error:0 in libcef.so[7f3bf6efb000+7770000]
[ 2028.056731] GpuWatchdog[30542]: segfault at 0 ip 00007f4df159e906 sp 00007f4de82867b0 error 6 in libcef.so[7f4ded0fb000+7770000] likely on CPU 13 (core 1, socket 0)
[ 2028.056744] Code: 89 de e8 4d ee 6e ff 80 7d cf 00 79 09 48 8b 7d b8 e8 2e 70 2c 03 41 8b 84 24 e0 00 00 00 89 45 b8 48 8d 7d b8 e8 3a d1 b5 fb <c7> 04 25 00 00 00 00 37 13 00 00 48 83 c4 38 5b 41 5c 41 5d 41 5e
[ 3057.328225] GpuWatchdog[21346]: segfault at 0 ip 00007fb38ff9e906 sp 00007fb386cc87b0 error 6 in libcef.so[7fb38bafb000+7770000] likely on CPU 1 (core 1, socket 0)
[ 3057.328235] Code: 89 de e8 4d ee 6e ff 80 7d cf 00 79 09 48 8b 7d b8 e8 2e 70 2c 03 41 8b 84 24 e0 00 00 00 89 45 b8 48 8d 7d b8 e8 3a d1 b5 fb <c7> 04 25 00 00 00 00 37 13 00 00 48 83 c4 38 5b 41 5c 41 5d 41 5e

On gamescope, the UI is completely unusable as it will only render the last window.

Additionally it spams out xwm: got the same buffer committed twice, ignoring.

and then crashes when it loses focus.

Steps for reproducing this issue:

Start steam on Linux 6.6.12 and Linux Firmware as of 15th January 2024

Note: Switching tabs will duplicate the renderer, and fix it in the main window. It could be that Steam is now initializing the windows too early?

Potentially relevant Gentoo packages:

  • x11-base/xwayland-23.2.4
  • sys-kernel/linux-firmware-20240115
  • sys-kernel/gentoo-kernel-6.6.12

Edit: Upon testing and rolling back XWayland (to 23.2.3) Firmware (to 20231211) and the Kernel (to 6.6.11) which were known to work prior to today, it still happens. Though the segfaults have ceased to happen, the cef_log.txt still spams X errors.

Nneptuwunium 2024-01-20 github

The issue was that the environment variable SDL_VIDEO_DRIVER and SDL_VIDEODRIVER was set to wayland. Unsetting this variable resolved the issue.

Launch options