Hi!
I’ve got an intermittent issue that I’m struggling to debug.
In typical operation, my touchpad is very responsive, and feels smooth. However, occasionally, something happens and it becomes significantly less responsive. Looking at the motion I think it’s still polling at the same rate, however, the mouse pointer updates about 200-500ms after I move my finger on the touchpad. I don’t know the exact difference, but it’s quite noticeable.
I experienced this on a fresh F36 install, and it appeared to happen at random intervals.
Now I’m running the F37 beta with an additional 6.1.0-0.rc0.20221007git4c86114194e6.5.fc38.x86_64 kernel from rawhide. It’s happening less, however, still appears to consistently happen when I plug my laptop into a slow-charging USB-C charger.
I’m using Gnome with Wayland exclusively, and my hardware is a Thinkpad T14 Gen 3 AMD with a 6850U APU. Running the LENOVO 21CFCTO1WW/21CFCTO1WW, BIOS R23ET59W (1.29 ) 09/01/2022 bios, latest as of last week.
I don’t think this is Fedora-specific. I experience a very similar issue on my work laptop, which is a Dell Latitude 5520 with a 13th-gen Intel processor running Ubuntu 22.04. It’s also using Gnome on Wayland. The main difference is that on that laptop, the touchpad is always slow when plugged in, and immediately speeds up when unplugged, and it’s always the exact same two states: either perfectly responsive, or delayed the exact same slow amount.
On my Thinkpad T14 Gen 3 with Fedora, it doesn’t always slow down when plugged in - sometimes it’s completely the same, and sometimes it slows down a tiny amount. Also, when it’s fully laggy, unplugging does not fix the issue - I have to systemctl suspend
and resume before it becomes snappy again.
I don’t notice anything in htop when the mouse is lagging vs. not.
The keyboard does not lag when the mouse lags, so I’m fairly sure it’s a touchpad issue, not a display driver issue.
It’s almost most annoying when it very slightly slows down, because then it’s still usable, but I have to adjust my fingers so I can still hit things accurate. And it feels so crisp and snappy when it’s working at its best! Just annoying to have it slightly off.
My question is: where on Wayland can I look for logs related to this? Any tips on if I can enable verbose logging in a touchpad driver, or anything else you’d recommend looking at?
Related posts:
- https://askubuntu.com/questions/186387/laptop-slows-down-while-charging-battery/196275#196275
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/962712
- https://discussion.fedoraproject.org/t/intermittent-touchpad-lag-with-dell-xps-9510/74046
- https://askubuntu.com/questions/763413/how-can-i-get-rid-of-mouse-lag-under-ubuntu
- https://superuser.com/questions/528727/how-do-i-solve-periodic-mouse-lag-on-linux-mint-mate