Bug 104948

Summary: libinput bug: timer event9 tap: offset negative
Product: Wayland Reporter: ad1rie3
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Xorg log file

Description ad1rie3 2018-02-05 12:16:17 UTC
Created attachment 137168 [details]
Xorg log file

Hello, 

When i hybernate and resume my computer, after 2 second of touchpad working, 
The touchpad not responding and recover after 10 seconde. 

The log in Xorg.log : 
[  7804.226] (EE) libinput bug: timer event9 tap: offset negative (-1060798)
[  7804.226] (EE) libinput bug: timer event9 tap: offset negative (-1061977)
[  7804.226] (EE) libinput bug: timer event9 tap: offset negative (-1059506)
[  7804.226] (EE) libinput bug: timer event9 tap: offset negative (-1024864)
[  7804.226] (EE) libinput bug: timer event9 tap: offset negative (-1017999)

My computer is : 
Model Asus R541U
RAM 4 GB
Kernel : 4.14.16
Distribution : Fedora
Desktop : KDE plasma : 5.11.5
Libinput version : 1.9.3

the impacted touchpad is : 
[    13.204] (II) Using input driver 'libinput' for 'ELAN1200:00 04F3:301A Touchpad'
[    13.204] (**) ELAN1200:00 04F3:301A Touchpad: always reports core events
[    13.204] (**) Option "Device" "/dev/input/event9"
[    13.204] (**) Option "_source" "server/udev"
[    13.313] (II) event9  - (II) ELAN1200:00 04F3:301A Touchpad: (II) is tagged by udev as: Touchpad
[    13.314] (II) event9  - (II) ELAN1200:00 04F3:301A Touchpad: (II) device is a touchpad
[    13.314] (II) event9  - (II) ELAN1200:00 04F3:301A Touchpad: (II) device removed
[    13.328] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-9/i2c-ELAN1200:00/0018:04F3:301A.0001/input/input10/event9"
[    13.328] (II) XINPUT: Adding extended input device "ELAN1200:00 04F3:301A Touchpad" (type: TOUCHPAD, id 12)
[    13.328] (**) Option "AccelerationScheme" "none"
[    13.328] (**) ELAN1200:00 04F3:301A Touchpad: (accel) selected scheme none/0
[    13.328] (**) ELAN1200:00 04F3:301A Touchpad: (accel) acceleration factor: 2.000
[    13.328] (**) ELAN1200:00 04F3:301A Touchpad: (accel) acceleration threshold: 4
[    13.331] (II) event9  - (II) ELAN1200:00 04F3:301A Touchpad: (II) is tagged by udev as: Touchpad
[    13.331] (II) event9  - (II) ELAN1200:00 04F3:301A Touchpad: (II) device is a touchpad

The command libinput-debug-events show nothing more the Xorg.0.log.
Comment 1 Peter Hutterer 2018-02-06 01:08:35 UTC
did you notice anything else behaving weirdly when resuming? usually the timer offset error is caused by X being overloaded and not calling libinput_dispatch() often enough. If you notice slow rendering and general delays during that time, then it's most likely not a libinput bug.
Comment 2 ad1rie3 2018-02-06 09:50:03 UTC
Youre right, high CPU of kworker process. 
Thanck you

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.