[XWayland] Wacom Intuos CTH-480 eventually has no visible pointer
I run Gnome 3.34.1 on Debian, and I have a "Wacom Co., Ltd CTH-480 [Intuos Pen & Touch (S)]". When I start a new Gnome session on Wayland, the tablet works for a while and then stops working with XWayland apps in a variety of odd ways, the most common of which is that, while the pen is in proximity of the tablet, the associated pointer is no longer shown when hovering over Xwayland windows. Firefox and Emacs are the main two offenders for me. (Windows from other Wayland clients or GNOME shell itself do not have this issue.) Mouse motion is still registered, however, as I can see from various display changes (such as changing hover highlights). A curious and perhaps interesting detail is that if I place an (unaffected) Wayland window over an (affected) XWayland window and move the tablet pointer off the unaffected into the affected window, I get temporarily my pointer back, albeit in the form of the last pointer shape that was applied by the unaffected window (i.e. often a window resize pointer). Sometimes, I am also unable to left or right click using the tablet once the failure starts manifesting, but that may be a separate issue.
I noticed !205 (merged) which seemed related. I rebuilt Debian's xorg-server
package with !205 (merged) applied (and this to get around build difficulties)), but it does not resolve the issue, or at least not entirely.
Version info
Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386Kernel: Linux 5.4.0-rc5 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE:de (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabledVersions of packages xwayland depends on:
ii libaudit1 1:2.8.5-2
ii libbsd0 0.10.0-1
ii libc6 2.29-2
ii libdrm2 2.4.99-1
ii libepoxy0 1.5.3-0.1
ii libgbm1 19.2.1-1
ii libgcrypt20 1.8.5-3
ii libgl1 1.1.0-1+b1
ii libpixman-1-0 0.36.0-1
ii libselinux1 2.9-2+b2
ii libsystemd0 243-3
ii libunwind8 1.2.1-9
ii libwayland-client0 1.17.0-1
ii libxau6 1:1.0.8-1+b2
ii libxdmcp6 1:1.1.2-3
ii libxfont2 1:2.0.3-1
ii libxshmfence1 1.3-1
ii xserver-common 2:1.20.4-1akhack
Version 1.20.4-1akhack of the X server is Debian's "2:1.20.4-1" with !205 (merged) applied.