[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
** Description changed: + [Impact] + + From the original bug: + + "The result is that on my Yoga 920, in a plain X11 session (running + openbox in my case), the touchscreen acts like a broken mouse: there is + no multi-touch capability in Qt Quick applications, and clicking isn't + quite right either." + + [Test case] + + Install the update, note that the touchscreen behaviour is better. + + [Regression potential] + + From the upstream commit: + + "Note that this change will effectively cause a feature regression for + users of other environments that do *not* have their own gesture + engines (Cinnamon, KDE, MATE, XFCE, etc.). Users will want to add an + xorg.conf.d snippet with `Option "Gesture" "on"` to bring back the + functionality." + + but at least I (tjaalton) haven't heard of any complaints since we've + disabled gestures in focal (Nov 21st), so the warning might be a bit too + pessimistic about the impact. + + + -- + /usr/share/X11/xorg.conf.d/70-wacom.conf as shipped, has this: Section "InputClass" - Identifier "Wacom touchscreen class" - MatchProduct "Wacom|WACOM|PTK-540WL|ISD-V4" - MatchDevicePath "/dev/input/event*" - MatchIsTouchscreen "true" - Driver "wacom" + Identifier "Wacom touchscreen class" + MatchProduct "Wacom|WACOM|PTK-540WL|ISD-V4" + MatchDevicePath "/dev/input/event*" + MatchIsTouchscreen "true" + Driver "wacom" EndSection The result is that on my Yoga 920, in a plain X11 session (running openbox in my case), the touchscreen acts like a broken mouse: there is no multi-touch capability in Qt Quick applications, and clicking isn't quite right either. I also verified it with Peter Hutterer's old cairo- based mt-touch test program. I suspect we will get some users mistakenly writing up Qt bugs about this if you don't ship a fix. (Seems to me that already happened at least once, actually.) Yes, the touchscreen is made by Wacom, but wacom_drv.so has historically been only for Wacom tablets and in-screen stylus digitizers, and IMO that continues to be the case. libinput is a much better choice of driver for this hardware (so is evdev for that matter), so I changed it to Driver "libinput" and got it working. (Wayland uses libinput, so in a wayland session, touch already works fine in Qt apps on this hardware.) I'm one of the Qt Quick maintainers, most concerned with touch handling, and I've also written some of the Qt xcb code for dealing with XInput touch and tablet devices. So if you think that there's something wrong with Qt, such that it should still work anyway to use a wacom driver for a Wacom touchscreen, let me know. These AES devices are still new to me (that's why I got a Yoga, to try it out). ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: xserver-xorg-input-wacom 1:0.36.1-0ubuntu1 [modified: usr/share/X11/xorg.conf.d/70-wacom.conf] ProcVersionSignature: Ubuntu 4.15.0-22.24-generic 4.15.17 Uname: Linux 4.15.0-22-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 Date: Wed May 30 19:40:51 2018 DistUpgraded: Fresh install DistroCodename: bionic DistroVariant: ubuntu MachineType: LENOVO 80Y7 ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-22-generic root=ZFS=rpool/ROOT/ubuntu ro SourcePackage: xf86-input-wacom UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 02/22/2018 dmi.bios.vendor: LENOVO dmi.bios.version: 5NCN38WW dmi.board.asset.tag: NO Asset Tag dmi.board.name: LNVNB161216 dmi.board.vendor: LENOVO dmi.board.version: SDK0J40709 WIN dmi.chassis.asset.tag: NO Asset Tag dmi.chassis.type: 31 dmi.chassis.vendor: LENOVO dmi.chassis.version: Lenovo YOGA 920-13IKB dmi.modalias: dmi:bvnLENOVO:bvr5NCN38WW:bd02/22/2018:svnLENOVO:pn80Y7:pvrLenovoYOGA920-13IKB:rvnLENOVO:rnLNVNB161216:rvrSDK0J40709WIN:cvnLENOVO:ct31:cvrLenovoYOGA920-13IKB: dmi.product.family: YOGA 920-13IKB dmi.product.name: 80Y7 dmi.product.version: Lenovo YOGA 920-13IKB dmi.sys.vendor: LENOVO version.compiz: compiz N/A version.libdrm2: libdrm2 2.4.91-2 version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.0~rc5-1ubuntu1 version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.0~rc5-1ubuntu1 version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.5-1ubuntu1 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2 ** Summary changed: - Wacom touchscreens should use libinput, not wacom driver + Wacom touchscreens should disable gestures -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
backporting the upstream commit to bionic ** Also affects: xf86-input-wacom (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: xf86-input-wacom (Ubuntu Bionic) Status: New => In Progress ** Changed in: xf86-input-wacom (Ubuntu Bionic) Assignee: (unassigned) => Timo Aaltonen (tjaalton) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should disable gestures To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
Timo, Could you help SRU into bionic? Thanks! Here is the SRU bug link. If we SRU at lp:1774242, I think I could duplicate lp:1852691. https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1852691 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
I tried the upstream patch on xserver-xorg-input-wacom 1:0.36.1-0ubuntu1 on 18.04, this issue is fixed. commit 31a5405f7d9405bc514585709161287b0c67386e Author: Jason Gerecke Date: Mon Sep 9 15:32:17 2019 -0700 Change default gesture mode: touchpad=on, touchscreen=off A large number of users run the GNOME desktop which has its own gesture engine that performs actions on touchscreens. These gestures are much better than the ones we provide, so lets disable our engine by default for touchscreens. Note that GNOME doesn't do anything with touchpad gestures, so we leave them enabled by default. Note that this change will effectively cause a feature regression for users of other environments that do *not* have their own gesture engines (Cinnamon, KDE, MATE, XFCE, etc.). Users will want to add an xorg.conf.d snippet with `Option "Gesture" "on"` to bring back the functionality. Signed-off-by: Jason Gerecke ** Patch added: "change-default-gesture-mode.patch" https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+attachment/5335647/+files/change-default-gesture-mode.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
@Timo, I verified the method to add the option "Option Gesture Off" without uncomment the touchscreen class(es) on new Dell XPS 13. This method works. The config is here: https://bugs.launchpad.net/somerville/+bug/1840605/comments/7 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
paoletto: nothing changed in 18.04, it never got this update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
Jason: that's a good suggestion, I'll fix the package to use that instead -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
actually, could someone test that before it's pushed to the distro? Modify 70-wacom.conf, uncomment the touchscreen class(es) and add the option there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
18.04 seems still br0ken. One of the last updates restored the broken 70-wacom.conf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
Just a note (mostly to other distro maintainers that may come across this) that an alternative to completely disabling the Wacom driver's touchscreen handling is to just add `Option "Gesture" "Off"` to the touchscreen section of 70-wacom.conf instead. The driver currently defaults to consuming all multitouch events to power its own (very limited) gesture recognizer, but the above config option will let it pass everything through to the desktop and applications. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
This bug was fixed in the package xf86-input-wacom - 1:0.36.1-0ubuntu2 --- xf86-input-wacom (1:0.36.1-0ubuntu2) disco; urgency=medium * skip-touchscreens.diff: Don't use wacom for touchscreens. (LP: #1774242) -- Timo Aaltonen Fri, 12 Apr 2019 10:26:53 +0300 ** Changed in: xf86-input-wacom (Ubuntu) Status: Incomplete => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
I can confirm that once the section is commented out, libinput is in use, and multitouch works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
The same effect would happen if the touchscreen entries were commented out from 70-wacom.conf, can you confirm? ** Changed in: xf86-input-wacom (Ubuntu) Status: Confirmed => Incomplete ** Changed in: xf86-input-wacom (Ubuntu) Assignee: (unassigned) => Timo Aaltonen (tjaalton) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
Proposed fix works, the touchscreen is much more usable with libinput on Lenovo Thinkpad X1 Yoga 1st gen now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
Happens here too, the proposed fix solves the problem. Please upstream it! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
Tested with Ubuntu 18.04.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
The same issue happens on the Lenovo Thinkpad X1 Yoga 2nd gen. I think the rule above was simply a bit too much. Can somebody confirm a device where exactly the rules with the capability MatchIsTouchscreen "true" are really needed? Those devices seem to have a buggy HID descriptor. If not, Ubuntu, could you please remove (or at least comment) these annoying rules since they seem to break a lot (if not all) Lenovo Yoga convertible devices... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
I deleted the whole section as suggested by Shawn, and also deleted the similar one with "USB". Now my touchscreen and everything else are working great. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
Thank you so much for posting this simple fix I changed the line from Driver "wacom" to Driver "libinput" like you said. Now multitouch is working correctly in Kubuntu. I have a Lenovo Flex 5 "14 (also known as the Yoga 520 outside the US) which also uses Wacom AES hardware. I could not get multitouch to work at all with the touchscreen. This was bad because multitouch allows me to easily zoom/move around the canvas when I'm drawing in Krita and also zoom and go forward/backwards in google chrome. The touchscreen with the driver set to wacom driver is awful! In addition to no multitouch I couldn't even do simple scrolling smoothly. I agree that the "Wacom touchscreen class" should switch to "libinput" drivrt by default. Who knows how many other Lenovo flex/yoga users this confused. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: xf86-input-wacom (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774242] Re: Wacom touchscreens should use libinput, not wacom driver
I verified that the stylus does still work OK (using the Qt tablet example which demonstrates pressure-sensitivity etc.) So I think it's probably OK to remove that stanza completely: there's probably no reason to use wacom.drv for the touchscreen, just let it fall back to libinput or evdev, whichever is installed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774242 Title: Wacom touchscreens should use libinput, not wacom driver To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1774242/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs