GNOME 3.36 Lands Scaled/Transformed Hardware Cursors Support and keeps another not scaled cursor mid screen

Bug #1873052 reported by Håvar on 2020-04-15
This bug affects 23 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
mutter (Ubuntu)
Marco Trevisan (Treviño)
xorg-server (Ubuntu)
Marco Trevisan (Treviño)

Bug Description

Showing two cursors after login to ubuntu-desktop.

One cursor moves and is scaled, and one is stationary mid screen and not scaled.

The moving cursor does not appear on screenshots, making it difficult to upload a screenshot.

Previously reported:

Package: mutter 3.36.1-3ubuntu1

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-shell 3.36.1-4ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu26
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 15 20:06:53 2020
DisplayManager: gdm3
RelatedPackageVersions: mutter-common 3.36.1-3ubuntu1
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to focal on 2020-03-31 (15 days ago)

Håvar (havar) wrote :
description: updated
Daniel van Vugt (vanvugt) wrote :

Does the problem still happen if you choose 'Ubuntu on Wayland' from the login screen? I am wondering if it is unique to the Xrandr scaling feature.

See also

affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
Changed in mutter (Ubuntu):
status: New → Incomplete
Håvar (havar) wrote :

@Daniel: The problem cursor did not appear when using 'Ubuntu on Wayland'.

Changed in mutter (Ubuntu):
status: Incomplete → New
tags: added: xrandr-scaling
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mutter (Ubuntu):
status: New → Confirmed
Changed in mutter:
status: Unknown → Fix Released
Håvar (havar) wrote :

Still does not seem fixed.
Instead of in the middle of the screen, there is another cursor in the down right corner at the moment. Seems like it has been initialized farther down to the right, but still visible on a 4k resolution.

mutter 3.36.1-3ubuntu3

The hotfix of changing to 100% scaling and not accepting the changes still works.

Changed in mutter (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)

This seems to happen when switching user passing from GDM or just doing Ctrl+alt+f1 -> Ctrl+alt+f2 (or yours).

Looks like gdm's mutter cursor stays.

Using gdm running in X11, workarounds the issue, so as workaround editing /etc/gdm3/custom.conf to uncomment `WaylandEnable=false` should fix this.

Changed in mutter (Ubuntu):
status: Confirmed → Triaged
affects: mutter → ubuntu
no longer affects: ubuntu
tags: added: cursor
Changed in mutter (Ubuntu):
importance: Undecided → Medium
Ryan Thompson (rct86) wrote :

For anyone else affected by this bug, I've written a script that toggles the scaling mode back and forth to fix the problem and then restore your desired scaling mode on each monitor.

Just set that script to run at login (e.g. by adding it to Startup Applications). Your screen will flicker momentarily on login, since the script is changing resolutions, but then the extra mouse cursor will be gone automatically.

Changed in mutter (Ubuntu):
status: Triaged → In Progress
Changed in xorg-server (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Changed in mutter (Ubuntu):
status: In Progress → Won't Fix
Daniel van Vugt (vanvugt) wrote :

Two more duplicates reported of this bug today. So if "Won't Fix" is the right answer then I think more of us need some time to understand why that is.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Changed in mutter (Ubuntu):
status: Won't Fix → Confirmed
Daniel (danlehmannmuc) wrote :

Confirming that WaylandEnable=false in /etc/gdm3/custom.conf fixes the issue (thanks Marco!)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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