FS#57512 - [libinput] Cursor jitters all the time since upgrade to 1.10.0-1

Attached to Project: Arch Linux
Opened by Deactivated account (TechnicalTotoro) - Wednesday, 14 February 2018, 22:54 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 March 2018, 17:06 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Since upgrading libinput 1.9.4-1 -> 1.10.0-1 I have found that when I put my finger on the touchpad that the cursor just jumps and jitters around all the time like a mad bee (or a sane one considering that that is what they do).

This is hugely annoying due to the fact that not only does it look really strange and is rather distracting, but it won't keep still for me to click on a link, nor will it let me scroll up and down a page without shaking like crazy. It also seems to jitter when I move it around the screen, but less so than when I just have it stationary.

Of course when I don't have my finger touching the touchpad it stays still perfectly fine. So this is clearly an issue of oversensitivity.

I have a fully up-to-date installation of Arch Linux with GNOME 3.26.3, linux-hardened 4.15.2.a-1 and it is a Lenovo B590 laptop.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 21 March 2018, 17:06 GMT
Reason for closing:  Fixed
Comment by Deactivated account (TechnicalTotoro) - Wednesday, 14 February 2018, 22:56 GMT
And I'm running Wayland.
Comment by AK (Andreaskem) - Thursday, 15 February 2018, 06:37 GMT
Sounds like the new "wobble detection" algorithm does not work for you:

"The biggest feature is the dropping of the touchpad hysteresis. Previously,
we employed a hysteresis to avoid pointer wobbles. A side-effect of that
hysteresis was that small pointer motion wasn't as reactive as it should be.
A previous attempt in 2016 to drop it failed (too many devices still needed
it) so this time round we have a different approach: we analyse the event
sequence from the touchpad and if we find it doesn't wobble, we disable the
hysteresis for good. In most cases, this happens fast enough that you won't
even notice, resulting in a more reactive pointer."

https://lists.freedesktop.org/archives/wayland-devel/2018-January/036592.html

I suspect you should bring this upstream but I am not the package maintainer, so maybe wait for his opinion.

edit:

See also
https://bugs.freedesktop.org/show_bug.cgi?id=98839
Comment by Andreas Radke (AndyRTR) - Thursday, 15 February 2018, 06:39 GMT
Yes, please bring this upstream!
Comment by Jan de Groot (JGC) - Thursday, 15 February 2018, 09:52 GMT
Might be a kernel issue:
https://patchwork.kernel.org/patch/10166045/

libinput fails to detect cursor wobble and doesn't enable hysteresis.
Comment by Deactivated account (TechnicalTotoro) - Thursday, 15 February 2018, 10:49 GMT
Should I bring this to upstream's attention anyway so we can get their opinion on this? Or should I wait given you've got that kernel bug.

Also, another interesting thing to note, it doesn't occur at all on the login screen, only once I've actually logged in does the issue occur.
Comment by Bernardo Meurer (bemeurer) - Monday, 19 February 2018, 00:19 GMT
I can report the exact same issue, on i3 (and therefore X11). Downgrading libinput to 1.9.4-1 solved the issue for me.
Comment by loqs (loqs) - Monday, 19 February 2018, 00:52 GMT
Perhaps patch/cheery pick 19eb4ed1141bd1096b9bc84ba9c4d03d5830c143 to 4.15.4 and if that makes no difference with libinput 1.10.0-1 report upstream.
Commit will also be in the lastest 4.16 release candidate but that might confuse the issue with other changes.
Comment by Andreas Radke (AndyRTR) - Wednesday, 21 March 2018, 13:49 GMT
This should be fixed with recent updates. Please report back.
Comment by Bernardo Meurer (bemeurer) - Wednesday, 21 March 2018, 16:40 GMT
I can confirm this is no longer an issue on my end.

Loading...