Hello Daniel,

thanks for taking a look! Not sure if I am going to be able to test this
after all. I just ran Ubuntu 23.04 updates like I always do, and noticed
that 23.04 now has access to Nvidia driver 530, so I ran Ubuntu updates,
which unfortunately nuked my Ubuntu install.

This is what happened:

- I ran the preinstalled Ubuntu 23.04 update tool
- Ubuntu mentioned a bunch of Nvidia packages that needed to be updated and a 
bunch of Linux headers to be removed
- I let Ubuntu do its thing and update the system
- After a reboot I had nvidia-settings installed, but it was missing everything 
feature-wise and was pretty much blank, no hardware acceleration
- So I ran Ubuntu updates again and this time it had a bunch of old Nvidia 525 
files and Linux headers to remove
- I proceeded and rebooted
- Nvidia-settings is still blank, no 3d acceleration whatsoever
- So I opened the driver utility tool and switched from Nvidia 525 to the Xorg 
Nouveau driver and rebooted
- Now Ubuntu won't boot and shows a blinking cursor on the top left corner, 
which freezes after a while
- So after a hard reset of the pc, I pressed and held "shift" upon boot
- I added "nomodeset" to the kernel boot options (btw, Ubuntu is now using a 
"low latency kernel" by default for some reason)
- Which allowed me to boot into Ubuntu
- Now I switched over to the new Nvidia 530 driver and rebooted
- Still a blank Nvidia-settings app and still no hardware acceleration
- Tried reinstalled the Nvidia driver again, to no avail

After some digging around I found:

- https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-
drivers-530/+bug/2023946

- https://forums.developer.nvidia.com/t/530-doesnt-work-on-
ubuntu-23-04/256721/3

- https://bugs.launchpad.net/ubuntu/+bug/2015775

Since this is a stable production system, I am considering downgrading
back to the 22.04 LTS at this point.

-- 
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