protonscr

steam dropdown menus breaking vrr and direct scanout on workspaces

steamopen Steam clientWindow manager
ValveSoftware/steam-for-linux#10608 · opened 2024-03-11 by zmeyka3310 · updated 2024-03-13 · 3 comments · github
Zzmeyka3310 2024-03-11 github

Your system information

  • Steam client version 1709846872:
  • Distribution: Void, however this is an Arch and Ubuntu issue too as far as i tested
  • Opted into Steam client beta?: [No]
  • Have you checked for system updates?: [Yes]
  • Steam Logs: [steam-logs.tar.gz]
  • GPU: Intel+Nvidia dual gpu, both steam and the wm running on the intel gpu

Please describe your issue in as much detail as possible:

Steam breaks vrr and direct scanout (they both rely on the fullscreen window being the only window visible on screen) for hyprland (and probably wlroots by extension) by not properly closing interface dropdowns, and instead making them invisible and unfocuseable (i assume), only way to get rid of them being close steam entirely or move them to another workspace and respawning them there, resulting in the old ones being closed and the workspace regaining its vrr and direct scanout functionalities. another fix to this issue is to move the app to another workspace, but the original workspace still remains with broken vrr. to check on wich workspaces the windows are spawned, its possible to use the following command : hyprctl clients | grep pid:\ -1 -B 12 | grep workspace

Steps for reproducing this issue:

  1. install hyprland and steam on any linux distribution of choice, enable vrr and direct scanout in the config
  2. launch steam
  3. hover over steam/view/friends/games/help/store/library/community/your profile or any other interface part that takes focus from hyprland by spawning a new window
  4. launch a fullscreen game, vrr and direct scanout no worky on the workspace steam was launched on
Ccpulley 2024-03-12 github

I'm curious as to if this is related to an issue I posted about a few days ago #10603

Do hyprland or xwayland have similar rules such that you can assign classless/titleless xwayland windows to not steal focus?

Zzmeyka3310 2024-03-13 github

I'm curious as to if this is related to an issue I posted about a few days ago #10603

Do hyprland or xwayland have similar rules such that you can assign classless/titleless xwayland windows to not steal focus?

steam dropdowns stealing focus has always been an issue for hyprland, if thats what you are reffering to, but as far as im concerned, the weird thing that you mentioned didnt happen to me

Zzmeyka3310 2024-03-13 github

@kisak-valve sorry for bothering, but basically all issues related to window managers can be solved by making the dropdowns part of the main window, instead of different windows that open on top

Nothing extracted yet.