-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Keyboard input "sticking" on GNOME at low FPS #5294
Comments
I can confirm that this has started to happen for Dirt 3 too. Quite ruining the experience. Edit: Dirt Rally 2 too. I am on Fedora Silverblue 35 on 495.44 using Steam in a Flatpak (which as worked amazing until now). |
This occurs with game controllers, as well. When playing Guilty Gear Strive, my left input frequently gets eaten if I press right shortly beforehand (milliseconds apart). Left will remain stuck un-pressed until I release and press again. Reverting to Proton 5.13-6 resolves the issue. |
Can also confirm this, reverting to Proton 5.13-6 resolves the issue for me. GNOME on both PopOS and Ubuntu (tested both 20.04 and 21.10). |
I can confirm this, was tested using proton experimental and 7.0-1, games that i was playing was: Euro Truck Simulator 2, and CarX Drift Racing. I'm on Arch (dwm / i3-gaps). |
I had same thing; in my case it was repeating keys (i prefer small delay / fast repeat setting). I just disabled it in settings -> accessibility -> repeat keys and everything seems to work ok now. |
same issue on proton next and experemental. arma 3, fedora, iris xe and i7 |
Same issue: Fedora Rawhide. |
Here is the bug I get on Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=2174962 |
Is this even related? I'm also using ibus and I'm not getting these errors. Edit: just to be clear, I'm also having the input problems, although it doesn't seem to be related to low FPS in my case. Running Steam in flatpak. The issue occurs with and without extensions enabled. |
Yes, I get it on Fedora Rawhide when playing Steam Proton games. |
What I'm saying is, how can you be sure that this ibus crash is related to the "sticky input" problem? I'm also getting the sticky input problem, yet no ibus errors. |
Because it happens right when the keys go bad and I have to alt+tab to fix it. ibus-1.5.28 here. |
Arch also distributes ibus 1.5.28 at the moment. I've only noticed it happening with my WASD keys. One of them will get stuck and I have to press W/A/S/D again to fix it. |
Mine does it for the keyboard in general, keyboard left,right, up and down arrow keys as well. |
I haven't been playing many games recently, but I don't remember noticing input issues like this since I switched away from Windows on my gaming rig. I only really play FPS games where most of my keyboard inputs are WASD. I'm assuming that's why I haven't noticed any other keys getting stuck. I played all of Resident Evil 8 last month with no issues. Last week, I started playing Resident Evil 2 and, just now, a bit of Deep Rock Galactic. My movement keys (WASD) would get stuck very often. Not sure what changed. |
Gnome 44.beta Wayland Linux 6.3.0-0.rc0.20230303git2eb29d59ddf0.13.fc39.x86_64 Xwayland 23.0.99.901 |
Seems like I managed to fix my input issues (for now?). I uninstalled ibus and all of its dependencies, disabled all my GNOME extensions, switched to Proton 7.0-6 (instead of Experimental) and rebooted. After playing a couple games of DRG, it seems like that did the trick. I re-enabled my GNOME extensions and it stills seems to work correctly. I will update this post if the issue comes back. |
Sounds like a problem in ibus, no? |
Can't say for certain, but ibus seems to be the most likely cause. It was working fine previously, not sure what changed. The last update to the Arch If this is a recent problem with
My W/A/S/D inputs get stuck (seemingly) permanently until I press them again, not temporarily like the original bug report describes. Edit: my inputs could could very well only be stuck for a couple seconds, but I never waited to see if it would resolve on its own 😅 My issue doesn't seem to be related to low FPS either. |
Mine get stuck until I alt+tab. |
I don't use iBus and Gnome but I get the sticking keys problem. FPS does not matter, I get it even in simple 2d games sometimes. |
@romulasry @eternal-sorrow Wayland or X? And what DE/WM? |
Wayland, sway. |
Same but I get the same bug on X as well. |
I seem to have the same issue as @notpeelz, and it's showing up in DRG for me as well. (I don't play many other games, so I can't test extensively.) In my experience, the relevant key is continually detected as pressed until I tap it again. I do have IBus running, so I'll try killing it and check whether that resolves the issue for me. (Edit: running i3wm on X11, Arch Linux) |
I played a couple hours of DRG earlier and didn't have the issue occur even once (still with the same config, ibus uninstalled, etc) |
Same experience here, but just killing the IBus daemon was enough to fix it for me. Great to hear that we've found a solution — thanks for the tip! I'll also add a note to the Arch Wiki's page on IBus, so future users can find out about this more easily. |
The ibus issue should be reported to the ibus dev(s) if it hasn't been already. |
Okay opened one. ibus/ibus#2485 |
This started happening for me on Ubuntu 23.04 (lunar) recently. Disabling ibus solved it. Lunar recently got ibus 1.5.28.... |
Note: There are two different bugs here. The original reported bug is different from the ibus bug that some people have recently mentioned:
This thread is for the original bug. I can reproduce it in Arma 3 in low FPS scenarios, using Ubuntu 22.04, X11, GNOME 42.5 and Wine staging 7.17 (so not using Proton). Disabling repeat keys does indeed work around it. |
confirm the same problem running skyrim on Proton 8. |
solve it with command "xset r off". Just turn off the repeat key like the mate said in the front. |
This is the solution. |
For me #5294 (comment) fixed it. For sure that is no complete solution, since I do not want to disable and enable repeat-key manually when switching between gaming and coding, but for now I am satisfied. |
Great hint! I was replaying Lacuna and wondering why control over the character is that bad - it had worked in the past. Now I got stuck regulary and was unable to change the direction of the character. After disabling "repeat keys" in Gnome it worked as it did before. I don't know what has changed. I am playing Lacuna with Fedora 39 Silverblue with Steam as Flatpak and Proton 8.0.4. I have also tested the solution with ibus. When the problems occurs I can do "ibus restart" and it works again. The advantage of this solution is that "repeat keys" can stay enabled. Also I have tested "ibus restart" directly after starting Steam. This also prevents the issue. When I run this command before I start Steam it has no effect and the problem occurs. Here another solution to prevent this issue (currently the one I will use if it does not have other side effects). I put this into my ~/.bashrc:
After I did this I don't need the restart ibus after starting Steam. My ibus version is ibus-1.5.29~rc2-6.fc39.x86_64. |
It looks like the issue is in ibus processing mode. It can run in sync and async modes, depending on the distribution configuration, with issues starting to appear on synchronous mode used as default (which it is, if not modified). I made a quick search in the ibus source code and turns out that
Setting the environmental variable to
# Enable ibus hybrid asynchronous processing
export IBUS_ENABLE_SYNC_MODE=2 I am not completely aware of how the "hybrid" async mode ( It could also be the case that this is highly dependent on the user's GPU, because this seems to be a problem specific to NVIDIA. I'd like to hear if there are any AMD users here who have been affected by this issue too. |
related ibus issue: ibus/ibus#2618 (comment) |
IBus 1.5.30 . Fresh install of Ubuntu 24.10 x64 Desktop. |
I also started having issue with stuck input that sometimes resolved itself sometimes not. Whether it happens didn't really correlate with anything, other than playing games through proton. Additionally, the games would freeze if I tab out. |
I've encountered an issue where keyboard input will "stick" in games running on Proton. This means that if I hold a directional key for a few seconds the input will persist for some time after releasing. This issue is way more apparent when the framerate is lower. It's imperceptible when the game is running at 120+ fps, somewhat perceptible when running at 60 fps, and extremely apparent at 30 fps. At 30 fps the input will persist for multiple seconds.
Proton 6.3-7 and Proton - Experimental are affected by this. Older versions that are available in Steam (<=5.13.6) are not. In GloriousEggroll's build of Proton this issue seems to have been introduced between 6.5-GE-1 and 6.5-GE-2.
This seems to be an issue that happens only on GNOME. I'm currently on Ubuntu 21.10 (GNOME) where this occurs. I tested on Arch+KDE and on Arch+Sway and it didn't occur on either. It's not exclusive to my setup/hardware because it occurs on both my PC and my laptop.
It doesn't happen in every game. So far I've experienced it in: Portal 1, Race the Sun, Jump King, Far Cry 5, and Here Comes Niko. Spyro Reignited Trilogy is one game I've seen so far where it doesn't happen. To clarify: this only happens in Proton. Portal 1 running through Proton is affected but the native version is not.
Only keyboard input is affected. Using a dpad on a controller does not produce this behavior. Modifier keys on the keyboard (like CTRL and SHIFT) are not affected either.
The text was updated successfully, but these errors were encountered: