[Wayland-bugs] [Bug 99961] Wacom tablet produces wiggly bent lines when using libinput driver.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 27 08:50:43 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99961

--- Comment #2 from Raghavendra Kamath <raghavendr.raghu at gmail.com> ---
Hi Peter,

First of all, thank you very much for working on the wacom driver in libinput.

I recorded the events with evemu as you suggested, let me explain the steps
that I did

1) First I uninstalled the xf86-input-driver, because when this driver is
installed the strokes behave correctly, even if Xorg.0.log shows me that
libinput is used as driver.

2) Then I rebooted the system and made sure that libinput is used as driver by
checking xorg log with grep -e "Using input driver 'libinput'"
/var/log/Xorg.0.log

I got Using input driver 'libinput' for 'Wacom Intuos4 6x9 Pen'

3) Then I opened krita with a document of 1920X1080 snapped it on the left side
of the screen and snapped the terminal on right half of the screen. I then
tested the stroke, which were wavy as I showed you earlier. I then proceeded to
record the events with evemu as you suggested with evemu-record > pen.evemu , i
got a prompt to enter the number of event which was 17 I am attaching the log
here as **pen-evemu**

4) I then replayed this event in a new document as you suggested and the wavy
lines were reproduced.

5) I then installed xf86-input-wacom and commented the tablet related lines in
40-libinput.conf like i mentioned in my earlier comment to make sure
xf86-input-wacom is used as driver

6) I rebooted the system, check the xorg log to make sure libinput is not used
for wacom, I got the output of grep as - Using input driver 'wacom' for 'Wacom
Intuos4 6x9 Pen'

7) I then proceeded to check if replaying earlier recording would reproduce the
wavy lines. this time the event number was changed to 5, so I had to change the
number from 17 to 5 in while replaying with sudo evemu-play /dev/input/eventX <
pen.evemu. There was not stroke made and nothing happened.

8) The strokes were smooth and perfect with wacom driver, I then re recorded
event with evemu as saved the recording as **pen-wacom.evemu**. I am attaching
this log too. **this is with xf86-input-wacom driver **

9) I then replayed the event and the stroke was played correctly and it was
smooth.

Note : please try to make the stroke in one rapid movement across the screen

Attached evemu logs
pen.evemu -> libinput
pen-wacom.evemu -> xf86-input-wacom

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170227/6650d1a1/attachment.html>


More information about the wayland-bugs mailing list