KDE6 X11 Stuttery, Choppy Effects on Nvidia

I’m using a Nvidia GTX 970 (proprietary drivers) and when using X11 the Effects when Minimzing or Maximizing Windows (for example Firefox) are pretty choppy and stuttery. It doesn’t seem to be the case when using Wayland though that comes with a ton of different issues like games that don’t work at all so i’m pretty much stuck with X11. I tried several “fixes” i found online (like disabling Open GL flipping) but really nothing seems to make much of a difference. The Nouveau driver doesn’t seem to suffer from the same issue but again… it’s not a good solution for games. I’d appreciate any help on this.

This doesn’t really address how to improve things with KDE6, but for the best experience with X11 gaming, I log out of KDE and login to a minimalist openbox session (I using an Nvidia 1650 Super and Nvidia’s official driver). I’m using OpenSUSE tumbleweed which supports having multiple desktops installed at the same time.

I just remembered: on X11 KDE I used to disable compositing. There used to be a dbus method to suspend and resume compositing.

There now appears to Settings->Display & Monitor->Compositor. If I disable Enable on startup and re-login that certainly turns it off.

On the same settings page there is also Allow applications to block compositing. Have you tried that? On the target app window title bar More Actions->Configure Special Application Settings->Add Property and search for compositor.

yup sadly i already tried that already. Didn’t have any effect. Only thing that at least got rid of the skipping mouse animation is disabling Open GL flipping. But that is it. I yesterday tried Cinnamon… there everything is smooth but i just don’t like that DE at all so that isn’t much of an option for me. Really bummer. I might try xfce… At least i know that it must somewhat be related to the driver… Maybe NV (lol) will fix it at some point.

I am having very similar issues on X11 that disappear on Wayland.

  • Moving Firefox windows around is very slow and laggy
  • the ‘load window’ icon (the little bouncing thing) when launching new apps is also very choppy
  • Desktop effects like ‘Lamp’ for minimizing and maximizing windows is very slow. Third party Desktop effects like those from ‘burn my windows’ suffer from the same issues
  • All around a lot of system animations are much slower and choppier on X11 than they are on Wayland

GPU: NVIDIA GeForce GTX 1080
GPU Driver: nvidia 550.78-2 (proprietary)
CPU: 12th Gen Intel i7-12700K (20) @ 4.900GHz
OS: Arch Linux x86_64
Kernel: 6.8.9-arch1-2
Resolution (two monitor setup [Display port and HDMI]): 1920x1080, 1920x1080
DE: Plasma 6.0.4
DE: Plasma 6.0.4

I also noticed stuttering when i switch desktop as well as when i minimize/maximize windows when the panels are floating.

When they do not float, that seems way better, no more choppy effect when i switch desktop, nor with FF.

image

I’ve a gtx 10xx… no similar issues.

Have you tried enabling the Composition Pipeline in Nvidia settings?
Go to Nvidia X Server Settings → X Server Display Configuration → Advanced… → Force Full Composition Pipeline

Yep, unfortunately floating panels and adaptive opacity are known to produce this issue due to bugs in the NVIDIA driver. We’re working on something for Plasma 6.1 to warn you about this and not use those settings.