TLDR: Game (Hunt Showdown) loses cursor binding in a multi monitor setup allowing to lose window focus.
Triple monitor setup.
current system
OS: EndeavourOS rolling x86_64
Kernel: Linux 6.9.3-arch1-1
DE: KDE Plasma 6.0.5
WM: KWin (Wayland)
CPU: Intel(R) Core™ i7-8700 (12) @ 4,60 GHz
GPU 1: Intel UHD Graphics 630 @ 1,20 GHz [Integrated]
GPU 2: AMD Radeon RX 6700 XT @ 0,05 GHz [Discrete]
Memory: 31,25 GiB
I have this issue with multiple installations. This issue occurred under Fedora with Gnome, under Manjaro with Gnome & KDE using both Wayland and X11 and Hyperland.
It appears with Steam (Native) and Steam (Runtime).
The game gets started with Proton experimental.
Just running Gamescope does not change the issue and at least I cant figure out what parameters would affect the issue at all.
This issue might be connected to certain key inputs, but if so I was not able to pinpoint those.
As Hunt is an FPS shooter I use W,A,S,D,Q,E,F,R,T,X,C,Space,Shift,Ctrl
and Tab
a lot beside mouse inputs.
I’m aware that including Meta or Alt in those keystrokes would explain the issue, those key’s are not involved when the issue occurs.
This happens on occasion, but I’m not able to reliably reproduce.
When it happens the game window keeps focus and controls, but the cursor is able to wander to other screens while input is still bound to the game. Though some input outside the game screen will switch focus and therefore lose all game inputs.
I usually run “fullscreen windowed” in “fullscreen” mode the game will minimize if focus is lost.
In “fullscreen windowed” just moving the cursor in game-screen and giving input will not regain focus on the game. I will have to hit Meta to put game out of focus entirely and then give an input with cursor on the game-screen to regain focus on the game with cursor binding.
If I reduce my setup to a single monitor/screen the issue will not occur, presumably cuz the cursor cant leave the screen, so binding does not matter.
Using KDE window rules to enforce focus on the game window did not improve anything.
I’m not sure which components should or could ensure cursor binding.
- Wayland
- Proton
- Compositor
- Game Controlls