I’m having an issue where every so often (at seemingly random intervals, but I haven’t been able to measure) where the mouse will appear to not respond for a very brief period and will then suddenly catch up with itself. It’s most noticeable when I’m scrolling through a long article as it’ll not scroll immediately and will then suddenly scroll several lines at once.
I’ve noticed the same issue is affecting the keyboard. Sometimes when I press a key it doesn’t appear straight away, and will then catch up after a brief period (fraction of a second) or type multiples of the same character. In the worst instance, when pressing backspace to delete a single character, it’ll stutter and then delete a word or two instead.
For context, I’m using 6.0.11-arch1-1 for the kernel with KDE Plasma (5.26.4). I’m also using nvidia with prime (on X11) which I installed using the nvidia-inst package/script.
Has anyone else experienced this problem? Any idea how to fix it?
I have the same issue with the keyboard and it was supper annoying, I could not type as I was not sure if it is going to register or not. After a while I figured out if I go to Accessibility and toggle ‘sticky keys’ on and off on time it goes away. No idea why and how. I am using Xfce DE btw.
A little more digging showed that it seemed to coincide with my nvidia card changing its clock speeds because of power management etc. The powermizer preferred mode was originally set to Adaptive, so I tried changing it to Prefer Maximum Performance to see if that would have any effect.
After a few minutes of running with this setting changed, I still hadn’t seen any freezing of the mouse (I moved it around constantly during this period), so decided to make the change permanent by adding:
to the xorg.conf file located at /etc/X11/xorg.conf.d/99-nvidia.conf (I believe this was created by the nvidia-inst script), and then rebooted.
This seems to have done the trick, but obviously at the expense of increase power consumption, which is not ideal. The other alternative, and probably the reason I didn’t have this problem on my previous insert other distro’s name installation on the same laptop, is to disable the nvidia card and use only the integrated card. I may still do that as the nvidia card is obviously going to be hotter now and use more power.
In a normal Optimus setup, iGPU is the main GPU to handle all applications, except for the power demanding apps, where either automatically, or manually, the tasks are send to dGPU/nvidia for rendering.
In the case of keyboard and mouse, they should normally being driven by your iGPU/Intel.
If this is not happening, then something must be wrong, either a misconfiguration, or a bug. (at least AFAIK).
Why don’t you post your Xorg log, when the issue is happening? (use a paste-bin web service)