-
-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some fullscreen proton games go black and freeze after a workspace switch (hyprland issue) #6914
Comments
I filled all the fields why are they not showing up? I can't even delete the issue |
I think this is still happening on 0.42.0 @UjinT34 can you repro? |
It is, I triggered it yesterday, but did not find a way to reproduce it. |
I am able to reproduce it now, but just in some weird case: |
This is still happening for me. On archlinux and hyprland (918d834). When i open for example World of Tanks via Steam. And then i move to a different work space the game disappear and re-appear with black screen. In that black screen i can see the game in the top left side but its VERY VERY small and i have no way to make it big again. Also i play on 1080p in a 4k monitor because i do not have powerful GPU to play in 4k yet. I have tested this on KDE(Wayland) and on Gnome(Wayland/X11) and does not happening so is only on Hyprland for my system. If i play in a window mode. I do not have this problem but the (World of Tanks) on window mode renders the game on native resolution and i do not get good frame rates because of my low and GPU. Is there a way to render a window to scaled resolution on a window rule or something like that ? Because if that exist this probably is a work around. Or i can use KDE but other than gaming Hyprland is very good and i want to use it. If that matters i use rx560 4GB GPU and Ryzer 5 3600 CPU. |
your hl version is OUTDATED |
Was able to reproduce only on Hyprland @ v0.41.2. |
I switch to version, to this (77cf651). And is now a little be better. I still loose the window but if try to full screen it or to tiled it and un-tiled. Some how the game re appear. So i ques the situation is better. No for some reason on some windows (I thing it has to do with native Wayland windows and Xwayland windows the cursor size changing) I need to investigate this at some point. |
Not for me, its comepletely fixed for me in v0.42.0. I'm using the latest stable arch package (hyprland 0.42.0-1). |
Ok i am do not have access to the machine write now, but if i do have access i will install the package from the repo |
@vaxerski I just realized it cripples performance in some games. For example Need for speed heat. I launch the game, runs no problem with around 90-100fps, than I switch away windows, the game goes black, swich back, restore it with toggle fullscreen (if I have to sometimes it just comes back automatically), and now my game runs at 30-40fps, and drops below 10 in some cases, until restart. My guess is that it somehow messes up the bypass compositor in Proton or idk |
I've tested this in kde wayland, and it's not the case there. |
Regression?
No
Description
Some proton games on steam don't survive a workspace swich, tested with many proton versions, as well as custom ones, they don't make any difference. Also to make sure it was related to hyprland I tested it on kde wayland as well as kde x11 and the issue wasn't present there. Some games like Geometry Dash and Thief Siumulator had this issue when played with the in-game fullscreen option, but was fixed when disabled and using hyprland fullscreen insted. Some games however doesn't have an in game full screen option to disable like Granny 3 (Granny 1 is the same I have no idea why the issue is not present there). As seen on the video presentation the game audio still keeps playing but any input is blocked mouse, and keyboard.
How to reproduce
As seen on video, open an affected game on steam, and switch workspaces.
Crash reports, logs, images, videos
Video:
(I'm sorry for link github wouldn't let me upload because of file size)
https://drive.google.com/file/d/1J9bJLZzeoWNm0JpAiTaQ1MHsefrhVvDV/view?usp=sharing
System Info and Version
System/Version info
The text was updated successfully, but these errors were encountered: