Wacom tablet frequently crashes Gnome desktop

In the past year Manjaro + Gnome + Xorg + Wacom + Krita worked swimmingly, but since the 2023-11-06 update, I have not had a stable drawing experience. The culprit seems to be Gnome+Xorg, because drawing works reasonably well in KDE Plasma, less so in Wayland.

To be certain that no weird configurations were causing this, I did a fresh install of the whole OS. The problem persisted under Xorg, even with the most recent 2023-11-20 update.

Xorg: Using the tablet, if I hover over the dash or certain other places, GUI crashes to the “Oh no! :[” screen. Going to Settings > Wacom and clicking “Map buttons” reliably causes this crash after a second’s pause.

Wayland: No GUI crashes as of yet, and works fine initially, but as the session goes on and I switch between multiple windows (e.g. Krita, OBS, Firefox), the cursor will get “stuck” in resize mode or turn invisible. When stuck, I can move the cursor around freely using either the tablet or mouse, but clicks and taps have no effect in certain windows even if they’re in focus, and even if I close and reopen them. The only way to reliably fix this is to restart but the problem eventually returns with time.

Inxi is below and I can provide the crash logs if needed.
I would love to get drawing working again in EITHER Xorg or Wayland. Any help is appreciated.

Inxi data

System:
Kernel: 6.1.62-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
root=UUID=99bd297e-f1cd-4842-90c0-abcc10e4fc2d rw quiet splash
resume=UUID=616042a5-bf27-4400-a874-159e6ad2a1df udev.log_priority=3
Desktop: GNOME v: 45.1 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 45.0.1
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: Micro-Star product: MS-7C37 v: 3.0
serial:
Mobo: Micro-Star model: X570-A PRO (MS-7C37) v: 3.0
serial: UEFI: American Megatrends v: H.A0
date: 09/07/2020
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M510
serial: charge: 55% (should be ignored) rechargeable: yes
status: discharging
Device-2: wacom_battery_0 model: Wacom Intuos Pro M serial: N/A charge: 0%
status: not charging
Memory:
System RAM: total: 16 GiB available: 15.54 GiB used: 3.82 GiB (24.6%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen 2 gen: 3
level: v3 note: check built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB
desc: 2x16 MiB
Speed (MHz): avg: 2966 high: 3601 min/max: 2200/4208 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2200 2: 2200
3: 2200 4: 3599 5: 3600 6: 3601 7: 3600 8: 3600 9: 2200 10: 3598 11: 2995
12: 2200 bogomips: 86437
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibs
irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
rdtscp rep_good sep sev sev_es sha_ni skinit smap smca smep ssbd sse sse2
sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext
tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
protection
Type: spec_rstack_overflow mitigation: safe RET
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
vendor: Micro-Star MSI driver: amdgpu v: kernel arch: RDNA-1 code: Navi-1x
process: TSMC n7 (7nm) built: 2019-20 pcie: gen: 4 speed: 16 GT/s lanes: 16
ports: active: DP-2,HDMI-A-1 off: DP-3 empty: DP-1 bus-ID: 2f:00.0
chip-ID: 1002:731f class-ID: 0300
Device-2: Valve 3D Camera driver: uvcvideo type: USB rev: 3.2 speed: 5 Gb/s
lanes: 1 mode: 3.2 gen-1x1 bus-ID: 6-3.1:3 chip-ID: 28de:2400 class-ID: 0e02
serial:
Display: wayland server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.2
compositor: gnome-shell driver: X: loaded: amdgpu
unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
gpu: amdgpu display-ID: 0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-size: <missing: xdpyinfo>
Monitor-1: DP-2 pos: right res: 1920x1080 hz: 60 dpi: 92
size: 530x300mm (20.87x11.81") diag: 609mm (23.98") modes: N/A
Monitor-2: HDMI-1 pos: primary,left res: 1920x1080 hz: 60 dpi: 92
size: 530x300mm (20.87x11.81") diag: 609mm (23.98") modes: N/A
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
wayland: drv: radeonsi x11: drv: radeonsi
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.1.9-manjaro1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 5700 XT (navi10 LLVM
16.0.6 DRM 3.49 6.1.62-1-MANJARO) device-ID: 1002:731f memory: 7.81 GiB
unified: no display-ID: :0.0
Audio:
Device-1: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 2f:00.1 chip-ID: 1002:ab38 class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI X570-A PRO
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 31:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Valve VR Radio driver: cdc_acm,hid-generic,usbhid type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-3.3.2:6
chip-ID: 28de:2102 class-ID: 0a00 serial:
Device-4: Valve VR Radio & HMD Mic driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-3.3.3:7
chip-ID: 28de:2102 class-ID: 0102 serial:
Device-5: Logitech Blue Snowball driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-4:3
chip-ID: 046d:0ab9 class-ID: 0300 serial:
API: ALSA v: k6.1.62-1-MANJARO status: kernel-api tools: N/A
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: JACK v: 1.9.22 status: off tools: N/A
Server-3: PipeWire v: 0.3.85 status: off with: pipewire-media-session
status: active tools: pw-cli
Server-4: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
type: plugin tools: pacat,pactl
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI X570-A PRO driver: r8169 v: kernel pcie: gen: 1
speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 27:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: enp39s0 state: up speed: 1000 Mbps duplex: full mac:
IP v4: type: dynamic noprefixroute scope: global
broadcast:
IP v6: type: noprefixroute scope: link
WAN IP:
Bluetooth:
Message: No bluetooth data found.
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.14 TiB used: 182.69 GiB (15.7%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 840 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: fw-rev: CB6Q scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 860 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: fw-rev: 1B6Q scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Samsung model: SSD 860 EVO 250GB
size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: fw-rev: 4B6Q scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 223.79 GiB size: 219.22 GiB (97.96%)
used: 43.13 GiB (19.7%) fs: ext4 dev: /dev/sdc2 maj-min: 8:34 label: N/A
uuid: 99bd297e-f1cd-4842-90c0-abcc10e4fc2d
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 25.5 MiB (8.5%) fs: vfat dev: /dev/sdc1 maj-min: 8:33 label: N/A
uuid: EF2B-78A9
ID-3: /mnt/sda1 raw-size: 139.8 GiB size: 136.55 GiB (97.67%)
used: 27.92 GiB (20.4%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: Bus
uuid: 95e35971-d640-4955-b2f9-c9591a8e4f36
ID-4: /mnt/sda2 raw-size: 325.96 GiB size: 319.78 GiB (98.10%)
used: 111.61 GiB (34.9%) fs: ext4 dev: /dev/sda2 maj-min: 8:2
label: Bartimaeus uuid: abea8636-ef53-43f6-a01e-cfe47de973b4
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
compressor: zstd max-pool: 20%
ID-1: swap-1 type: partition size: 8.8 GiB used: 5.2 MiB (0.1%)
priority: -2 dev: /dev/sdc3 maj-min: 8:35 label: swap
uuid: 616042a5-bf27-4400-a874-159e6ad2a1df
Unmounted:
ID-1: /dev/sdb1 maj-min: 8:17 size: 16 MiB fs:
label: N/A uuid: N/A
ID-2: /dev/sdb2 maj-min: 8:18 size: 465.75 GiB fs: ntfs label: N/A
uuid: E27EF5C87EF5960F
USB:
Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 6 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
class-ID: 0900
Device-1: 1-1:2 info: Dell USB Wired Multimedia Keyboard type: keyboard,HID
driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s (183 KiB/s)
lanes: 1 mode: 1.0 power: 100mA chip-ID: 413c:2112 class-ID: 0300
Device-2: 1-2:3 info: Wacom PTH-651 [Intuos pro (M)] type: HID,mouse
driver: usbhid,wacom interfaces: 3 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
lanes: 1 mode: 1.1 power: 498mA chip-ID: 056a:0315 class-ID: 0301
Device-3: 1-5:4 info: Logitech Unifying Receiver type: keyboard,mouse,HID
driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0
speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
chip-ID: 046d:c52b class-ID: 0300
Hub-2: 2-0:1 info: super-speed hub ports: 4 rev: 3.1
speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 6 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
class-ID: 0900
Device-1: 3-1:2 info: PowerA Xbox Series X En Wired Controller Black Inline
type: driver: xpad interfaces: 2 rev: 2.0
speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 500mA
chip-ID: 20d6:2001 class-ID: ff00 serial:
Device-2: 3-5:3 info: Micro Star MYSTIC LIGHT type: HID
driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
lanes: 1 mode: 1.1 power: 500mA chip-ID: 1462:7c37 class-ID: 0300
serial:
Hub-4: 3-6:4 info: Genesys Logic Hub ports: 4 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
chip-ID: 05e3:0608 class-ID: 0900
Hub-5: 4-0:1 info: super-speed hub ports: 4 rev: 3.1
speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-6: 5-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
class-ID: 0900
Hub-7: 5-3:2 info: Valve ports: 3 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
lanes: 1 mode: 2.0 power: 2mA chip-ID: 28de:2613 class-ID: 0900
Hub-8: 5-3.3:4 info: Microchip (formerly SMSC) Hub ports: 5 rev: 2.1
speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 0424:2744
class-ID: 0900
Device-1: 5-3.3.1:5 info: Valve Index HMD type: HID
driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
lanes: 1 mode: 1.1 power: 500mA chip-ID: 28de:2300 class-ID: 0300
serial:
Device-2: 5-3.3.2:6 info: Valve VR Radio
type: HID,abstract (modem),CDC-data driver: cdc_acm,hid-generic,usbhid
interfaces: 3 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
chip-ID: 28de:2102 class-ID: 0a00 serial:
Device-3: 5-3.3.3:7 info: Valve VR Radio & HMD Mic type: HID,audio
driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 2.0
speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 chip-ID: 28de:2102
class-ID: 0102 serial:
Device-4: 5-3.3.5:8 info: Microchip (formerly SMSC) Hub Controller
type: Hub driver: N/A interfaces: 1 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
lanes: 1 mode: 2.0 chip-ID: 0424:2740 class-ID: 0000
Device-5: 5-4:3 info: Logitech Blue Snowball type: audio,HID
driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 2.0
speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 100mA
chip-ID: 046d:0ab9 class-ID: 0300 serial:
Hub-9: 6-0:1 info: super-speed hub ports: 4 rev: 3.1
speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-10: 6-3:2 info: Microchip (formerly SMSC) Hub ports: 4 rev: 3.2
speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 0424:5744
class-ID: 0900
Device-1: 6-3.1:3 info: Valve 3D Camera type: video driver: uvcvideo
interfaces: 2 rev: 3.2 speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1
power: 800mA chip-ID: 28de:2400 class-ID: 0e02 serial:
Sensors:
System Temperatures: cpu: 51.5 C mobo: N/A gpu: amdgpu temp: 33.0 C
mem: 34.0 C
Fan Speeds (rpm): N/A gpu: amdgpu fan: 808
Info:
Processes: 317 Uptime: 7h 9m wakeups: 0 Init: systemd v: 254
default: graphical tool: systemctl Compilers: gcc: 13.2.1 alt: 12
clang: 16.0.6 Packages: pm: pacman pkgs: 1332 libs: 476
tools: gnome-software,pamac Shell: Zsh v: 5.9 running-in: gnome-terminal
inxi: 3.3.31

Take a look here:

Is xf86-input-wacom installed and configured?

Found that thread earlier, and it was closest to what I was experiencing. I dug a little from there and tried some of the ideas prior to the fresh install.

For me on this install, xf86-input-wacom was already installed. I uninstalled, reinstalled, restarted, chose Xorg, went to settings > wacom, “Map buttons”, still crashed. Also cannot reliably draw, getting the same “stuck cursor” behavior as on Wayland.

One idea I came across and tried before doing a wipe and fresh install was renaming /usr/share/X11/xorg.conf.d/70-wacom.conf to a different number. I look in the folder and notice now it’s called 30-wacom.conf . If I understand correctly this should apply earlier than 40-libinput.conf (which is what seems to cause the errors), but tried just now and xorg crashed when I hovered tablet pen over the dock.

Edit: Also, I do not use or need the tablet buttons, but I think being able to select “map buttons” without a crash would be good indicator.

Having a look at the end of that thread, this looks promising: Fix tablets on X11 having the wrong device (!3393) · Merge requests · GNOME / mutter · GitLab

I’m not familiar with the whole ecosystem, but I’m hoping the next update fixes the problem. Nothing to do but wait around until then I suppose.

I discovered the Wayland trouble might have to do with the number of windows open at once. More windows seems to increase the likelihood of the cursor getting stuck in the way I described.

The most recent Manjaro update appears to have fixed the problem. Under Xorg, I did some drawing, hovered over the dock, and was able to open “Map Buttons” in the wacom settings, all with no issues so far.

1 Like

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.