@agoins:
disable_vrr_memclk_switch=1
Untested thus far. I will do it this weekend and report back asap.
Q: How are you connecting displays (I used mini-DP → DP converter).
A: Same here! I have three displays connected to my computer right now.
- Samsung → miniDP to miniDP cable → miniDP to hdmi adapter
- Dell → miniDP to hdmi cable
- ThinkCenter Lenovo → miniDP to DP cable
Q: Display model along with resolution and refresh rate.
A:
- See attached screenshots for model number
- All displays at 60hz
- Samsung: 4k resolution
- Dell: 1080p resolution
- Thinkcenter Lenovo: 1080p resolution
- Using X11
- 200% scaling activated because otherwise everything looks too small on my 4k Samsung
Q: Could you also run WebGL Aquarium to confirm if it shows 20-30 fps in repro state.
A: Yes, see attached screenshot. Aquarium runs at buttery smooth 60fps. The problem is not the graphics performance of apps, games or anything like that. The fps issues are only when I’m on my Gnome Desktop and when I trigger its animations (for example, Gnome overview). In other words: Cold boot, press “window key” on the keyboard, watch the Gnome overview animation, see how fps-rate is stuttery and at around what feels like 20-30fps at first. Opening and closing the Gnome overview / activities several times makes it smooth again for a while, but it then becomes stuttery if you leave it idle for a few seconds. Opening up nvidia-settings app a single time makes everything buttery smooth again and it remains this way until reboot.
Q: Do you observe lag after each cold boot, or it happens randomly.
A: It happens nearly every time after a fresh reboot / cold boot. Sometimes it runs just fine, but only after I made a script for Powermizer to prefer max performance. Even so, I still have to open nvidia-settings app at least once for the desktop to become buttery smooth again most of the time.
Q: Repro video for our reference if possible.
A: I would love to do this, but is there any app or way to display the framerate on the Gnome Desktop? KDE has a built-in feature that is able to display the fps-rate of the desktop directly in the upper left or right corner of the display, but I don’t know of any similar feature for Gnome. I believe that will help showcase what I’m saying, because then you will see how the fps-rate is around 30 before starting nvidia-settings once. After starting nvidia-settings once, the fps-rate usually goes up to 60 and all Gnome animations and the overview are super fluid again (powermizer set to prefer maximum performance).
Low fps-rate on Gnome DE:
→ Reddit - Dive into anything
→ Reddit - Dive into anything
This is why Ubuntu introduced its triple buffering vsync patches which were created by Daniel Van Vugt: Why Ubuntu 22.04 is so fast (and how to make it faster) - Desktop - Ubuntu Community Hub
Ubuntu’s patches work like a charm for AMD and Intel systems, and also for my other PC with the Nvidia T600, because it makes the entire Gnome desktop buttery smooth at 60fps like on a high-end MacOS system. Strangely enough though, this doesn’t have the same effect on my A2000 rig. OpenSUSE Leap 15.5 does not ship with these patches enabled by default and is lacking in this regard. I did try Ubuntu 23.04 on this machine some time ago though, and the Gnome desktop was still misbehaving like on Opensuse with my A2000. This is the reason I wanted to know if the openGL triple buffering option for Xorg has any effect on modern systems, see here: Option “TripleBuffer” “true” still supported on Nvidia driver 535?
Will try the kernel module setting as advised and report back later this week. Let me know if you need anything else, or if you know how I can display my fps-rate on the Gnome desktop for a quick video on this issue. Ty!
screenshots4nvidia, sturmlocke, a2000 vsync issue, bug-report analysis, v1.zip (7.4 MB)