Type of device: Graphics tablet
Brand and version of the device: Wacom Intuos CTH-690
System: Arch Linux x86_64, 6.5.6-arch2-1, KDE Plasma, Wayland
I just switched to Arch (Plasma Wayland) and I’m experiencing an issue with my drawing tablet (Wacom Intuos CTH-690). The beginning of every brush stroke is a straight line. I tried it in Krita (5.1.5 Flatpak), Aseprite, Blender and the GNU Image Manipulation Program, and it’s the same in all of them.
This seems to be a common issue, it’s even mentioned at Introduction to User Support — Krita Manual 5.2.0 documentation, but I’ve only found mentions of this issue relating to Windows, nothing at all for Linux. The KDE drawing tablet settings on Wayland only have a few mapping settings, so it doesn’t look like there’s anything in there that could fix it. I read Graphics tablet - ArchWiki and if I understand correctly, the default out-of-the-box way to handle drawing tablets on Wayland is libinput, so I assume that’s what I’m using when I haven’t specifically installed a driver. I tried the other drivers listed in that article, as well as a live Ubuntu 22.04.3 X11 system and the official Wacom driver on a fresh Windows 11, to see if they have the same problem. As it turned out, all of them have slightly different versions of this issue for me.
Using OpenTabletDriver installed via the AUR on my Arch Wayland, the beginnings of strokes are fine but the ends have straight lines instead. And these ends don’t follow the direction of the brush stroke like with libinput, they go backward to where the pen used to be a moment ago, so parallel to the stroke if I draw a straight line and at bigger angles if I draw a curved line. I didn’t find anything that could help in the OpenTabletDriver settings.
Using xf86-input-wacom on my Arch with X11 has the same result as when I tried it on a live Ubuntu 22.04.3 X11 system. The beginnings of strokes are fine here, too, but the ends are straight and in the same way as the beginnings are on Wayland+libinput, only shorter.
On Windows 11 with the official Wacom driver (6.4.3-1), both beginnings and ends of strokes are straight (tested in Krita, Paint and Paint.NET). I tried fixing it with the things I found online, namely lowering the tip double click distance and unticking/ticking Use Windows Ink, but it made no difference.
So, all drivers have an issue like this and I haven’t managed to fix it anywhere so far. I have made two other interesting observations, though.
The xf86-input-wacom driver has two sliders in the KDE system settings. The second one didn’t seem to do anything, but the raw sample rate slider influences not only smoothing, latency and seemingly cutting off more from the end of the stroke. It’s set to 4 by default which results in the small straight end shown above. Setting it to 1 however turns the end into a bigger straight line going backwards, exactly as with OpenTabletDriver, so both of them seem to have the same issue, only that OpenTabletDriver doesn’t seem to have this slider to influence the bugged end. Increasing the value makes the straight end shorter and more aligned with the direction of the brush stroke, probably because of increased smoothing and ending the stroke earlier. I found that setting it to 6 makes the straight end pretty much unnoticeable in practice without increasing latency too much, so I could theoretically use this. Going back to X11 for this would be very unfortunate, mostly because I can somehow only run games well on Wayland (I have a Nvidia 1080), but I have another issue in Aseprite that only happens with xf86-input-wacom and OpenTabletDriver. The end of every stroke lags and only appears like a quarter of a second after ending the stroke. Maybe solving this straight line issue will also solve this Aseprite issue, otherwise I’ll report it to Aseprite. But for now, this also makes xf86-input-wacom with the slider set to 6 no real alternative to me.
Back on Arch Wayland with libinput, I messed around a little with Krita’s Tablet Tester and was amazed to discover that drawing in its test area works perfectly, both the beginning and end of strokes look consistently fine! So it seems that this is possible after all and Krita even receives the right signals from the tablet/driver. But how is it working fine in there and not on actual Krita canvases or other applications?
Some additional information: I’ve only drawn in Aseprite so far and want to get into Krita now, too. These two are all I currently need the tablet for, anything else I’ve mentioned was just to test this issue. Before Arch I used Kubuntu (20.04 X11) and before that Windows 10. I know that I had an issue like this before but I don’t remember where or when. I also don’t remember if the beginnings or ends of strokes were affected, but I know that it wasn’t both as it is now on Windows and also not ends going backwards. And I don’t remember having managed to fix it. I might have just lived with it because it might not have been noticeable in low-res pixel art which is all I’ve been doing so far. But I tried “regular” art in Krita on Kubuntu 20.04 X11 once before in mid 2021 and the lines in those drawings look fine to me.





