[radeon] No mouse cursor drawn in Wayland session

Bug #1867080 reported by James Henstridge
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
gnome-shell (Ubuntu)
Invalid
Undecided
Unassigned
mutter (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

When I upgraded my desktop yesterday, I could no longer see the mouse cursor on the screen. It still responded to mouse clicks (e.g. context menu on right click, pushing the mouse to the top left and left clicking went to spread mode, etc).

This only seems to affect the Wayland session: when I switched back to X11 the mouse cursor was visible again. I also noticed that the mouse cursor is absent on the GDM login screen, which I understand is also a Wayland based gnome-shell session.

I tried reproducing the bug on my laptop, but the mouse cursor shows just fine there. The main differences between the systems are the GPU (radeon vs. intel) and number of monitors (dual screen vs. single).

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-shell 3.35.91-1ubuntu2
ProcVersionSignature: Ubuntu 5.4.0-14.17-generic 5.4.18
Uname: Linux 5.4.0-14-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu20
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Mar 12 10:28:55 2020
DisplayManager: gdm3
InstallationDate: Installed on 2013-10-29 (2325 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
RelatedPackageVersions: mutter-common 3.35.91-1ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to focal on 2020-02-02 (38 days ago)

Revision history for this message
James Henstridge (jamesh) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

ShellJournal.txt is showing:

[ 68.636098] scruffy gnome-shell[2974]: set_crtc_cursor: assertion 'cursor_plane' failed
[ 68.652801] scruffy gnome-shell[2974]: unset_crtc_cursor: assertion 'cursor_plane' failed
[ 68.653185] scruffy gnome-shell[2974]: set_crtc_cursor: assertion 'cursor_plane' failed
[ 68.669752] scruffy gnome-shell[2974]: unset_crtc_cursor: assertion 'cursor_plane' failed
[ 68.670106] scruffy gnome-shell[2974]: set_crtc_cursor: assertion 'cursor_plane' failed
[ 68.685755] scruffy gnome-shell[2974]: unset_crtc_cursor: assertion 'cursor_plane' failed
[ 68.686143] scruffy gnome-shell[2974]: set_crtc_cursor: assertion 'cursor_plane' failed
[ 68.702795] scruffy gnome-shell[2974]: set_crtc_cursor: assertion 'cursor_plane' failed
[ 68.703194] scruffy gnome-shell[2974]: set_crtc_cursor: assertion 'cursor_plane' failed
[ 68.719882] scruffy gnome-shell[2974]: set_crtc_cursor: assertion 'cursor_plane' failed

tags: added: wayland wayland-session
Revision history for this message
James Henstridge (jamesh) wrote :
tags: added: radeon
summary: - No mouse cursor drawn in Wayland session
+ [radeon] No mouse cursor drawn in Wayland session
tags: added: champagne
tags: added: fixed-in-3.36.0 fixed-upstream
Changed in mutter (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in gnome-shell (Ubuntu):
status: New → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

it's fixed upstream, untagging champagne, should be resolved before focal is out

tags: removed: champagne
Changed in mutter (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.36.0-2ubuntu1

---------------
mutter (3.36.0-2ubuntu1) focal; urgency=medium

  * Merge with debian. Remaining changes:
    + debian/control:
      - Update VCS flags to point to ubuntu salsa branch
    + debian/gbp.conf: update 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
  * d/p/clutter-master-clock-default-Sync-timelines-to-hardware-v.patch:
    - Improves smoothness and reduce input-to-output latency
      levels (LP: #1862308)
  * debian/libmutter-6-0.symbols:
    - Update as per background mipmap levels patch symbol addition
  * Ubuntu bugs resolved since 3.35.91-1ubuntu1:
    - Higher than necessary CPU usage on mouse movement (LP: #1848951)
    - No mouse cursor drawn for radeon in Wayland sessions (LP: #1867080)
    - Restarting displays apps running on other workspaces (LP: #1819890)
    - Volume/brightness OSD make fullscreen video flicker (LP: #1828697)

mutter (3.36.0-2) experimental; urgency=medium

  * control: Build against gnome-desktop 3.36 and break old gnome-shell. So we
    get dependencies on libgnome-desktop-3-19. Otherwise we get two different
    versions of gnome-desktop loaded into GNOME Shell, which crashes. Break
    old gnome-shell for the inverse reason - it needs to be upgraded otherwise
    we get the mismatch the other way around.

mutter (3.36.0-1) experimental; urgency=medium

  * New upstream release
    + Fix placement of popup windows in multi-monitor setups
    + Fix invisible mouse cursor on some hardware
    + Updated translations

mutter (3.35.92-1) experimental; urgency=medium

  * New upstream release
    + Add side channel for starting required X11 services
    + Allow remote desktop services to inhibit animations
    + Avoid flicker when (un)redirecting windows
    + Fix clipping glitches in long text entries
    + Fix visibility of initially hidden windows
    + Implement scaled/transformed hardware cursors
    + Let BindConstraints update the preferred size
    + Make check-alive timeouts configurable
    + Make each stage view correspond to a single CRTC
    + Make Xwayland startup asynchronous
    + Ping windows on every window focus
    + Remove overhead from hot code paths
    + Support synchronized wayland popup moving
    + Update screen-cast code to PipeWire 0.3 API
    + Use DMA buffers for screencasting if possible
  * d/p/*: Rebase
  * rules: Disable remote-desktop temporarily. This now requires pipewire 0.3
    which is not packaged yet and needs to be worked on
  * control: Bump wayland-protocols dep to 1.19 per meson.build
  * debian/libmutter-6-0.symbols: Add new symbols for this release. One symbol
    which was introduced in .90 was dropped; -6's ABI is not stable yet.

 -- Marco Trevisan (Treviño) <email address hidden> Thu, 19 Mar 2020 15:51:05 +0000

Changed in mutter (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Stephen Allen (stephen-d-allen) wrote :

Thanks fellas, it's fixed for me. Great release!

@Daniel this desktop version definitely appears quicker and smoother! No doubt due to your extensive work in that regard.

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.