GNOME (non-Ubuntu) login screen mouse cursor is a semi-opaque white square (missing adwaita-icon-theme-full)

Bug #1972080 reported by Jon LaBadie
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
Expired
Low
Unassigned
gnome-shell (Ubuntu)
Expired
Low
Unassigned

Bug Description

Do not think this is hardware dependent, but I'm using an HPE MicroServer Gen10 Plus.

I installed the server edition of 22.04. Post-Installation, I added some desktop environments. After logging in, these are working fine.

However on the gdm login entry and password entry screens I had no mouse pointer icon. A semi-opaque white square tracked the mouse movements. My reading suggested that gdm defaults to using the cursor icon theme provided by the adwaita-icon-theme package. I discovered this theme comes in two sizes, a basic, smaller package installed automatically and a larger "full" package.

$ apt list 'adwaita-icon-theme*'
Listing... Done
adwaita-icon-theme/jammy,now 41.0-1ubuntu1 all [installed,automatic]
adwaita-icon-theme-full/jammy,now 41.0-1ubuntu1 all [installed]
$

The gdm mouse pointer appears and disappears with installation and removal of the package "adwaita-icon-theme-full". Either gdm's dependencies should include the "full" package OR the appropriate mouse pointer icons should be moved from the full to the basic "adwaita-icon-theme" package.

Daniel Manrique (roadmr)
affects: canonical-identity-provider → gdm (Ubuntu)
affects: gdm (Ubuntu) → gdm3 (Ubuntu)
tags: added: jammy
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Ubuntu's cursor theme comes from package 'yaru-theme-icon' but it sounds like you have a rendering problem so please run the following command to gather more system info:

  apport-collect 1972080

Please also run:

  lspci -k > lspci.txt
  journalctl -b0 > journal.txt

and attach the resulting text files here.

affects: gdm3 (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please also try adding:

  MUTTER_DEBUG_DISABLE_HW_CURSORS=1

to /etc/environment and reboot.

tags: added: cursor
Revision history for this message
Jon LaBadie (jonlabadie) wrote :
Revision history for this message
Jon LaBadie (jonlabadie) wrote :
summary: - gdm has incomplete dependency
+ [mgag200] Mouse cursor is a semi-opaque white square
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Jon LaBadie (jonlabadie) wrote : Re: [mgag200] Mouse cursor is a semi-opaque white square

The reported problem is during login, not after successful login.
I don't think mutter configuration has any effect before graphical login.

Ubuntu's cursor theme may come from 'yaru-theme-icon', but does gdm's?

Two files affect the observed condition:

/usr/share/icons/Adwaita/cursors/left_ptr
/usr/share/icons/Adwaita/cursors/xterm

These come from the package 'adwaita-theme-icon-full'. If the package is not installed I have no login screen mouse pointer. Install the package and the pointer appears. Leave the package installed and deleted the two above files
and the pointer is gone.

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

Your log also suggests you are experiencing bug 1967274 so you might be better off using the 'nomodeset' kernel parameter until that fix is released.

tags: added: mgag200
tags: added: matrox
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

> Ubuntu's cursor theme may come from 'yaru-theme-icon', but does gdm's?

The login screen is a gnome-shell process which is themed by Yaru. It _should_ be using the Yaru cursor theme too.

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

Also using the wrong (or no) cursor theme won't cause "a semi-opaque white square".

Please try adding:

  MUTTER_DEBUG_DISABLE_HW_CURSORS=1

to /etc/environment and reboot.

Revision history for this message
Jon LaBadie (jonlabadie) wrote :

Adding MUTTER_DEBUG_DISABLE_HW_CURSORS=1 to /etc/environment and rebooting had no effect on the issue. White square "mouse pointer" is present on gdm login screen if /usr/share/icons/adwaita/cursors is missing (renamed).

If instead I install a symbolic link .../Adwaita/cursors -> .../Yaru/cursors and restart gdm I get
valid mouse pointers.

gdm is clearly looking for its cursor files in the Adwaita theme directory rather than Yaru.

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: [mgag200] Mouse cursor is a semi-opaque white square (missing adwaita-icon-theme-full)

I should note that regular Ubuntu 22.04 only has 'adwaita-icon-theme' installed, not 'adwaita-icon-theme-full'. To figure out which login screen it is that needs the latter, please:

1. Attach a photo of the login screen.

2. Run:

   dpkg -l > packages.txt

   and attach the resulting text file here.

summary: - [mgag200] Mouse cursor is a semi-opaque white square
+ [mgag200] Mouse cursor is a semi-opaque white square (missing adwaita-
+ icon-theme-full)
no longer affects: linux (Ubuntu)
affects: mutter (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Jon LaBadie (jonlabadie) wrote :
Revision history for this message
Jon LaBadie (jonlabadie) wrote :
Revision history for this message
Jon LaBadie (jonlabadie) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks.

This bug seems to be something unique to the system. I can't tell what but starting with server edition and then manually installing multiple different desktops is not a common thing to do.

What I can say is that desktop Ubuntu only needs 'adwaita-icon-theme' to get the correct cursor on the login screen. Desktop Ubuntu does not install 'adwaita-icon-theme-full'.

Changed in ubuntu:
status: Incomplete → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):

The photos in comments #12 and #13 show the Ubuntu Yaru theme is not being used (missing the logo aside from this cursor bug), so it makes some sense if whatever theme that is requires more of Adwaita than regular Ubuntu does.

summary: - [mgag200] Mouse cursor is a semi-opaque white square (missing adwaita-
- icon-theme-full)
+ GNOME (non-Ubuntu) login screen mouse cursor is a semi-opaque white
+ square (missing adwaita-icon-theme-full)
affects: ubuntu → gdm3 (Ubuntu)
Changed in gdm3 (Ubuntu):
importance: Undecided → Low
Changed in gnome-shell (Ubuntu):
importance: Undecided → Low
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Maybe start by removing the package 'sabily-gdm-themes'

Revision history for this message
Jon LaBadie (jonlabadie) wrote :

Removal of the package 'sabily-gdm-themes' and rebooting had no effect on my situation.

Daniel, perhaps you have some insight into this. What information I've found in my internet search says that gdm/gdm3 defaults to Adwaita icon theme. I'm looked for "how to configure" type articles
about gdm and none have been applicable or have had not effect.

Do you know how to reconfigure gdm in Ubuntu 22.04?

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

Maybe one of these will do the trick:

  update-alternatives --config gdm-theme.gresource

  update-alternatives --config x-cursor-theme

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

Please tell us what you see when you run the above commands.

Changed in gdm3 (Ubuntu):
status: New → Incomplete
Changed in gnome-shell (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-shell (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-shell (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gdm3 (Ubuntu) because there has been no activity for 60 days.]

Changed in gdm3 (Ubuntu):
status: Incomplete → Expired
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.