Ubuntu – Touchpad makes mouse go in a “grid-like” pattern, External mouse doesn’t

17.10laptoptouchpad

Some information about my issue

I just installed 17.10 on my laptop. the installation process went fine, and additionally I was running a live USB in order to test if everything functioned. One thing I noted myself, was that whilst moving the mouse, the mouse felt like taking steps in every direction – resulting in a laggy movement.

If you have a grid, it feels like the mouse is attaching itself to every cross in the grid, whilst moving. The effect is mostly noticeable in diagonal directions, but can also be noticed elsewhere. Doing smaller movements is challenging, as the mouse bumps.

I tried changing the available settings in the stock settings menu on the system, without any apparent luck.
I also tried searching for similar issues, but I am not sure if they describe my problem exactly.
For instance, lets have a look at: Jerky mouse movements

My Parameters:

xinput --list-props "SynPS/2 Synaptics TouchPad" gives: 

`simen@Yoga-ubuntu:~$ xinput --list-props "SynPS/2 Synaptics TouchPad"
Device 'SynPS/2 Synaptics TouchPad':
    Device Enabled (171):   1
    Coordinate Transformation Matrix (173): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Tapping Enabled (311): 1
    libinput Tapping Enabled Default (312): 0
    libinput Tapping Drag Enabled (313):    1
    libinput Tapping Drag Enabled Default (314):    1
    libinput Tapping Drag Lock Enabled (315):   0
    libinput Tapping Drag Lock Enabled Default (316):   0
    libinput Tapping Button Mapping Enabled (317):  1, 0
    libinput Tapping Button Mapping Default (318):  1, 0
    libinput Accel Speed (319): -0.244604
    libinput Accel Speed Default (320): 0.000000
    libinput Natural Scrolling Enabled (321):   1
    libinput Natural Scrolling Enabled Default (322):   0
    libinput Send Events Modes Available (292): 1, 1
    libinput Send Events Mode Enabled (293):    0, 0
    libinput Send Events Mode Enabled Default (294):    0, 0
    libinput Left Handed Enabled (323): 0
    libinput Left Handed Enabled Default (324): 0
    libinput Scroll Methods Available (325):    1, 1, 0
    libinput Scroll Method Enabled (326):   1, 0, 0
    libinput Scroll Method Enabled Default (327):   1, 0, 0
    libinput Click Methods Available (328): 1, 1
    libinput Click Method Enabled (329):    1, 0
    libinput Click Method Enabled Default (330):    1, 0
    libinput Middle Emulation Enabled (331):    0
    libinput Middle Emulation Enabled Default (332):    0
    libinput Disable While Typing Enabled (333):    1
    libinput Disable While Typing Enabled Default (334):    1
    Device Node (295):  "/dev/input/event6"
    Device Product ID (296):    2, 7
    libinput Drag Lock Buttons (335):   <no items>
    libinput Horizontal Scroll Enabled (336):   1

I've tried changing a few values here, but had no luck as of yet getting rid of the "grid movement" of my track-pad.

Connecting an external mouse to the laptop seem to come around the issue, but I am still not satisfied with the performance of the track-pad. Moving the pointr with my track-pad is not going well.

If there is any other information that would be handy to have, just let me know and I'll provide it. It's an annoying issue as I can't use my external mouse at all times.

Best Answer

The grid-like pattern of touchpad movement is caused by libinput's old rectangular hysteresis algorithm. It was fixed in libinput version 1.10.2 (including in Ubuntu 18.04) by switching to an elliptical (usually circular) approach instead:

https://lists.freedesktop.org/archives/wayland-devel/2018-March/037317.html