-
-
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 XWayland games break keyboard when switching focus #7155
Comments
i also have the same or something similar to this this is what i remember first scenario: when steam (xwayland window) is under my game (xwayland window)
scenario 2: even when the game and steam are in different workspaces
|
Same here and makes it worse that a lot of games I have to window then fullscreen or it's in a window with my bar is the way because of another bug #6568 |
it is somewhat related to it while the main problems of the issue were fixed some edge cases like this one are left though it is not a very big deal since in my case i can recover by doing the steps i describe above |
I am experiencing something similar with Pathologic 2. I am using Wine 9.14 and Hyprland 0.41.2-3 from the Arch repo. I am playing in fullscreen mode, and when I switch to another workspace and then come back, the game freezes. I have to close it with Another behavior I observe is that if the game is in window mode and I drag or resize the window, or simply change workspaces, the image does not freeze, but the keyboard stops working. Also, in fullscreen mode, when I switch workspaces or drag the window, the Wine terminal outputs some messages instantly:
I hope this information is useful. I suspect there are two problems here that need to be handled differently:
More clues:
I hope this information can help to fix this bug. I am not experienced with Wayland or window managers, but I have some skills in C++. I would like to help find the bug, but I don’t even know where to start looking. In the meantime, I'm going to play some Pathologic 2 without messing with the windows XD, Sayonara baby. |
@soworksl2 if by game freezing you mean the game going black or something like that when changing workspaces the fix has been merged and available in the latest release 0.42 |
@BluewyDiamond it's not a black screen; it's just that the image gets frozen with the last frame of the game rendered. |
either way it sounds pretty much the same issue as the black window one but we wont really know until u try out the latest release 0.42 or -git version. |
Could you try on older/newer kernel before 6.10 and compare? |
@BluewyDiamond yes, I gonna make some time to install the 0.42 Hyprland version and test the game. probably at night.
@nonetrix I don't think that would be very feasible for me. But anyway, why do you think this problem could be related to the Linux kernel? |
I have had issues in games where they just go crazy and flicker with black screen like mad in 6.10 then in older versions they just stutter sounded somewhat similar idk |
@nonetrix By any chance, were you using Nvidia with the open-source graphics drivers (nouveau) or Intel? I've experienced those kinds of problems, but I don't think it's very related because this issue follows a very repeatable pattern (when the game loses focus). Either way, we shouldn't dismiss your opinion, but something I can do that's more convenient for me is to test the game on other window managers first, like Sway, and see if the issues occur there. |
I am using AMD and it seems to be games using Kex engine specifically e.g. Doom 1 + Doom 2 or Quake 1 or 2 remastered |
I have tried the game in sway, and apparently the keyboard does not work there either but changing the focus does not freeze the game. |
|
Regression?
Yes
System Info and Version
System/Version info
Description
When opening a game in full screen keyboard and mouse both work, but if you switch focus to another window with
rofi -show window
for example then switch back keyboard will be broken mouse only will workHow to reproduce
rofi -show window
Crash reports, logs, images, videos
No response
The text was updated successfully, but these errors were encountered: