Closed Virkkunen closed 3 months ago
I've tried on 3.14.28 and this is also happening. I've also noticed when playing Helldivers that the keyboard icons do not show any key: (it should show which key to press or controller button)
I've updated to gamescope
3.14.28.r0.g4ccc6647-1 and nvidia-beta-dkms
560.31.02-1 and noticed some things:
what is your keyboard layout/lang/etc?
I forgot about that, and decided to test. I usually use the en-US international with dead keys and https://github.com/raelgc/win_us_intl so I decided to remove it and use a simple en-US UTF-8 layout, but nothing changed. 3.14.22-5-gb44ea3c was the last known version I used where everything was working fine, I haven't done any hardware changes and I don't remember anything updated or installed that could contribute to an issue like this
I reverted to 3.14.22 but this issue is still present, so this indicates something on my system did change, but I am clueless as to what. One interesting thing to note is that on 3.14.22 and Helldivers 2, I can press ESC twice to skip the intro videos, and then no more inputs are recognised, though the game displays some DualShock facebuttons on the hotkeys, and back to blank as soon as I move my mouse
The last known config I had gamescope working fine was:
nvidia-dkms
555.58-2egl-wayland
2:1.1.13-2gamescope
version 3.14.22-5-gb44ea3cnvidia nvidia_drm.modeset=1 nvidia_drm.fbdev=1 nvidia_uvm nvidia.NVreg_PreserveVideoMemoryAllocations=1
So what changed from this:
nvidia-dkms
555.58.02-1 and nvidia-beta-dkms
560.31.02-1 (tried on both to no avail)egl-wayland
3:1.1.13.1-1I really don't know what I can do to properly troubleshoot this, it's weird that it really changes depending on the game and runtime, which device will work or not (3 different keyboards with 2 being QMK and a Xinput controller). Without gamescope my keyboards and controller work perfectly fine.
Well I think I found the issue. I dug deep on my command story (thanks atuin) looking for anything that could be related to keyboard input and found out that sometime ago I made an edit to /usr/share/X11/xkb/symbols/inet
, where I commented out the line with
key <FK20> { [ XF86AudioMicMute ] };
and added
key <KEY_F13> { [ F13 ] };
key <KEY_F14> { [ F14 ] };
key <KEY_F15> { [ F15 ] };
key <KEY_F16> { [ F16 ] };
key <KEY_F17> { [ F17 ] };
key <KEY_F18> { [ F18 ] };
key <KEY_F19> { [ F19 ] };
key <KEY_F20> { [ F20 ] };
key <KEY_F21> { [ F21 ] };
because I was trying to make Plasma recognise keys F13 through F21 since my macro keyboard was set to those, but it didn't work out and I didn't care to revert the file. I've reverted the commend on key <FK20>
and commented the F13-F21 lines and my keyboard input is working again on my games (tried on Helldivers 2 and Deep Rock Galactic).
When launching a game with gamescope, the game will only recognise the first keyboard input and nothing else. I'm still able to use my mouse without issues, and I can alt+tab or alt+F4 (as my keyboard works fine in the desktop).
I've tried Deep Rock Galactic, Tekken 8 and Helldivers 2, all games have the same issue. I've tried reconnecting my keyboard, connecting a second keyboard, using a gamepad, but I cannot get any input.
I'm using:
gamescope
3.14.24-1nvidia-dkms
555.58.02-1My minimal launch command where this issue happens:
Some logs running a game: