Using kernel 6.11 I consistently get results like these from
glmark2-wayland:

  nouveau...: ~1000 FPS
  nvidia-550: ~8000 FPS
  nvidia-560: ~2000-4000 FPS

but I can solve most of it with env __NV_DISABLE_EXPLICIT_SYNC=1
glmark2-wayland:

  nvidia-560: ~7000 FPS

Though applying the same variable system-wide didn't fix desktop
stutter. So that's a separate bug. Real time profile results suggest my
desktop stutter is gnome-shell spending most (60%) of its time inside
lock_front_buffer (also mentioned in
https://gitlab.gnome.org/GNOME/mutter/-/issues/3461).

TL;DR - I think there are two or three bugs here:

1. nvidia-560 is much slower than nvidia-550 in glmark2-wayland unless
you set __NV_DISABLE_EXPLICIT_SYNC=1

2. nvidia-560 spends way too much of gnome-shell's real time (60%)
inside gbm_surface_lock_front_buffer (called by lock_front_buffer).

3. nvidia-535 erratic results with different kernels (comment #9). Let's
ignore that for now.

** Bug watch added: gitlab.gnome.org/GNOME/mutter/-/issues #3461
   https://gitlab.gnome.org/GNOME/mutter/-/issues/3461

** Changed in: mutter (Ubuntu)
       Status: New => In Progress

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

Title:
  [regression] Poor performance in Nvidia-560 Wayland sessions

Status in linux package in Ubuntu:
  New
Status in mutter package in Ubuntu:
  In Progress
Status in nvidia-graphics-drivers-535 package in Ubuntu:
  New
Status in nvidia-graphics-drivers-560 package in Ubuntu:
  New

Bug description:
  I've just tried the Nvidia-560 driver for the first time and am seeing
  very poor performance in Wayland sessions. Just tapping the Super key
  I can see animations stuttering.

  In 'NVIDIA Settings' it looks like the reason might be a lack of power
  profiles ("Performance Levels"). Those are only reported correctly if
  I log into Xorg. And indeed performance in Xorg sessions is much
  higher, more like what I would expect.

  P.S. Performance on this machine is much worse in upstream GNOME
  without triple buffering. So triple buffering is doing its job.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.10
  Package: nvidia-driver-560 560.35.03-0ubuntu3
  ProcVersionSignature: Ubuntu 6.11.0-7.7-generic 6.11.0-rc7
  Uname: Linux 6.11.0-7-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.30.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  Date: Thu Sep 19 14:13:32 2024
  InstallationDate: Installed on 2024-06-12 (99 days ago)
  InstallationMedia: Ubuntu 24.10 "Oracular Oriole" - Daily amd64 (20240528)
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: nvidia-graphics-drivers-560
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2081140/+subscriptions


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

Reply via email to