ValveSoftware / steam-for-linux

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

Steam doesn't redraw in tiling window manager #10806

Open Thorinori opened 6 months ago

Thorinori commented 6 months ago

Your system information

Please describe your issue in as much detail as possible:

I use i3 as my window manager, and when I change workspaces on the same monitor Steam is running in, or a game takes focus in the same workspace, Steam itself no longer redraws until I force the window to move via keyboard commands (it can have focus and not redraw, I specifically need to move it to force a redraw). This has been happening for the last several versions, I am unsure of which version it was introduced in but it only started in the last 2 to 3 weeks at most.

Steps for reproducing this issue:

1) Have i3 (or potentially other tiling wm) 2) Run Steam 3) Go to another workspace and open something on same monitor, or open a game in same workspace 4) Come back and/or close game, Steam shouldn't be rerdrawing automatically anymore.

nuggs commented 6 months ago

I've noticed the same issue lately running i3 on stock arch linux.

I just wanted to put it here for anyone else that stumbles across this, if you resize Steam either directly or by resizing something else on the same workspace it will be responsive again until you switch workspaces.

EDIT: I'm a dunce, didn't paste specs.

System Information: https://gist.github.com/nuggs/7b55b99f8595b76b890feea976143785

Steam client version (build number or date): 1713825714 Distribution (e.g. Ubuntu): Arch Linux Opted into Steam client beta?: Yes Have you checked for system updates?: Yes Steam Logs: steam-logs.tar.gz GPU: AMD Vega 64

sinsinewave commented 6 months ago

can confirm as well, steam doesn't redraw unless resized on i3

i'm on i3 on Void Linux with an RX 6800 XT as well; and noticed that everyone here has a (relatively modern) AMD GPU. now wondering if anyone has had this on NVidia or Intel, or if this is AMD-specific?

michael-n0813 commented 6 months ago

Same issue on arch with awesomeWM tiling windows manager. They released this mess into stable so now everyone gets to play.

Philanche commented 6 months ago

Can confirm, I'm on arch using i3wm, I get the same issue on my laptop when using the AMD iGPU, which is the default, however when I force steam to run through my NVidia dedicated GPU, I can switch back and forth and no issue appears, so it seems to be an AMD only issue, or at the very least, not affect NVidia GPUs.

lun-4 commented 5 months ago

I'm also reproducing this on Void Linux glibc, awesomewm (however, not in any tiling mode), steam version 1716242052, and AMD RX 580 2048SP (radeonsi, polaris10)

jpgsmits commented 5 months ago

Same issue here using Arch Linux (kernel 6.8.9-arch1-2), using AwesomeWM, running steam version 1716242052 on an AMD RX 7900 XTX. Workaround for me is to minimize and maximize steam and then it redraws again.

Arszilla commented 5 months ago

Experiencing the same on 6.8.11-amd64 kernel on Arch using i3. Switching between Store and Library or having "Caching Vulkan Shaders" etc does not update etc. unless I toggle floating and tiling (or vice-versa) for Steam.

clussy-juice commented 4 months ago

Same issue on awesomewm. Kernel 6.9.6, mesa git with radv, steam client beta.

jajm commented 3 months ago

Same issue for me but only when "GPU accelerated rendering in web views" is enabled

OpenGL renderer string: AMD Radeon RX 7800 XT (radeonsi, navi32, LLVM 17.0.6, DRM 3.57, 6.9.9-amd64) i3 version 4.23

As a workaround I run a script that forces Steam window to resize by adding a border and then removing it (https://gist.github.com/jajm/0941d641b92ffb713930ccb43e52359c)

ruinedraziel commented 3 months ago

Issues seems very similar, maybe all the same issues?

https://github.com/ValveSoftware/steam-for-linux/issues/6660 https://github.com/ValveSoftware/steam-for-linux/issues/10869

Very, really very, similar behavior.

VanackSabbadium commented 3 months ago

I confirm this issue on my system, which is Debian Sid + AwesomeWM. I'm using Steam in a floating window desktop, but the same issue happens selecting another type of tiling setting.

Resizing or minimizing/maximizing Steam window redraws it and solve the issue temporarily, until another desktop switching.

ntvthuyen commented 3 weeks ago

Disabling "Enable GPU accelerated rendering in web views" in interface setting, work for me

VanackSabbadium commented 3 weeks ago

Disabling "Enable GPU accelerated rendering in web views" in interface setting, work for me

I can confirm, it works.

Thorinori commented 3 weeks ago

Disabling "Enable GPU accelerated rendering in web views" in interface setting, work for me

Can also confirm this works, good find!