Closed michaldybczak closed 4 years ago
All that info but you failed to provide the most important part. Please read opening paragraph of the trouble-shooting section (and step 8, and the new issue template!).
Scratch this comment - please provide output of libinput-gestures -l
.
Confirm issue. Here is my output for libinput-gestures -l
:
libinput-gestures: session KDE+x11 on Linux-5.5.3-arch1-1-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.1
/usr/bin/libinput-gestures: hash 5c8bd05b1deb7a0975b359983e3f1490
Gestures configured in ~/.config/libinput-gestures.conf:
swipe up _internal ws_up
swipe down _internal ws_down
swipe left xdotool key alt+Right
swipe right xdotool key alt+Left
pinch in xdotool key super+s
pinch out xdotool key super+s
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event17): SynPS/2 Synaptics TouchPad
Curiously, I've also had an unrelated touchpad problem with click-and-drag not working.
Can confirm this also,
❯❯❯❯ libinput-gestures -l ~
libinput-gestures: session KDE+x11 on Linux-5.5.3-2-MANJARO-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.1
/usr/bin/libinput-gestures: hash 5c8bd05b1deb7a0975b359983e3f1490
Gestures configured in ~/.config/libinput-gestures.conf:
swipe up 4 _internal ws_up
swipe down 4 _internal ws_down
swipe up 3 xdotool key ctrl+F9
swipe down 3 xdotool key super+shift+d
swipe_threshold 100
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event16): SynPS/2 Synaptics TouchPad
❯❯❯❯ libinput-gestures -d ~
libinput-gestures: session KDE+x11 on Linux-5.5.3-2-MANJARO-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.1
/usr/bin/libinput-gestures: hash 5c8bd05b1deb7a0975b359983e3f1490
Gestures configured in ~/.config/libinput-gestures.conf:
swipe up 4 _internal ws_up
swipe down 4 _internal ws_down
swipe up 3 xdotool key ctrl+F9
swipe down 3 xdotool key super+shift+d
swipe_threshold 100
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event16): SynPS/2 Synaptics TouchPad
libinput error: event16 - SynPS/2 Synaptics TouchPad: kernel bug: Wrong slot count (2), reducing to 1
libinput error: event16 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event16 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
❯❯❯❯ libinput-gestures -r ~
libinput-gestures: session KDE+x11 on Linux-5.5.3-2-MANJARO-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.1
/usr/bin/libinput-gestures: hash 5c8bd05b1deb7a0975b359983e3f1490
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event16): SynPS/2 Synaptics TouchPad
-event16 DEVICE_ADDED SynPS/2 Synaptics TouchPad seat0 default group1 cap:pg size 105x58mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
event16 POINTER_MOTION +0.041s 0.34/ 0.08 ( +3.00/ +0.68)
event16 POINTER_MOTION +0.050s 0.47/ 0.81 ( +2.00/ +3.42)
event16 POINTER_MOTION +0.061s 0.26/ 0.88 ( +1.00/ +3.42)
event16 POINTER_MOTION +0.070s 1.03/ 2.11 ( +4.00/ +8.20)
event16 POINTER_MOTION +0.080s 0.77/ 2.63 ( +3.00/+10.25)
event16 POINTER_MOTION +0.091s 0.26/ 2.98 ( +1.00/+11.62)
event16 POINTER_MOTION +0.100s 0.77/ 5.44 ( +3.00/+21.18)
event16 POINTER_MOTION +0.111s 0.26/ 5.09 ( +1.00/+19.82)
event16 POINTER_MOTION +0.121s 0.00/ 4.21 ( +0.00/+16.40)
event16 POINTER_MOTION +0.130s 0.26/ 4.56 ( +1.00/+17.77)
event16 POINTER_MOTION +0.141s 0.00/ 3.51 ( +0.00/+13.67)
event16 POINTER_MOTION +0.151s -0.26/ 3.16 ( -1.00/+12.30)
event16 POINTER_MOTION +0.161s 0.26/ 3.16 ( +1.00/+12.30)
event16 POINTER_MOTION +0.171s -2.57/ 1.75 (-10.00/ +6.83)
event16 POINTER_MOTION +0.180s 1.54/ 2.46 ( +6.00/ +9.57)
event16 POINTER_MOTION +0.191s 0.51/ 3.51 ( +2.00/+13.67)
event16 POINTER_MOTION +0.201s 0.51/ 3.16 ( +2.00/+12.30)
event16 POINTER_MOTION +0.210s 0.00/ 2.46 ( +0.00/ +9.57)
event16 POINTER_MOTION +0.221s 0.00/ 2.81 ( +0.00/+10.93)
event16 POINTER_MOTION +0.231s 0.00/ 2.98 ( +0.00/+11.62)
event16 POINTER_MOTION +0.241s -0.51/ 2.98 ( -2.00/+11.62)
event16 POINTER_MOTION +0.251s -0.26/ 2.46 ( -1.00/ +9.57)
event16 POINTER_MOTION +0.260s -0.26/ 1.93 ( -1.00/ +7.52)
event16 POINTER_MOTION +0.271s -0.51/ 2.28 ( -2.00/ +8.88)
event16 POINTER_MOTION +0.281s 0.00/ 1.75 ( +0.00/ +6.83)
event16 POINTER_MOTION +0.291s -0.26/ 1.23 ( -1.00/ +4.78)
event16 POINTER_MOTION +0.301s -0.77/ 1.75 ( -3.00/ +6.83)
event16 POINTER_MOTION +0.310s -0.77/ 1.58 ( -3.00/ +6.15)
event16 POINTER_MOTION +0.321s -0.26/ 1.05 ( -1.00/ +4.10)
event16 POINTER_MOTION +0.331s -0.26/ 1.93 ( -1.00/ +7.52)
event16 POINTER_MOTION +0.341s -0.26/ 1.75 ( -1.00/ +6.83)
event16 POINTER_MOTION +0.351s 0.00/ 1.40 ( +0.00/ +5.47)
event16 POINTER_MOTION +0.361s 0.00/ 1.75 ( +0.00/ +6.83)
event16 POINTER_MOTION +0.371s 0.00/ 1.40 ( +0.00/ +5.47)
event16 POINTER_MOTION +0.381s 0.00/ 1.40 ( +0.00/ +5.47)
event16 POINTER_MOTION +0.391s -0.26/ 1.05 ( -1.00/ +4.10)
event16 POINTER_MOTION +0.401s 0.00/ 0.33 ( +0.00/ +1.37)
event16 POINTER_MOTION +0.411s 0.00/ 0.61 ( +0.00/ +2.73)
event16 POINTER_MOTION +0.422s 0.00/ 0.30 ( +0.00/ +1.37)
event16 POINTER_MOTION +0.431s 0.00/ 0.62 ( +0.00/ +2.73)
event16 POINTER_MOTION +0.441s 0.00/ 0.31 ( +0.00/ +1.37)
event16 POINTER_MOTION +0.451s 0.00/ 0.62 ( +0.00/ +2.73)
event16 POINTER_MOTION +0.461s 0.00/ 0.31 ( +0.00/ +1.37)
event16 POINTER_MOTION +0.471s 0.00/ 0.60 ( +0.00/ +2.73)
event16 POINTER_MOTION +0.481s 0.00/ 0.31 ( +0.00/ +1.37)
event16 POINTER_MOTION +0.582s -0.69/ -1.65 ( -4.00/ -9.57)
event16 POINTER_MOTION +0.591s -0.72/ -3.28 ( -3.00/-13.67)
event16 POINTER_MOTION +0.601s -0.51/ -3.16 ( -2.00/-12.30)
event16 POINTER_MOTION +0.612s 0.00/ -2.28 ( +0.00/ -8.88)
event16 POINTER_MOTION +0.622s 0.00/ -2.11 ( +0.00/ -8.20)
event16 POINTER_MOTION +0.631s -0.26/ -1.93 ( -1.00/ -7.52)
event16 POINTER_MOTION +0.642s 0.00/ -1.05 ( +0.00/ -4.10)
event16 POINTER_MOTION +0.651s 0.00/ -0.52 ( +0.00/ -2.05)
event16 POINTER_MOTION +0.662s 0.00/ -0.47 ( +0.00/ -2.05)
event16 POINTER_MOTION +0.672s 0.25/ -0.86 ( +1.00/ -3.42)
event16 POINTER_MOTION +0.681s 0.00/ -0.15 ( +0.00/ -0.68)
event16 POINTER_MOTION +0.692s 0.19/ -0.38 ( +1.00/ -2.05)
event16 POINTER_MOTION +0.702s 0.22/ -0.30 ( +1.00/ -1.37)
event16 POINTER_MOTION +0.711s 0.19/ -0.13 ( +1.00/ -0.68)
event16 POINTER_MOTION +0.722s 1.22/ 0.33 ( +5.00/ +1.37)
event16 POINTER_MOTION +0.731s 1.54/ 1.93 ( +6.00/ +7.52)
event16 POINTER_MOTION +0.742s 2.31/ 5.44 ( +9.00/+21.18)
event16 POINTER_MOTION +0.752s 1.80/ 6.32 ( +7.00/+24.60)
event16 POINTER_MOTION +0.761s 2.05/ 7.37 ( +8.00/+28.70)
event16 POINTER_MOTION +0.772s 2.57/ 8.60 (+10.00/+33.48)
event16 POINTER_MOTION +0.782s 2.57/ 7.20 (+10.00/+28.02)
event16 POINTER_MOTION +0.792s 1.80/ 7.20 ( +7.00/+28.02)
event16 POINTER_MOTION +0.802s 1.54/ 5.44 ( +6.00/+21.18)
event16 POINTER_MOTION +0.812s 1.03/ 5.97 ( +4.00/+23.23)
event16 POINTER_MOTION +0.822s 1.03/ 4.56 ( +4.00/+17.77)
event16 POINTER_MOTION +0.832s 1.03/ 4.21 ( +4.00/+16.40)
event16 POINTER_MOTION +0.841s 0.77/ 3.86 ( +3.00/+15.03)
event16 POINTER_MOTION +0.852s 0.77/ 3.33 ( +3.00/+12.98)
event16 POINTER_MOTION +0.862s 0.51/ 3.69 ( +2.00/+14.35)
event16 POINTER_MOTION +0.872s 0.00/ 2.11 ( +0.00/ +8.20)
event16 POINTER_MOTION +0.882s 0.26/ 1.58 ( +1.00/ +6.15)
event16 POINTER_MOTION +0.892s 0.26/ 1.05 ( +1.00/ +4.10)
event16 POINTER_MOTION +0.902s 0.00/ 0.70 ( +0.00/ +2.73)
libinput error: event16 - SynPS/2 Synaptics TouchPad: kernel bug: Wrong slot count (2), reducing to 1
libinput error: event16 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
event16 POINTER_AXIS +1.203s vert -4.38/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +1.223s vert -9.12/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +1.244s vert -14.20/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +1.263s vert -23.15/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +1.284s vert -25.07/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +1.303s vert -30.33/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +1.324s vert -33.67/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +1.343s vert 0.00/0* horiz 0.00/0* (finger)
event16 POINTER_MOTION +2.064s -0.58/ 0.27 ( -3.00/ +1.37)
event16 POINTER_MOTION +2.075s -4.69/ 2.24 (-20.00/ +9.57)
event16 POINTER_MOTION +2.084s -8.73/ 2.81 (-34.00/+10.93)
event16 POINTER_MOTION +2.094s -11.04/ 2.98 (-43.00/+11.62)
event16 POINTER_MOTION +2.105s -12.33/ 2.98 (-48.00/+11.62)
event16 POINTER_MOTION +2.115s -16.65/ 5.24 (-63.00/+19.82)
event16 POINTER_MOTION +2.124s -23.19/ 6.55 (-75.00/+21.18)
event16 POINTER_MOTION +2.134s -21.83/ 5.62 (-69.00/+17.77)
event16 POINTER_MOTION +2.145s -21.24/ 3.43 (-72.00/+11.62)
event16 POINTER_MOTION +2.155s -29.34/ 5.57 (-90.00/+17.08)
event16 POINTER_MOTION +2.164s -24.46/ 3.71 (-72.00/+10.93)
event16 POINTER_MOTION +2.175s -22.99/ 0.21 (-74.00/ +0.68)
event16 POINTER_MOTION +2.185s -28.86/ 1.33 (-89.00/ +4.10)
event16 POINTER_MOTION +2.194s -20.13/ 0.44 (-63.00/ +1.37)
event16 POINTER_MOTION +2.204s -18.83/ -1.75 (-66.00/ -6.15)
event16 POINTER_MOTION +2.215s -17.76/ -2.27 (-64.00/ -8.20)
event16 POINTER_MOTION +2.225s -16.52/ -0.56 (-61.00/ -2.05)
event16 POINTER_MOTION +2.234s -11.65/ -1.06 (-45.00/ -4.10)
event16 POINTER_MOTION +2.245s -11.56/ -1.58 (-45.00/ -6.15)
event16 POINTER_MOTION +2.255s -7.96/ -1.23 (-31.00/ -4.78)
event16 POINTER_MOTION +2.264s -7.96/ -0.35 (-31.00/ -1.37)
event16 POINTER_MOTION +2.275s -6.93/ 0.00 (-27.00/ +0.00)
event16 POINTER_MOTION +2.285s -5.91/ -0.18 (-23.00/ -0.68)
event16 POINTER_MOTION +2.294s -5.39/ 0.35 (-21.00/ +1.37)
event16 POINTER_MOTION +2.305s -4.11/ 0.53 (-16.00/ +2.05)
event16 POINTER_MOTION +2.315s -3.85/ 0.18 (-15.00/ +0.68)
event16 POINTER_MOTION +2.325s -3.60/ 0.70 (-14.00/ +2.73)
event16 POINTER_MOTION +2.334s -2.57/ 0.00 (-10.00/ +0.00)
event16 POINTER_MOTION +2.345s -2.57/ 0.18 (-10.00/ +0.68)
event16 POINTER_MOTION +2.355s -2.57/ 0.00 (-10.00/ +0.00)
event16 POINTER_MOTION +2.365s -2.57/ 0.00 (-10.00/ +0.00)
event16 POINTER_MOTION +2.374s -1.80/ 0.00 ( -7.00/ +0.00)
event16 POINTER_MOTION +2.385s -2.05/ 0.00 ( -8.00/ +0.00)
event16 POINTER_MOTION +2.395s -2.05/ 0.00 ( -8.00/ +0.00)
event16 POINTER_MOTION +2.405s -1.80/ 0.00 ( -7.00/ +0.00)
event16 POINTER_MOTION +2.414s -2.57/ 0.00 (-10.00/ +0.00)
event16 POINTER_MOTION +2.425s -1.80/ 0.00 ( -7.00/ +0.00)
event16 POINTER_MOTION +2.435s -2.05/ 0.00 ( -8.00/ +0.00)
event16 POINTER_MOTION +2.445s -1.80/ 0.00 ( -7.00/ +0.00)
event16 POINTER_MOTION +2.455s -1.54/ 0.00 ( -6.00/ +0.00)
event16 POINTER_MOTION +2.465s -1.54/ 0.00 ( -6.00/ +0.00)
event16 POINTER_MOTION +2.475s -1.80/ 0.00 ( -7.00/ +0.00)
event16 POINTER_MOTION +2.486s -1.80/ -0.18 ( -7.00/ -0.68)
event16 POINTER_MOTION +2.495s -1.28/ -0.35 ( -5.00/ -1.37)
event16 POINTER_MOTION +2.505s -1.54/ -0.35 ( -6.00/ -1.37)
event16 POINTER_MOTION +2.515s -1.28/ -0.35 ( -5.00/ -1.37)
event16 POINTER_MOTION +2.526s -1.03/ -0.35 ( -4.00/ -1.37)
event16 POINTER_MOTION +2.535s -0.77/ -0.35 ( -3.00/ -1.37)
event16 POINTER_MOTION +2.545s -0.77/ 0.00 ( -3.00/ +0.00)
event16 POINTER_MOTION +2.556s -0.77/ -0.35 ( -3.00/ -1.37)
event16 POINTER_MOTION +2.565s -0.51/ -0.17 ( -2.00/ -0.68)
event16 POINTER_MOTION +2.575s -0.76/ 0.00 ( -3.00/ +0.00)
event16 POINTER_MOTION +2.585s -0.77/ -0.18 ( -3.00/ -0.68)
event16 POINTER_MOTION +2.596s -0.50/ -0.17 ( -2.00/ -0.68)
event16 POINTER_MOTION +2.776s 0.00/ -0.22 ( +0.00/ -1.37)
event16 POINTER_MOTION +2.786s 0.23/ -1.10 ( +1.00/ -4.78)
libinput error: event16 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event16 - SynPS/2 Synaptics TouchPad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.15.1/touchpad-jumping-cursors.html for details
libinput error: event16 - SynPS/2 Synaptics TouchPad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.15.1/touchpad-jumping-cursors.html for details
event16 POINTER_AXIS +3.036s vert 5.79/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +3.057s vert 9.12/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +3.077s vert 21.74/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +3.097s vert 35.07/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +3.117s vert 34.37/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +3.156s vert 0.00/0* horiz 0.00/0* (finger)
event16 POINTER_AXIS +6.473s vert -13.50/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +6.493s vert -19.64/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +6.514s vert -28.76/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +6.534s vert -23.85/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +6.553s vert -26.48/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +6.574s vert 0.00/0* horiz 0.00/0* (finger)
event16 POINTER_AXIS +6.974s vert 25.95/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +6.994s vert 43.49/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +7.015s vert 35.77/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +7.034s vert 39.98/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +7.055s vert 39.98/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +7.074s vert 0.00/0* horiz 0.00/0* (finger)
event16 POINTER_AXIS +7.505s vert -49.10/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +7.526s vert -42.08/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +7.545s vert -47.69/0* horiz 0.00/0 (finger)
event16 POINTER_AXIS +7.565s vert 0.00/0* horiz 0.00/0* (finger)
libinput error: event16 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
Same here with wayland
libinput-gestures: session gnome+wayland on Linux-5.5.3-arch1-1-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.1
/usr/bin/libinput-gestures: hash 5c8bd05b1deb7a0975b359983e3f1490
Gestures configured in /etc/libinput-gestures.conf:
swipe up _internal ws_up
swipe down _internal ws_down
swipe left xdotool key alt+Right
swipe right xdotool key alt+Left
pinch in xdotool key super+s
pinch out xdotool key super+s
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event13): SynPS/2 Synaptics TouchPad
After a libinput-gestures-setup restart
the gestures work for a few seconds. Then the terminal will display the following errors.
libinput error: event13 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
Sometimes the restart does not change anything and the terminal displays
libinput error: event13 - SynPS/2 Synaptics TouchPad: kernel bug: Wrong slot count (2), reducing to 1
libinput error: event13 - SynPS/2 Synaptics TouchPad: kernel bug: Wrong slot count (1), reducing to 0
libinput error: event13 - SynPS/2 Synaptics TouchPad: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.15.1/touchpad-jumping-cursors.html for details
libinput-debug-events: ../libinput-1.15.1/src/evdev-mt-touchpad.c:532: tp_process_absolute: Assertion `tp->nactive_slots >= 1' failed.
michaldybczak alienware-PC ~ libinput-gestures -l
libinput-gestures: session KDE+x11 on Linux-5.5.3-2-MANJARO-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.1
/usr/bin/libinput-gestures: hash 06b487b84e7d5b0fb569204145519a72
Gestures configured in ~/.config/libinput-gestures.conf:
swipe down 4 xdotool key ctrl+F9
swipe up 4 xdotool key ctrl+F9
swipe left xdotool key ctrl+F8
swipe right xdotool key ctrl+F8
pinch in xdotool key ctrl+minus
pinch out xdotool key ctrl+plus
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event6): SynPS/2 Synaptics TouchPad
michaldybczak alienware-PC ~ libinput-gestures -d
libinput-gestures: session KDE+x11 on Linux-5.5.3-2-MANJARO-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.1
/usr/bin/libinput-gestures: hash 06b487b84e7d5b0fb569204145519a72
Gestures configured in ~/.config/libinput-gestures.conf:
swipe down 4 xdotool key ctrl+F9
swipe up 4 xdotool key ctrl+F9
swipe left xdotool key ctrl+F8
swipe right xdotool key ctrl+F8
pinch in xdotool key ctrl+minus
pinch out xdotool key ctrl+plus
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event6): SynPS/2 Synaptics TouchPad
libinput-gestures is already running for michaldybczak, terminating ..
Libinput was updated on Arch and Manjaro in the last couple of days from version 1.15.0-1 -> 1.15.1-1 and it seems the new version has a bug which causes libinput debug-events
to abort. See this libinput bug. So downgrade libinput to that previous version, and/or wait for a fix to libinput.
Experimenting on my own system, I find that it aborts if I perform a gesture immediately after my system comes up, or immediately after I libinput-gestures-setup restart
. If I wait 5 secs or so (i.e. let the underlying libinput debug-events
start up and run for a few secs) then it seems to run fine for me from then on.
PS: I added some more specific info about the abort on the libinput bug.
I see libibput 1.15.0-1 and 1.15.0.1-1 in pacman cache so I'll downgrade it to 1.15.0-1 and report back if it helped.
I can confirm that downgrading to 1.15.0-1 fixes everything.
This issue has been fixed by the upgrade of libinput to 1.15.2. The Arch package update was released earlier today.
I updated to ibinput to 1.15.2 and the issue is still there. The first gesture works, then it stops. No error issues is showed on terminal:
libinput-gestures -l
libinput-gestures: session KDE+x11 on Linux-5.5.5-1-MANJARO-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.2
/usr/bin/libinput-gestures: hash 5c8bd05b1deb7a0975b359983e3f1490
Gestures configured in ~/.config/libinput-gestures.conf:
swipe down 4 xdotool key ctrl+F9
swipe up 4 xdotool key ctrl+F9
swipe left xdotool key ctrl+F8
swipe right xdotool key ctrl+F8
pinch in xdotool key ctrl+minus
pinch out xdotool key ctrl+plus
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event5): SynPS/2 Synaptics TouchPad
libinput-gestures -d
libinput-gestures: session KDE+x11 on Linux-5.5.5-1-MANJARO-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.2
/usr/bin/libinput-gestures: hash 5c8bd05b1deb7a0975b359983e3f1490
Gestures configured in ~/.config/libinput-gestures.conf:
swipe down 4 xdotool key ctrl+F9
swipe up 4 xdotool key ctrl+F9
swipe left xdotool key ctrl+F8
swipe right xdotool key ctrl+F8
pinch in xdotool key ctrl+minus
pinch out xdotool key ctrl+plus
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event5): SynPS/2 Synaptics TouchPad
libinput-gestures is already running for michaldybczak, terminating ..
Can someone other confirm this?
Or maybe this libinput needs git version to run properly? Current version of libinput-gestures on Manjaro unstable is 2.48-1
I'm downgrading again.
@michaldybczak this issue is due to a bug introduced in libinput 1.15.1 and occurs for everybody after update to that version (me included). It did not occur in 1.15.0 and it is fixed in 1.15.2. See if and when the bug occurred on your system with:
journalctl | grep "nactive_slots.*failed"
So, if you have updated to libinput 1.15.2 and rebooted then the following should give no output:
journalctl -b | grep "nactive_slots.*failed"
If you get no output to the last command above, and yet you still have a problem, then you are seeing some other issue. Please follow each step in the TROUBLESHOOTING section and tell me what you find.
I updated to 1.15.2 and tested it. The bug is present in that version and not on 1.15.0, so downgrade always helps. There is no output of the command you gave me.
This is curious, if the issue is different, why it appeared in 1.15.1? Coincidence? Anyway, I'll try to follow the troubelshooting guide, but it will take some time and I'll let you know what I found out.
I can only repeat that I'm using libpinput-gestures since years and it worked great until 1.15.1 libinput came. Maybe there is some additional bug also present in the latest libinput?
libinput-gestures -d
libinput-gestures: session KDE+x11 on Linux-5.5.5-1-MANJARO-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.2
/usr/bin/libinput-gestures: hash 06b487b84e7d5b0fb569204145519a72
Gestures configured in /etc/libinput-gestures.conf:
swipe up _internal ws_up
swipe down _internal ws_down
swipe left xdotool key alt+Right
swipe right xdotool key alt+Left
pinch in xdotool key super+s
pinch out xdotool key super+s
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event9): SynPS/2 Synaptics TouchPad
libinput error: event9 - SynPS/2 Synaptics TouchPad: kernel bug: Wrong slot count (2), reducing to 1
libinput error: event9 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
^CTraceback (most recent call last):
File "/usr/bin/libinput-gestures", line 765, in <module>
main()
File "/usr/bin/libinput-gestures", line 722, in main
for line in cmd.stdout:
KeyboardInterrupt
libinput error: event6 - SynPS/2 Synaptics TouchPad: kernel bug: Wrong slot count (2), reducing to 1
libinput error: event6 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event6 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event6 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event6 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event6 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
I'm not sure what to do more. Libinput-gestures is not the issue, it works with older libinput. The conf also works then. The only variable that changes that introduced the issue is libinput itself. It may be combination of the kerl and libinput?
Operating System: Manjaro Linux KDE Plasma Version: 5.18.1 KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1 Kernel Version: 5.5.6-1-MANJARO OS Type: 64-bit Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz Memory: 7,6 GiB
OK, seems like you are reporting a different issue, perhaps this libinput bug. Peter Hutterer says there that it should "partially go away" with libinput 1.15.2 but he also says the bug is in libevdev which has no new release so I guess you need to wait a new release of that?
BTW, I know this is unrelated to your issue but please don't use the libinput-gestures-git
package. That is package is maintained by somebody else. I maintain the current official release in the libinput-gestures
AUR package. *-git
packages just pull the latest random version from head at the time you build them and are not updated automatically so I just don't see the point of them. Best to avoid *-git
AUR packages unless you are temporarily trying to work around a bug etc.
PS edit: I added a comment on that bug pointing to your issue here.
I just upgraded from 1.15.0 -> 1.15.2 and am having the same issue. Here is 3 finger left and right gesture libinput record
@shawnifoley please provide the output of your libinput-gestures -l
. Please also confirm you get those same kernel bug "Wrong slot count" and "touch 1 ended" journal messages as the OP.
I posted a link to your post and output on the libinput bug.
libinput-gestures: session xfce+tty on Linux-4.16.18+-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.2
/usr/bin/libinput-gestures: hash 5c8bd05b1deb7a0975b359983e3f1490
Gestures configured in ~/.config/libinput-gestures.conf:
swipe up xfdashboard
swipe down _internal ws_down
swipe left xdotool key alt+Left
swipe right xdotool key alt+Right
pinch in dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:Main.overview.toggle();
pinch out dbus-send --session --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:Main.overview.toggle();
device Synaptics TM3141-001
libinput-gestures: device /dev/input/by-path/platform-INT3432:00-event-mouse(event6): Synaptics TM3141-001
Looks like im getting different errors:)
libinput error: event6 - Synaptics TM3141-001: kernel bug: Touch jump detected and discarded.
See https://wayland.freedesktop.org/libinput/doc/1.15.2/touchpad-jumping-cursors.html for details
@shawnifoley Ignore that "Touch jump detected" message. It has long been reported around here many times but it seems benign with no effect on anything. I have always seen it occurring occasionally in my journal but never seen an issue related to it. Possibly everybody sees it.
Why is your kernel so old? Presumably you have a recent touchpad device (i.e. recent model laptop) and thus it almost compels you to use a recent kernel.
Heh, its a dell chromebook that i installed arch linux on but am using the GalliumOS's kernel. It been awhile maybe ill try mainline again.
I have the same error with libinput 1.15.2. Results of libinput-gestures -d
:
libinput-gestures: session plasma+x11 on Linux-5.5.6-zen1-1-zen-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.2
/usr/bin/libinput-gestures: hash 5c8bd05b1deb7a0975b359983e3f1490
Gestures configured in ~/.config/libinput-gestures.conf:
swipe left 3 xdotool key alt+Right
swipe right 3 xdotool key alt+Left
swipe up 4 _internal ws_up
swipe down 4 _internal ws_down
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event20): SynPS/2 Synaptics TouchPad
libinput error: event20 - SynPS/2 Synaptics TouchPad: kernel bug: Wrong slot count (2), reducing to 1
libinput error: event20 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
Me too. I upgraded manjaro yesterday.
libinput-gestures -l
libinput-gestures: session Xfce Session+x11 on Linux-4.19.106-1-MANJARO-x86_64-with-glibc2.2.5, python 3.8.1, libinput 1.15.2
/usr/bin/libinput-gestures: hash 5c8bd05b1deb7a0975b359983e3f1490
Gestures configured in ~/.config/libinput-gestures.conf:
swipe left 3 xdotool key alt+Right
swipe right 3 xdotool key alt+Left
swipe up 3 xdotool key F5
swipe down 3 xdotool key ctrl+w
pinch in 2 xdotool key ctrl+minus
pinch out 2 xdotool key ctrl+plus
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event7): SynPS/2 Synaptics TouchPad
libinput error: event7 - SynPS/2 Synaptics TouchPad: kernel bug: Wrong slot count (2), reducing to 1
libinput error: event7 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event7 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event7 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event7 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event7 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event7 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
Downgrading libinput to 1.50 solves the problem
same issue here. libinput 1.15.2. gestures are not working.
libinput-gestures: session plasma+x11 on Linux-5.4.0-kali4-amd64-x86_64-with-debian-kali-rolling, python 3.7.6, libinput 1.15.2
/usr/bin/libinput-gestures: hash 06b487b84e7d5b0fb569204145519a72
Gestures configured in ~/.config/libinput-gestures.conf:
swipe up xdotool key super+Down
swipe left xdotool key ctrl+alt+Right
swipe right xdotool key ctrl+alt+Left
libinput-gestures: device /dev/input/by-path/platform-i8042-serio-1-event-mouse(event6): SynPS/2 Synaptics TouchPad
error
libinput error: event6 - SynPS/2 Synaptics TouchPad: kernel bug: Wrong slot count (2), reducing to 1
libinput error: event6 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event6 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event6 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
libinput error: event6 - SynPS/2 Synaptics TouchPad: kernel bug: touch 1 ended and began in in same frame.
You guys with that type of touchpad just have to put up with the libinput bug until it gets fixed in libinput 1.15.3 which is pending a new release in a few days as stated here, or downgrade to libinput 1.15.0. No point making a "me too" comment here.
@bulletmark libinput 1.15.3 is released
Yes, I will close the bug here when libinput 1.15.3. is updated formally to Arch release repository and after one of the guys here confirm the fix.
Great. We're monitoring it :)
Solved in my case with 1.15.3. Thanks :)
Libinput 1.15.3 is updated to main Arch repos now so this bug can be closed.
I'm on Manjaro unstable and still waiting for the libinput update :(
If you used 'downgrade' to go back to 1.15.0, you can use
downgrade libinput
to upgrade to 1.15.3
OK, I got the 1.15.3 update (it was an overlay issue, so the update wasn't available on Manjaro, but now it's OK) and I can also confirm that libinput-gestures works correctly, like before :).
After today's Plasma 5.18 update on Manjaro unstable, kernels also got updated.
I noticed that libinput-gestures stopped working correctly.
Basically, after the update the first one or few gestures worked then they stopped. When I restarted the service the first gestures worked and then it stopped again. Now I can't even get it to work for the first time. Rebooting computer or restarting the service isn't helping.
I use kernel 5.5 but booted into 5.4 and the issue persists. I also exchanged the package version from Manjaro repo to git version, still the same issue.
Here is the data:
Operating System: Manjaro Linux KDE Plasma Version: 5.18.0 KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1 Kernel Version: 5.4.19-1-MANJARO OS Type: 64-bit Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz Memory: 7,6 GiB
Here is the install/update log from today and yesterday (before that libinout-gestures definitely worked fine for few years):
This is terminal output:
This is strange because I'm in xorg session.
Let me know what I can post more.