Lag in KDE with NVIDIA

Hi,

I just got a new RTX 3070 Ti (FE) for my PC. I booted it up, installed the proprietary driver, and it works great. The problem is that the Plasma desktop feels laggy and choppy for some reason.

It’s able to handle games perfectly fine, but it’s the desktop that’s choppy.

I saw a topic similar to this one, “Choppy Plasma with nvidia”
It seemed to be a misconfigured nvidia.conf, however the configured hardware is different from mine so I am unable to use the same configuration as the one suggested. The added “Module” section unfortunately did not help.

Here is my own nvidia.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 470.63.01

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
	Option "NoLogo" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

What exactly do we need to add to it to fix the choppy KDE issue?

Thanks

Hey,

Have a look here. Maybe it helps to do that, at least for a test.

So enabling TripleBuffer in nvidia.conf and kwin.sh, correct? I am running a single dedicated GPU, no iGPU enabled.

1 Like