ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.08k stars 205 forks source link

Holding down a key causes it to spam click instead of remaining held down #1183

Closed DoomSlinger closed 5 months ago

DoomSlinger commented 7 months ago

In most games I've tested, if you hold down a key, it spam clicks it (sometimes in random intervals) instead of just keeping the key held down.

OS: Arch Linux x86_64 Kernel: 6.7.8-arch1-1 Shell: bash 5.2.26 DE: Plasma 6.0.1 WM: kwin CPU: AMD Ryzen 7 5800X (16) @ 3.800GHz GPU: AMD ATI Radeon RX 7900 XT/7900 XTX/7900M Memory: 7361MiB / 32018MiB

I don't really know what else to add here, don't really know how to troubleshoot this issue either.

Edit: Noticed that the issue only occurs when installing via the arch repository. Building from here or downloading the git version from the AUR doesn't have this issue. Instead these 2 versions have an issue where if I alt-tab, then tab back in, I can no longer use the keyboard to interact with the ui in several games. (for example, can't open or type in the chatbox in warframe)

Edit: figured out the alt-tab issue is a problem with the alt key getting stuck when alt tabbing. Pressing alt again fixes it.

zeparu commented 7 months ago

can confirm same behaviour, noticed it on FFXIV, also installed the official arch package

puzzlecube commented 7 months ago

I have also had this problem starting today after upgrading to KDE Plasma 6. Not sure if this is a bug with Plasma 6 or one hiding in Gamescope being triggered by the new DE. I have tested it with multiple games using the gamescope package from Artix, arch, and gamescope-amd-color from the AUR. I couldn't get gamescope-git or a version compiled from source to do anything but crash on startup though so I don't know if the issue is present in these versions too for me or not.

OS: Artix Linux x86_64 Kernel: 6.7.9-zen1-1-zen DE: Plasma 6.0.1 WM: Kwin CPU: AMD Ryzen 3 3100 (8) @ 3 GPU: AMD ATI Radeon RX 460/56 Memory: 6767MiB / 32012MiB

Edit: I forgot to mention that both before and after the upgrade I was using Plasma's Wayland session from SDM.

misyltoad commented 7 months ago

Does it work in latest Gamescope master for you now?

zeparu commented 7 months ago

tried it just now on arch with the gamescope-git package, and holding down keys behaves normally again for me

kisak-valve commented 5 months ago

Closing per the last comment.