I’ve been having this issue where after a certain amount of uptime (usually a few hours) the screen will have a stutter every few milliseconds, it is especially noticeable when moving the mouse, watching videos, playing games or moving windows around. If I’m moving the mouse in a circle, it’ll stall for a few milliseconds (along with the rest of the screen) and then start moving again, only to stall about a half second later.
At first I thought it might be a process using up all system resources but looking at gnome-system-monitoring everything is usually under 20% unless a legitimate process is using more resources. Nothing is even close to 100%. Restarting seems to make the issue go away, until it reappears a few hours later.
I think I’ve narrowed it down to these messages I find in Xorg.0.log:
[ 23309.612] (EE) event24 - SINO WEALTH USB KEYBOARD: client bug: event processing lagging behind by 77ms, your system is too slow
[ 23309.612] (EE) event24 - SINO WEALTH USB KEYBOARD: WARNING: log rate limit exceeded (5 msgs per 60s). Discarding future messages.
[ 23512.159] (II) event19 - USB Gaming Mouse: SYN_DROPPED event - some input events have been lost.
All of my USB devices will throw these three messages, and when the screen stuttering gets really bad the lag in these logs will go from the usual 10-70ms to upwards of 250ms, which leads me to believe I’m on to something at the very least. I’ve read around that these come from libinput, not sure what to do with that information.
One of my screens also throws this message once every few seconds:
[ 1410.274] (--) NVIDIA(GPU-0): AOC 2260W (DFP-3): connected
[ 1410.274] (--) NVIDIA(GPU-0): AOC 2260W (DFP-3): Internal TMDS
[ 1410.274] (--) NVIDIA(GPU-0): AOC 2260W (DFP-3): 165.0 MHz maximum pixel clock
Hardware:
- AMD Ryzen 2700x
- Nvidia RTX 2070
- 16gb of RAM
- Three screens, two DisplayPorts and one HDMI, the main one being 144hz
Current config:
- Nvidia proprietary drivers, version 440.100
- Manjaro Budgie
- Kernel 5.8.16-2
What I tried so far by searching online:
- Changing nvidia settings around, including forcing full composition pipeline on all screens
- powertop --calibrate
- Uninstalling powertop
- Creating the udev rule below to disable USB autosuspend
$ cat /etc/udev/rules.d/50-usb_power_save.rules
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="on"
None of these have made the slightest difference. Let me know if you need any other information from my system.
Thank you!