ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

Steam UI Freezes Randomly with GPU Acceleration Enabled #11180

Open sannagy90 opened 1 month ago

sannagy90 commented 1 month ago

Your system information

Please describe your issue in as much detail as possible:

Stream UI will randomly freeze time to time when using the interface when GPU acceleration is enabled. Works fine when it's disabled. Gnome will present a prompt that the application isn't responding when issue presents itself.

Steps for reproducing this issue:

  1. Launch Steam.
  2. Interact with the interface by opening settings, friends windows, or clicking around for a few minutes.
  3. The freeze occurs randomly.

tailing webhelper-linux.txt, relevant logs seems to be

[0810/145207.391300:WARNING:spdy_session.cc(3487)] Received HEADERS for invalid stream 155
[0810/145207.391330:WARNING:spdy_session.cc(3487)] Received HEADERS for invalid stream 159
[0810/145212.220339:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0810/145242.729265:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0810/145243.317915:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0810/145254.319512:WARNING:connection.cc(41)] X error received.  Request: DestroyWindowRequest, Error: WindowError{.sequence = 21315, .bad_value = 27263103, .minor_opcode = 0, .major_opcode = 4}
[0810/145302.187824:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0810/145310.079523:WARNING:connection.cc(41)] X error received.  Request: DestroyWindowRequest, Error: WindowError{.sequence = 25232, .bad_value = 27263067, .minor_opcode = 0, .major_opcode = 4}
[0810/152154.699681:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0810/152216.042621:ERROR:debug_rendezvous.cc(122)] unexpected version 2
[0810/152216.045406:ERROR:directory_reader_posix.cc(42)] opendir /tmp/dumps/attachments/0a67aae8-2ca4-4c69-9458-6569022310e2: No such file or directory (2)
[0810/152216.058681:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
[0810/152216.084035:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=512
[0810/152216.084063:WARNING:gpu_process_host.cc(1338)] The GPU process has crashed 1 time(s)
[0810/152216.085558:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: gpu-process
[0810/152216.088884:WARNING:connection.cc(41)] X error received.  Request: DestroyWindowRequest, Error: WindowError{.sequence = 26794, .bad_value = 27263133, .minor_opcode = 0, .major_opcode = 4}
[0810/152216.166771:WARNING:sandbox_linux.cc(385)] InitializeSandbox() called with multiple threads in process gpu-process.
[0810/152216.167844:WARNING:gpu_process_host.cc(1014)] Reinitialized the GPU process after a crash. The reported initialization time was 81 ms
[0810/152216.259879:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[0810/152232.820128:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[0810/152306.352735:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
Bodyash commented 1 month ago

Can confirm on ArchLinux GPU: RX6600M

[0812/105424.444522:ERROR:context.cc(100)] The browser_subprocess_path directory (./steamwebhelper) is not an absolute path. Defaulting to empty. [0812/105424.463882:WARNING:crash_reporting.cc(278)] Failed to set crash key: UserID with value: 0 [0812/105424.463931:WARNING:crash_reporting.cc(278)] Failed to set crash key: BuildID with value: 1722379385 [0812/105424.463936:WARNING:crash_reporting.cc(278)] Failed to set crash key: SteamUniverse with value: Public [0812/105424.463940:WARNING:crash_reporting.cc(278)] Failed to set crash key: Vendor with value: Valve [0812/105424.463944:WARNING:crash_reporting.cc(278)] Failed to set crash key: Platform with value: Linux [0812/105424.464299:INFO:crash_reporting.cc(239)] Crash reporting enabled for process: browser [0812/105424.467424:WARNING:task_impl.cc(32)] No task runner for threadId 0 [0812/105424.468293:WARNING:task_impl.cc(32)] No task runner for threadId 0 [0812/105424.486255:WARNING:crash_reporting.cc(278)] Failed to set crash key: UserID with value: 76561198047079183 [0812/105424.486253:WARNING:crash_reporting.cc(278)] Failed to set crash key: UserID with value: 76561198047079183 [0812/105424.486316:WARNING:crash_reporting.cc(278)] Failed to set crash key: BuildID with value: 1722380543 [0812/105424.486323:WARNING:crash_reporting.cc(278)] Failed to set crash key: BuildID with value: 1722380543 [0812/105424.486326:WARNING:crash_reporting.cc(278)] Failed to set crash key: SteamUniverse with value: Public [0812/105424.486328:WARNING:crash_reporting.cc(278)] Failed to set crash key: SteamUniverse with value: Public [0812/105424.486331:WARNING:crash_reporting.cc(278)] Failed to set crash key: Vendor with value: Valve [0812/105424.486333:WARNING:crash_reporting.cc(278)] Failed to set crash key: Vendor with value: Valve [0812/105424.486336:WARNING:crash_reporting.cc(278)] Failed to set crash key: Platform with value: Linux [0812/105424.486338:WARNING:crash_reporting.cc(278)] Failed to set crash key: Platform with value: Linux Gtk-Message: 10:54:24.786: Failed to load module "canberra-gtk-module" Gtk-Message: 10:54:24.787: Failed to load module "canberra-gtk-module" [0812/105424.800404:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: gpu-process [0812/105424.860630:WARNING:sandbox_linux.cc(385)] InitializeSandbox() called with multiple threads in process gpu-process. [0812/105424.941306:WARNING:crash_reporting.cc(278)] Failed to set crash key: UserID with value: 76561198047079183 [0812/105424.941363:WARNING:crash_reporting.cc(278)] Failed to set crash key: BuildID with value: 1722380543 [0812/105424.941368:WARNING:crash_reporting.cc(278)] Failed to set crash key: SteamUniverse with value: Public [0812/105424.941373:WARNING:crash_reporting.cc(278)] Failed to set crash key: Vendor with value: Valve [0812/105424.941387:WARNING:crash_reporting.cc(278)] Failed to set crash key: Platform with value: Linux [0812/105424.941967:INFO:crash_reporting.cc(239)] Crash reporting enabled for process: utility [0812/105425.695153:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: utility [0812/105425.747002:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer failed to create drawable [0812/105427.561064:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer Invalid browser dimensions: 0 x 0 [0812/105428.188807:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer [0812/105429.138470:INFO:CONSOLE(0)] "Uncaught (in promise) #", source: https://steamloopback.host/index.html?LOCAL_HOSTNAME=arch&LANGUAGE=ukrainian&COUNTRY=PL&LAUNCHER_TYPE=0&CLIENT_SESSION=1723452601&IN_CLIENT=true&USE_POPUPS=true&IN_STEAMUI_SHARED_CONTEXT=true&PLATFORM=linux (0) [0812/105430.539663:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [0812/105430.540455:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [0812/105431.559074:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

sannagy90 commented 3 weeks ago

This seems to be resolved after the latest steam runtime updates

nimbold commented 3 weeks ago

I have this problem on Hybrid laptop (Nvidia/AMD) as well. CachyOS (arch based). I'm switching to steam beta to see if it helps or not.

sannagy90 commented 3 weeks ago

I just received updates to all 3 steam-runtimes and I am experiencing the issue again with the same errors in the logs. @kisak-valve do you know if the runtimes actually could be causing this or am I just make connections where there isn't any?


[0822/150007.811418:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[0822/150007.944100:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[0822/150007.944643:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
[0822/150017.701866:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0822/150026.235288:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
Invalid browser dimensions: 0 x 0
[0822/151154.980923:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0822/151156.153135:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0822/151157.545146:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0822/151158.191884:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0822/151408.887716:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0822/151409.870851:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0822/151452.363698:ERROR:debug_rendezvous.cc(122)] unexpected version 2
[0822/151452.367075:ERROR:directory_reader_posix.cc(42)] opendir /tmp/dumps/attachments/faf7051e-6179-418f-950a-9a2a15af7886: No such file or directory (2)
[0822/151452.378909:ERROR:command_buffer_proxy_impl.cc(325)] GPU state invalid after WaitForGetOffsetInRange.
[0822/151452.389703:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=512
[0822/151452.389718:WARNING:gpu_process_host.cc(1338)] The GPU process has crashed 1 time(s)
[0822/151452.393009:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: gpu-process
[0822/151452.394241:WARNING:connection.cc(41)] X error received.  Request: DestroyWindowRequest, Error: WindowError{.sequence = 9077, .bad_value = 46137438, .minor_opcode = 0, .major_opcode = 4}
[0822/151452.544857:WARNING:sandbox_linux.cc(385)] InitializeSandbox() called with multiple threads in process gpu-process.
[0822/151452.546016:WARNING:gpu_process_host.cc(1014)] Reinitialized the GPU process after a crash. The reported initialization time was 152 ms
[0822/151452.648555:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: renderer
[0822/151452.649028:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!```