[Bug 2061079] [NEW] GTK-ngl (new default backend) rendering issues with the nvidia 470 driver

Launchpad Bug Tracker 2061079 at bugs.launchpad.net
Tue Jun 4 09:56:17 UTC 2024


You have been subscribed to a public bug by Daniel van Vugt (vanvugt):

[ Impact ]

When the Nvidia 470 driver is used GTK 4 fails to render most text
labels.

[ Workaround ]

Install a newer Nvidia driver using the 'Additional Drivers' app if you
can. Otherwise add GSK_RENDERER=gl (or GSK_RENDERER=vulkan) to
/etc/environment and reboot.

[ Test Plan ]

1. Install the Nvidia 470 driver on a system that supports it, being
careful to ensure that Nvidia is the PRIMARY GPU of the system. So
usually a desktop.

2. Open the Settings app and verify that all the icons in the side menu
are visible.

3. Open Nautilus and verify that no file icons are missing their text
labels.

[ Where problems could occur ]

Anywhere else in the rendering of GTK 4 apps.

[ Additional information ]

With nvidia driver, all GTK4 applications have label rendering issues.

They are not refresh until passing the cursor over them, giving blank
windows. The corner are white and not themed. Passing from one app scren
to another one reproduces the issue.

gnome-control-center or files, for instance, are blank by default.

As suggested by seb128, exporting GSK_RENDERER=gl fixes the issue.

Related upstream bugs and discussions are:
- https://blog.gtk.org/2024/01/28/new-renderers-for-gtk/
- https://gitlab.gnome.org/GNOME/gtk/-/issues/6574
- https://gitlab.gnome.org/GNOME/gtk/-/issues/6411
- https://gitlab.gnome.org/GNOME/gtk/-/issues/6542

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: libgtk-4-1 4.14.1+ds-0ubuntu2
ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4
Uname: Linux 6.8.0-11-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia zfs
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 12 09:47:05 2024
InstallationDate: Installed on 2020-04-24 (1449 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 LANG=fr_FR.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: gtk4
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gtk
     Importance: Unknown
         Status: New

** Affects: gtk4 (Ubuntu)
     Importance: Medium
     Assignee: Daniel van Vugt (vanvugt)
         Status: Triaged

** Affects: nvidia-graphics-drivers-470 (Ubuntu)
     Importance: High
     Assignee: Daniel van Vugt (vanvugt)
         Status: In Progress

** Affects: nvidia-graphics-drivers-535 (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: nvidia-graphics-drivers-545 (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: nvidia-graphics-drivers-550 (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: gtk4 (Ubuntu Noble)
     Importance: Medium
     Assignee: Daniel van Vugt (vanvugt)
         Status: Won't Fix

** Affects: nvidia-graphics-drivers-470 (Ubuntu Noble)
     Importance: High
     Assignee: Daniel van Vugt (vanvugt)
         Status: Triaged

** Affects: nvidia-graphics-drivers-535 (Ubuntu Noble)
     Importance: Undecided
         Status: Fix Released

** Affects: nvidia-graphics-drivers-545 (Ubuntu Noble)
     Importance: Undecided
         Status: Fix Released

** Affects: nvidia-graphics-drivers-550 (Ubuntu Noble)
     Importance: Undecided
         Status: Fix Released

** Affects: gtk4 (Ubuntu Oracular)
     Importance: Medium
     Assignee: Daniel van Vugt (vanvugt)
         Status: Won't Fix

** Affects: nvidia-graphics-drivers-470 (Ubuntu Oracular)
     Importance: High
     Assignee: Daniel van Vugt (vanvugt)
         Status: In Progress

** Affects: nvidia-graphics-drivers-535 (Ubuntu Oracular)
     Importance: Undecided
         Status: Fix Released

** Affects: nvidia-graphics-drivers-545 (Ubuntu Oracular)
     Importance: Undecided
         Status: Fix Released

** Affects: nvidia-graphics-drivers-550 (Ubuntu Oracular)
     Importance: Undecided
         Status: Fix Released


** Tags: amd64 apport-bug noble
-- 
GTK-ngl (new default backend) rendering issues with the nvidia 470 driver
https://bugs.launchpad.net/bugs/2061079
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list