Wacom cursor not shown in Wayland, works in Xorg

Bug #1919310 reported by Esokrates
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
mutter (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Hardware: Dell XPS 13 9310 2-in-1 with Dell Premium Active Pen (PN579X).

When using the Wayland session, I can't see a cursor moving when hovering with the pen. In the Xorg session a mouse cursor is shown that follows the pen as I hover over the display.

It would be nice to have the cursor for two reasons:

1. Being able to target more precisely
2. When doing presentations people can see when I highlight something with the cursor.

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: gnome-shell 3.38.3-3ubuntu1
Uname: Linux 5.11.6-051106-generic x86_64
ApportVersion: 2.20.11-0ubuntu60
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Tue Mar 16 11:34:15 2021
DisplayManager: gdm3
RelatedPackageVersions: mutter-common 3.38.3-3ubuntu2
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Esokrates (esokrarkose) wrote :
description: updated
Revision history for this message
Jouni Mettala (jouni-mettala) wrote :

Could you attach output of following commands:

xinput list
sudo libinput list-devices

First one from xsession second from Wayland.

Revision history for this message
Esokrates (esokrarkose) wrote :
Revision history for this message
Esokrates (esokrarkose) wrote :
Revision history for this message
Jouni Mettala (jouni-mettala) wrote :

There is older bug against xf86-input-wacom.
https://bugs.launchpad.net/ubuntu/+source/xf86-input-wacom/+bug/1852851

It leads to https://github.com/linuxwacom/xf86-input-wacom/issues/39
"pen that is reported as two devices, a stylus and an eraser. It is designed to switch to the eraser when the bottom barrel button is held."

Libinput.txt shows line:
Capabilities: tablet
Is that right or should it be pointer?

Affecting libinput because wayland uses it.

tags: added: wacom
affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
no longer affects: libinput (Ubuntu)
Changed in mutter (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
tags: added: fixed-in-40 fixed-upstream
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

I think this was fixed upstream by
 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1779

Still, we'll get it back in next upload without input thread.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.38.4-1ubuntu1

---------------
mutter (3.38.4-1ubuntu1) hirsute; urgency=medium

  * Merge with debian, containing new upstream release.
  * debian/tests: Adapt autopkgtest name and linked library to current soname
  * debian/tests/control: Update references to libmutter-7-dev
  * debian/patches: Remove Input Thread backport patches.
    It has been fun, but we decided to revert this, so here it is.
    (LP: #1918874, LP: #1919310)
  * debian/control: Set breaks on gnome-shell 3.38.4.
    That's the first version on which we'll remove the input thread patches
  * debian/libmutter-7-0.symbols: Revert symbol changes due to input thread
  * debian/patches: Add support for ABFR2101010 in v3d used by Raspberry Pi 4
    (LP: #1896171)
  * debian/patches: Handle NVIDIA's zero presentation times (LP: #1880086)
  * debian/patches: Properly handle configuration events on windows
    (LP: #191793)
  * Remaining changes with debian:
    - debian/gbp.conf: update upstream branch to point to ubuntu/master
    - debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch:
      + X11: Add support for fractional scaling using Randr

mutter (3.38.4-1) unstable; urgency=medium

  * Team upload
  * New upstream release
    - Fix Wayland spec compliance when reordering subsurfaces.
      This is likely to be required by future Firefox versions in native
      Wayland mode.
    - Many other fixes that we already had via debian/patches
  * Drop most patches, included in the new upstream release

mutter (3.38.3-5) unstable; urgency=medium

  * Team upload

  [ Marco Trevisan (Treviño) ]
  * debian/patches: Include a missing commit from upstream gnome-3-38
    branch to fix X11 UI stutters

mutter (3.38.3-4) unstable; urgency=medium

  * Team upload

  [ Marco Trevisan (Treviño) ]
  * debian/patches: cherry-pick more upstream gnome-3-38 fixes
    - Correctly restore focus to applications that use globally active
      input handling, such as AWT/Swing Java apps
    - Disable double buffered shadow buffering, which was intended to
      improve performance with e.g. llvmpipe but currently makes it worse
  * debian/tests: Adapt autopkgtest name and linked library to current soname
  * debian/tests/control: Update references to libmutter-7-dev

  [ Simon McVittie ]
  * d/patches: Update to commit 3.38.3-26-g30c542ddc from gnome-3-38 branch
    - Fix X11 frame timing getting stuck if frames are skipped, resulting
      in X11 applications not always being redrawn when they should be
    - Fix a crash when clicking below titlebar with broken GTK themes

 -- Marco Trevisan (Treviño) <email address hidden> Fri, 26 Mar 2021 07:17:54 +0100

Changed in mutter (Ubuntu):
status: Fix Committed → Fix Released
Changed in mutter:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.