[nvidia] GTK tooltips are distorted in Wayland sessions

Bug #2109766 reported by Herman Sheremetyev
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GTK+
Fix Released
Unknown
egl-wayland (Ubuntu)
Triaged
Low
Unassigned
gtk4 (Ubuntu)
Opinion
Undecided
Unassigned
nvidia-graphics-drivers-570 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Started seeing strange font corruption in tooltips lately, text looks blown up and washed out, see attached screenshot. Happens on random tooltips in various apps this is just one example. Usually clears up if you mouse over some other stuff.

ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: gnome-shell 48.0-1ubuntu1
ProcVersionSignature: Ubuntu 6.14.0-15.15-generic 6.14.0
Uname: Linux 6.14.0-15-generic x86_64
ApportVersion: 2.32.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu May 1 12:26:32 2025
DisplayManager: gdm3
InstallationDate: Installed on 2025-04-01 (30 days ago)
InstallationMedia: Ubuntu 25.04 "Plucky Puffin" - Daily amd64 (20250331)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
RelatedPackageVersions: mutter-common 48.1-1ubuntu3
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

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

Would you say the problem happens after resuming from suspend or switching VTs? (bug 1876632)

tags: added: nvidia nvidia-wayland
summary: - Font corruption in tooltips
+ [nvidia] Font corruption in tooltips
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: [nvidia] Font corruption in tooltips

Can you identify the set of apps affected so we can tell if it's a particular toolkit?

affects: gnome-shell (Ubuntu) → ubuntu
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Herman Sheremetyev (has207) wrote :

I'm seeing the issue in (at least) System Settings, Files and System Monitor apps, plus a gtk app I'm coding myself. Not seeing it in Firefox. This is indeed after having suspended, I will do a clean boot and see if the issue goes away.

Revision history for this message
Herman Sheremetyev (has207) wrote :

Also doesn't seem to be an issue with Blender, OBS or Virtual Machine Manager. Maybe Adwaita related? Not sure about the system apps but the app I'm writing is using that.

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

In the upstream bug (https://gitlab.gnome.org/GNOME/gtk/-/issues/5832) it sounds like the Nvidia driver is being blamed. What driver version are you using?

affects: ubuntu → gtk4 (Ubuntu)
Changed in gtk4 (Ubuntu):
status: Incomplete → New
status: New → Confirmed
status: Confirmed → Opinion
summary: - [nvidia] Font corruption in tooltips
+ [nvidia] GTK tooltips are distorted
summary: - [nvidia] GTK tooltips are distorted
+ [nvidia] GTK tooltips are distorted in Wayland sessions
Changed in gtk:
status: Unknown → Fix Released
Revision history for this message
Herman Sheremetyev (has207) wrote :

$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX Open Kernel Module for x86_64 570.133.07 Release Build (dvs-builder@U22-I3-G01-1-1) Fri Mar 14 12:57:14 UTC 2025
GCC version: gcc version 14.2.0 (Ubuntu 14.2.0-19ubuntu2)

Revision history for this message
Herman Sheremetyev (has207) wrote :

Okay I tried a clean boot, the problem is there right away as soon as I log in so not suspend related after all.

Revision history for this message
Herman Sheremetyev (has207) wrote :

I tried to update to nvidia driver 575.51.02 and disabled secure boot, same tooltip corruption still present.

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

Try adding GSK_RENDERER=vulkan to /etc/environment and reboot.

Other values include 'gl' and 'ngl' but I suspect one of those is already in use. Hopefully only one of them has the bug.

Changed in nvidia-graphics-drivers-570 (Ubuntu):
status: New → Confirmed
Changed in egl-wayland (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Changed in nvidia-graphics-drivers-570 (Ubuntu):
importance: Undecided → Low
Revision history for this message
Herman Sheremetyev (has207) wrote :

Okay setting GSK_RENDERER=vulkan seems to fix it, and setting it to either gl or ngl shows corrupted tooltips. I'll keep running with vulkan set to see if I eventually trigger it again.

Changed in egl-wayland (Ubuntu):
status: Confirmed → Triaged
Changed in nvidia-graphics-drivers-570 (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
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.