PS: Before I forget, I also tested something else, see attached
screenshot. Going into nvidia-settings and manually setting the
PowerMizer mode to "prefer maximum performance" makes all animations,
the overview and everything related to it super smooth fps-wise. You can
make this permanent by adding these changes to the startup applications
/ commands so that it sticks upon reboot. I opened the overview 30 times
in a row right now, not a single fps-drop. However, this does not fix
the low fps-rate and sluggish behaviour when trying to resize individual
windows (files). The latter only gets a performance boost when turning
off vsync in nvidia-settings. The downside to this is of course the
higher power consumption, but it does indicate that the lag might be
connected to the lower power modes. Iirc sluggish 3d animations on the
desktop with Nvidia was also an issue all the way back on Ubuntu during
the good old Compiz days, and I remember fixing it by adjusting the
PowerMizer mode to prefer a higher performance mode.

** Attachment added: "Bildschirmfoto vom 2023-07-26 17-12-03.png"
   
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2023776/+attachment/5688578/+files/Bildschirmfoto%20vom%202023-07-26%2017-12-03.png

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

Title:
  Ubuntu 23.04 + Gnome + Nvidia 525 + Vsync = low fps in Xorg sessions

Status in mutter package in Ubuntu:
  Incomplete

Bug description:
  Currently using Nvidia driver 525, which is the "tested" and
  recommended driver according to Ubuntu's additional driver tool (as of
  this writing).

  - manually resizing "files" windows = low fps and a little bit of
  pixelation

  - moving windows around = drop in fps every now and then

  - opening the Gnome overview = sometimes buttery smooth 60fps but
  sometimes stuttery low fps that takes time to "catch up" to smoothness
  again

  - resizing Chromium or Firefox window = low fps, glitchy window
  behaviour etc.

  How to fix it? Well, this is what I found works thus far:

  - disable both "vsync" and "allow flipping" in Nvidia-settings

  - now everything is buttery smooth again; all animations, apps, games
  and more

  - doing this will introduce lots of tearing on the Gnome desktop and
  applications though

  - then force full composition pipeline to get rid of the tearing by
  adding this start-up line to Ubuntu's start-up applications: nvidia-
  settings --assign CurrentMetaMode="nvidia-auto-select +0+0
  {ForceFullCompositionPipeline=On}"

  - Use Wayland alternatively: Wayland doesn't have any of these issues
  at all, it's a buttery smooth fully vsynced experience ootb, but a
  bunch of new problems arise instead: Can't set global hotkeys for
  recording in OBS, OBS recording performance is pretty bad, Gnome
  folder windows start flickering somestimes, Gnome windows glitch out
  when trying to resize them manually, Steam flickering sometimes,
  browsers such as Firefox and Chromium have to be set to Wayland mode
  in order to solve stuttering video playback issues, Nvidia-settings is
  missing a bunch of settings and features when compared to X11... and
  more

  Hard- and Software:

  - Ubuntu 23.04
  - Nvidia driver version 525 (tested) from Ubuntu's additional drivers tool
  - Core i7 7700
  - 32 GB DDR4 RAM
  - Lenovo Nvidia RTX A2000 workstation GPU
  - TWO fullHD monitors connected via display port

  ProblemType: Bug
  DistroRelease: Ubuntu 23.04
  Package: gnome-shell 44.1-0ubuntu1
  ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
  Uname: Linux 6.2.0-20-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Jun 14 14:58:08 2023
  DisplayManager: gdm3
  InstallationDate: Installed on 2023-05-20 (24 days ago)
  InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
  ProcEnviron:
   LANG=de_DE.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  RelatedPackageVersions: mutter-common 44.1-0ubuntu1
  SourcePackage: gnome-shell
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2023776/+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