JackHack96 / dell-xps-9570-ubuntu-respin

Collection of scripts and tweaks to adapt Ubuntu running smooth on Dell XPS 15 9570.
996 stars 113 forks source link

Touchpad jumps #76

Closed iamjackg closed 5 years ago

iamjackg commented 5 years ago

Hey there!

One thing I've noticed is that by default the install is using libinput for the touchpad. I know it's more modern, etc. but it was actually causing issues for me: the cursor would occasionally jump to the other side of the screen, and two-/three-finger tap detection was very flakey.

All the issues were immediately solved by installing the synaptics drivers (and keeping libinput installed for keyboard handling).

I'm wondering if anybody else has seen the same behaviour? If there's enough supporting evidence, I can probably put together a pull request, but I first want to make sure I'm not the only one experiencing this.

JackHack96 commented 5 years ago

Uhm, I never experienced this issue sincerely

iamjackg commented 5 years ago

Interesting! I wonder what causes this variance in user experience.

JackHack96 commented 5 years ago

Did you try this?

iamjackg commented 5 years ago

I did, but that page is very odd: it first tells you to blacklist one of the two entries or "synclient will get confused", but then it guides you through uninstalling the synaptics drivers and switching to libinput instead. :thinking: Which is the opposite of what I did to solve my issue.

Dell continues to be an endless source of mysteries!

floturcocantsee commented 5 years ago

I haven't experienced this issue. Are you using the GNOME desktop? I know KDE has real shoddy support for multitouch touchpads.

SuperKam91 commented 5 years ago

@iamjackg how did you fix this out of curiosity? I did: sudo apt-get install xserver-xorg-input-libinput sudo apt-get remove --purge xserver-xorg-input-synaptics

and unfortunately it hasn't resolved the issue. Many thanks!

floturcocantsee commented 5 years ago

@iamjackg how did you fix this out of curiosity? I did: sudo apt-get install xserver-xorg-input-libinput sudo apt-get remove --purge xserver-xorg-input-synaptics

and unfortunately it hasn't resolved the issue. Many thanks!

Probably related: https://gitlab.freedesktop.org/libinput/libinput/issues/36

SuperKam91 commented 5 years ago

@iamjackg how did you fix this out of curiosity? I did: sudo apt-get install xserver-xorg-input-libinput sudo apt-get remove --purge xserver-xorg-input-synaptics and unfortunately it hasn't resolved the issue. Many thanks!

Probably related: https://gitlab.freedesktop.org/libinput/libinput/issues/36

I tried the fix relating to the tlp config mentioned in the comment below from the post you linked:


" Pierpaolo Valerio @pierpaolo.valerio · 6 months ago

After an inordinate amount of time spent troubleshooting this issue, I think I finally cracked it and it is not related to libinput at all. What happens is that some (most?) distros come with TLP enabled by default for power saving, and for some reason if you don't touch the touchpad for a couple of seconds it gets suspended. It then takes a long time "waking up", causing the cursor jumps. If I add the line RUNTIME_PM_BLACKLIST="00:15.1" to my /etc/default/tlp file, the issue goes away completely, as it disables power saving for the PCI-to-I2C controller connected to the touchpad. I haven't tested for long, but powertop tells me that the power consumption doesn't seem to be affected in any meaningful way. Of course if you don't use TLP but powertop or other power saving tools, a similar solution can be adapted. Do I have to report this bug somewhere else since it's not libinput-related?"

But found that it didn't help, maybe perhaps because I have powertop installed as well (and don't know how to do an equivalent fix for it. I tried looking in the 'tuneables' of powertop but wasn't sure if there was anything useful to disable here).

EDIT

As @iamjackg seems to elude to, some of the touchpad skips (the ones which occur after the touchpad hasn't been touched for a few seconds) can be eliminated by installing: xserver-xorg-input-synaptics

but then the problems of having both libinput and synaptics (i.e. the mouse skipping randomly at all times) resume. Has anyone managed to fix both of these problems simultaneously? (mouse skipping at random times & mouse jumps after resting touchpad)