545 driver: desktop framerate alternates between 120 and 60 FPS

When using driver 545.29.02 (and also the previous beta—I haven’t tested any others in the 545 series), my desktop framerate alternates between 120 and 60 FPS. Video here. This issue does not happen with the 525 or 535 drivers.

Here are the details of my configuration:

  • OS: KDE Neon 5.27 User Edition (Plasma Desktop 5.27.9, KDE Frameworks 5.111.0, Qt 5.15.11)
  • Linux Kernel: 6.2.0-1016-lowlatency (64-bit)
  • Display Server: X11
  • Motherboard: ASRock X58 Extreme3 (Intel X58 chipset)
  • CPU: Intel Core i7-990x Gulftown (3.46 GHz hexa-core, Socket 1366) @ 4.15 GHz
  • RAM: 24GB (6x G.Skill 4GB DDR3 PC3-10666 1333 MHz) @ 1430 MHz
  • Video: EVGA NVIDIA GeForce RTX 2080 SUPER w/ 8GB RAM
  • NVIDIA video driver: 525.125.06
  • Screen #1 (DP-0, screen 0, marked as primary):
    • Monitor: ASUS VG248QE 24" LCD Monitor
    • Resolution: 1920 x 1280 @ 120 Hz
  • Screen #2 (HDMI-0, screen 1):
    • Monitor: Dell P170Sb 17" LCD Monitor
    • Resolution: 1280 x 1024 @ 75 Hz

I tried a number of different NVIDIA and Kwin settings, and none eliminated the issue:

  • ForceCompositionPipeline on/off
  • Kwin V-Sync on/off (via export KWIN_X11_NO_SYNC_TO_VBLANK=1 in /etc/profile.d/kwin.sh)
  • NVIDIA OpenGL Sync to VBlank on/off (via nvidia-settings)
  • NVIDIA OpenGL Allow Flipping on/off (via nvidia-settings)
  • Secondary monitor on/off
  • modeset=1 parameter in grub kernel boot options
  • changing Kwin compositor latency settings (“prefer smoother animations” and “force smoothest animations” tested)

Things I didn’t try:

  • Wayland
  • Forcing Kwin triple buffering (via export KWIN_TRIPLE_BUFFER=1 in /etc/profile.d/kwin.sh)
  • Fullscreen gaming
1 Like

Thanks, now I can’t unsee it!

Fedora 38, RTX 2080, driver 545.23.06, kernel 6.5.9-cb1.0.fc38.x86_64,
KDE Plasma: 5.27.9, KDE Frameworks: 5.111.0, Qt: 5.15.11

nvidia-bug-report.log.gz (983.0 KB)

Yep seeing this as well with the 545 drivers. Did not occur on 535.

Info:
Operating System: Arch Linux
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.5.9-arch2-1 (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2
Product Name: X570 Taichi

I have exactly the same problem. I updated to 545 and everything is just sluggish and unusable. My monitor refresh rate is 75 and it drops to 38fps (~37.5). A rollback to 535 fixed this problem.

Operating System: Arch Linux
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: linux-cachyos-lto 6.6.0
Graphics Platform: X11
Processors: 4 × Intel i5-7400
Memory: 16GiB
Graphics Processor: NVIDIA GeForce GTX 1060

(I would upload a nvidia-bug-report but I can’t because it says “Sorry, an error has occurred.”)

I’m experiencing the same issue under both the 545 beta and the 545 stable drivers. The desktop runs at roughly 35fps with everything sluggish and essentially unusable.

OS: KDE Neon User Edition
KDE Plasma version: 5.27.9
KDE Frameworks version: 5.111.0
Qt version: 5.15.11
Kernel version: 6.2.0-36-generic (64 bit)
Graphics Platform: X11
Processors: 12 x Intel Core i7-8700k
Memory: 32GB
Graphics Processor: Nvidia GeForce RTX 2070 Super

Rolled back to the 535.129.03 drivers again and my desktop renders perfectly once more.

Experiencing the exact same thing since 545.29.02. Virtually anything that is displayed has this, not just moving windows, it’s also scrolling in a webpage, all desktop animations, gaming (only when kwin is not disabled).

This needs to be addressed ASAP, it’s a high priority bug because it affects everything.

  • OS: Arch Linux
  • KDE Plasma version: 5.27.9
  • KDE Frameworks version: 5.111.0
  • Qt version: 5.15.11
  • Kernel version: 6.5.9-arch2-1 (64-bit)
  • Graphics Platform: X11
  • Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
  • Memory: 16GB
  • Graphics Processor: Nvidia GeForce RTX 2060 Super
1 Like

Thanks for highlighting issue to us, I have filed a bug [4365907] internally for tracking purpose.
Shall ret to replicate issue on similar setup and will get back if required any additional information.

2 Likes

Looks like I do see similar behavior on below configuration setup -
HP OMEN by HP 25L Gaming Desktop GT15-0xxx + AMD Ryzen 7 5700G with Radeon Graphics + Ubuntu 22.04.1 LTS + kernel 5.19.0-46-generic + Driver 545.29.02 + NVIDIA GeForce RTX 3080 + Asustek Computer Inc VG279QM + Resolution 1920 x 1080 + Refresh rate 120 Hz

  1. With driver 535.43.11, I can see continuously fps value as 100 and it drops to level around 60 for only couple of seconds.
  2. With driver 545.29.02, I can see fps value as 60 most of the time, however after moving window manager, it reaches to level 100 but again come back to 60 after a while. It fluctuates between 60 and 100 for my setup.

Please let me know if it does qualify as repro so that we can debug this issue in a right direction.

I have the same problem, but alternates between 30 and 60 fps, sometimes even dropping to 26 fps.

NVIDIA Driver Version: 545.29.02

Operating System: Arch Linux
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.5.9-arch2-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4770 CPU @ 3.40GHz
Memory: 15,5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1660 Ti

This does indeed seem like a repro of what I reported.

I can reproduce this on 60hz monitor - for me fluctuations happen 30/60 fps
Can be mitigated via env variables:

KWIN_TRIPLE_BUFFER=0
KWIN_X11_NO_SYNC_TO_VBLANK=1
KWIN_X11_FORCE_SOFTWARE_VSYNC=1
KWIN_X11_REFRESH_RATE=60000

here 60000 is for 60hz, OP would need 120000 probably

1 Like

Happens as well on my system. KDE Plasma 5.27.9.

RTX 3060 ti user on a 60hz panel; it fluctuates between 60fps and 30-ish fps. Was not happening on 535.

Is this something that only affects KWin?

This works, but causes screen tearing. You can solve the screen tearing by removing the line KWIN_X11_NO_SYNC_TO_VBLANK=1, but it creates some output delay

I haven’t tested every scenario but disabling KWin fixed the issue for me. At least the most obvious things like slow desktop animations, lagging window dragging and stuff like that. So it appears to be linked to KWin in particular.

Bear in mind the issue also happens on a 60Hz monitor, not just displays with high refresh rates. Essentially, most of the time the desktop is rendered at ~35fps under KDE, with occasional spikes to ~60fps running the 545 drivers.

Rolling back to the 535 drivers completely eliminates the problem, with the desktop rendered at a steady 60fps.

I had the same isssue and had to roll back to 535

NVIDIA Driver Version: 545.29.02

Operating System: Arch Linux
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.6.1-zen1-1-zen
Graphics Platform: X11
Processors: AMD Ryzen 7 3800x
Memory: 32 GiB RAM
Graphics Processor: NVIDIA GeForce RTX 3070

  • OS: Arch Linux
  • KDE Plasma version: 5.27.9
  • KDE Frameworks version: 5.112.0
  • Qt version: 5.15.11
  • Kernel version: 6.6.1-arch1-1 (64-bit)
  • Graphics Platform: X11
  • Processors: 32 × AMD Ryzen Threadripper 2950X 16-Core Processor
  • Memory: 32GB
  • Graphics Processor: NVIDIA GeForce RTX 2080

Having the same issue. Had to roll back to 535 for now as it makes the system unusable.

I would like to note, this is not exclusive to Kwin/KDE. People have reported the same issue with Sway and some other compositors.

1 Like

Thanks for noting that this is not KWin/KDE exclusive. Can be important.

Can we expect a fix for this issue with the release of the 545.29.06 drivers?

1 Like

no improvement with 545.29.06 for me.
grafik