The proposed workaround works for me for the 470 using gt710 card, but I
feel that it slows the windows rendering while moving them (like a slow
FPS).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk4 in Ubuntu.
https://bugs.launchpad.net/bugs/2061079

Title:
  GTK-ngl (new default backend) rendering issues with the nvidia 470
  driver

Status in GTK+:
  New
Status in gtk4 package in Ubuntu:
  Triaged
Status in nvidia-graphics-drivers-470 package in Ubuntu:
  In Progress
Status in nvidia-graphics-drivers-535 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-545 package in Ubuntu:
  Fix Released
Status in nvidia-graphics-drivers-550 package in Ubuntu:
  Fix Released

Bug description:
  [ 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 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/2061079/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to