ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

Steam UI freezes when switching workspaces #10887

Open hankertrix opened 6 months ago

hankertrix commented 6 months ago

Your system information

Please describe your issue in as much detail as possible:

Switching away from the workspace containing the Steam client and then switching back to the same workspace freezes the Steam UI. The buttons are still clickable and interactable, but the visuals do not update. Inputs to search bars in the library tab are captured and will update after closing the Steam client and restarting the client window. Below are screenshots of a few examples:

Switching to the store page shows the page, but the bar at the top doesn't update. image

Switching to the community tab shows the community tab but the UI doesn't update. image

Drop-down menus are still displayed just fine: image

Typing "bastion" into the library search box doesn't show anything as the UI is frozen: image

But closing and re-opening the Steam client shows the input that is typed when the UI is frozen: image

Steps for reproducing this issue:

  1. Start the Steam client
  2. Switch to another workspace on Linux
  3. Switch back to the Steam client
  4. The Steam client's UI freezes and doesn't update, even though the buttons are still clickable and interactable, and inputs are still received
ndlarsen commented 6 months ago

Experiencing a similar issue and it is consistently reproducible. Not entirely sure exactly when this issue occurred but think it is within the last few days for me. At least this is when I noticed it. Issue does not seem to occur when "Enable GPU accelerated rendering in web views" in Settings -> Interface is disabled. Running Xorg, not Wayland.

STR:

steam-logs.tar.gz lshw.txt

toofar commented 6 months ago

I can reproduce this 100% too. I'm on awesome wm and AMD graphics with steam version 1715635533 on debian sid. Couple of extra points:

  1. I can un-freeze the window by minimizing it then un-minimising it
  2. I can't reproduce with "Enable GPU accelerated rendering in web views" turned off, so assuming it's the same for other reporters this is possibly the same issue as https://github.com/ValveSoftware/steam-for-linux/issues/10793 (but this issue has better reproduction steps)
ndlarsen commented 6 months ago
2. I can't reproduce with "Enable GPU accelerated rendering in web views" turned off, so assuming it's the same for other reporters this is possibly the same issue as [Steam randomly freezes #10793](https://github.com/ValveSoftware/steam-for-linux/issues/10793) (but this issue has better reproduction steps)

Confirming that this seems to be the case for me as well (updated my original comment to reflect this). Perhaps also related to https://github.com/ValveSoftware/steam-for-linux/issues/7245, then?

hankertrix commented 6 months ago
  1. I can't reproduce with "Enable GPU accelerated rendering in web views" turned off, so assuming it's the same for other reporters this is possibly the same issue as https://github.com/ValveSoftware/steam-for-linux/issues/10793 (but this issue has better reproduction steps)

Also confirming that this seems to be the case for me as well.

rein1410 commented 6 months ago

So weird that this issue keeps popping up again after so many updates

xaizone commented 6 months ago

Confirming that I'm able to reproduce this on i3wm on Arch Linux. Disabling "Enable GPU accelerated rendering in web views", as stated above, fixes it for me.

leshow commented 6 months ago

If you resize the window, it triggers an update and redraws the UI as well FYI, at least on i3

Lightsockie commented 5 months ago

Oh hey, resizing the window "fixes" it on awesomewm too. I noticed the menu is still active, even if its not drawing new stuff. So I've just been navigating the UI blind until I get fed up enough to restart steam. This is much better.

In my experience it seems to just be the Library tab, though because of the way the steam client is designed this seems to have adverse effects for the other parts of the UI.

Experienced on current general release (w/e version that is), but switched to beta to see if it helped (it didn't). Currently on beta build

Steam Version:  1718751621
Steam Runtime Version: steam-runtime_0.20240610.91380
"Artix Linux" (64 bit)
Driver: AMD AMD Radeon RX 7900 XT (radeonsi, navi31, LLVM 17.0.6, DRM 3.57, 6.9.5-273-tkg-bore)

I had GPU Acceleration Enabled. I'll try for a bit without it and see if the problem goes away (EDIT: I can't seem to disable it for some reason, it just re-enables itself after restarting steam. Prolly an unrelated issue, but it means I can't test this "fix" for myself)

azsteinb commented 4 months ago

Can reproduce 100% on Nobara Linux with i3wm

aaannestad commented 4 months ago

Also newly experiencing this on Arch + i3 after switching to an AMD graphics card.

solidalek commented 4 months ago

I can confirm this.

Resizing the window make it live again (this is stupid). Can't reproduce after disabling "Enable GPU accelerated rendering in web views" in settings.

Arch + Linux 6.99 + Awesome WM 4.3-4 + Mesa 24.1.3.

Steam Beta Branch: Stable Client Steam Version: 1718904662 Steam Client Build Date: Thu, Jun 20 2:14 PM UTC -08:00 Steam Web Build Date: Wed, Jun 19 9:04 PM UTC -08:00 Steam API Version: SteamClient021

gluemchen81 commented 4 months ago

Ran into the same issue. Turned off GPU Acceleration. Does this have to do with chromium not supporting mesa? Have a RX 7800 XT, if that's of any use.

DarwinSurvivor commented 4 months ago

Reproducible here as well. Switching workspaces (even momentarily) reliably freezes ui. Resizing or closing to system tray and re-opening also reliably unfreezes it.

Turning off "Enable GPU accelerated rendering in web views" in the Interface settings also fixes the problem, hopefully that doesn't degrade the ui's performance.

CPU: AMD 5800X3D GPU: AMD 6800XT OS: Archlinux Window Manager: i3 (also affects kde+i3) Steam Version: 1721173382

I had the same issue previously when running i3 within kde, but also affects pure i3.

Switching to the workspace on my second monitor or to another window in the same pane as Steam (ie: steam ui gets hidden) does not cause it to freeze, so it has something to do with the workspace steam is on being hidden.

ficcdaf commented 3 months ago

Consistently reproducible for me, too. Exact same observations as @DarwinSurvivor said. Turning off GPU acceleration fixes the problem for me as well.

CPU: AMD Ryzen 7 7800X3D (16) @ 5.05 GHz GPU: AMD Radeon RX 7900 XT OS: EndeavourOS Window manager: i3 (x11)

Ethanscharlie commented 3 months ago

Same problem, had to turn off GPU acceleration, it works on hyprland tho so I wonder what desktops have this issue

shoccho commented 2 months ago

Same problem, had to turn off GPU acceleration, it works on hyprland tho so I wonder what desktops have this issue

I can confirm that it is still an issue in gnome 46 (wayland) in debian testing as of 03-09-2024

aketawi commented 2 months ago

Reproducible here as well. The easy workaround for me is to maximize/unmaximize the window, which forces a refresh. Disabling GPU acceleration helps, but the rest of the UI becomes sluggish as expected

CPU: Intel i7 10700k GPU: Radeon RX 6600 OS: Arch Linux Graphics: X11, Picom, AwesomeWM

eylles commented 2 months ago

can confirm still happens after latest update.

CPU: AMD Ryzen 7 4700U GPU: Radeon Vega 7 integrated gpu OS: Devuan testing Graphics: X11, Picom 11.2, AwesomeWM 4.3

simply disabling Enable GPU accelerated rendering in web views stops the problem from happening, if enabled just resizing does unfreeze the ui.

ManveerSingh0 commented 2 months ago

"Enable GPU accelerated rendering in web views" in Settings -> Interface is disabled.

I am using Endeavour OS and disabling gpu acceleration in steam setting fixed my issue.

hauntingEcho commented 2 months ago

Debian Stable with i3 checking in on a laptop which doesn't have a dedicated GPU, this affects me as well and disabling GPU acceleration for web views fixed it for me too.

Ethanscharlie commented 2 weeks ago

Since turning off GPU acceleration breaking big picture I made a script to go into big picture and automatically change the setting for GPU acceleration on and then back off when you close steam.

#!/bin/bash

STEAM_CONFIG="~/.steam/registry.vdf"

sed -i '/"GPUAccelWebViewsV3"/s/"0"/"1"/' $STEAM_CONFIG

export STEAM_ENABLE_GPU=1
export STEAM_ENABLE_GPU_ACCELERATION=1
STEAM_OPTS="--enable-gpu-rasterization"  
steam -bigpicture $STEAM_OPTS

sed -i '/"GPUAccelWebViewsV3"/s/"1"/"0"/' $STEAM_CONFIG
x001F commented 4 days ago

I can definetely reproduce it. I think the easiest solution on i3 is just toggling full-screen mode. installed steam by

pacman -S steam

I can start steam by rofi menu or by executing

steam