Hi Daniel, I will follow your suggestion and try to find the time to create a new bug report for the additional issues that occured. That said, since the drive on this machine suffered from what I wrote above, I decided to quickly format and perform the steps that you suggested on a fresh Ubuntu 23.04 install. First of all, I am happy to report that checking the checkbox for "additional drivers" (proprietary gpu and wifi drivers) during the installation of 23.04 did in fact successfully and flawlessly install the proprietary Nvidia drivers this time around - namely the Nvidia driver 535 that killed my 22.04 installation. This was not the case the first two times that I installed 23.04, so it seems that we have already made some progress in this regard.
That said, back to the initial issue: MUTTER_DEBUG_TRIPLE_BUFFERING=always MUTTER_DEBUG_TRIPLE_BUFFERING=never CLUTTER_PAINT=disable-dynamic-max-render-time I tried all of these under 23.04 separately per reboot, sadly no change. 23.04 still shows signs of sluggish or low fps when resizing windows and also when opening the overview with a few programs open (Firefox, Software Center, text editor etc). Sometimes the overview is buttery smooth, but at some point it drops in performance and loses a few fps, just like mentioned in my initial post. For example, opening the overview while writing this text I can clearly see an fps-drop, but after repeating the process two or three times it becomes buttery smooth all of a sudden. The only thing that makes everything super fast all the time is when disabling vsync in nvidia-settings -> opengl. Doing this results in buttery smooth 60+ fps animations all the time - and no lag when resizing windows either. I attached the xrandrv.txt that you requested further below. Please note: I will be formatting this Nvidia powered machine tonight in order to install another distro onto it, so I won't be able to further test these things on this particular machine. That said, I want to reiterate that I will still continue to use Ubuntu on many of my other computers that are equipped with AMD and Intel gpu hardware. Your triple buffering vsync patches work beautifully on Amd and even on super low- end Intel igpu hardware. I love Ubuntu, and I highly appreciate your personal efforts for everything related to triple buffering / vsync and more, which is why I am going to be donating a couple of bucks to you guys this weekend in order to contribute my fair share since troubleshooting these Nvidia specific issues is too time consuming for me right now. Thanks Dan, appreciate all the help! -- 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 : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

