From Fedora Project Wiki

NVidia issues with KDE 4


There are some performance issues of NVidia proprietary driver and KWin with effects enabled.


KWin uses too much CPU

KWin uses too much CPU with NVidia proprietary drivers (about 75%) which is quite non-sense for window manager. Seems to be fixed in KDE 4.1.1 (maybe already in 4.1?) and latest NVidia drivers (kmod-nvidia-173.14.12-3) from Livna. Now the consumption of KWin is somewhere around 4%. If it's not better then try:

QT_NO_GLIB=1 kwin --replace

See for more information.

Overall KDE performance is bad

This issue causes that you can see strange artefacts when opening, resizing windows and overall performance of graphics operations is bad. See the solution in how to section to "solve" this issue. Seems to behave a little better to me.

But I have to test it, another artefacts appeared with these settings...


Tweak NVidia settings. These settings are not preserved after logout!

nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1

Edit your xorg.conf and add these options:

    Option         "RenderAccel" "true"
    Option         "UseEvents" "false"
    Option         "TripleBuffer" "1"
    Option         "DamageEvents" "1"
    Option         "BackingStore" "1"
    Option         "PixmapCacheSize" "70000"
    Option         "OnDemandVBlankInterrupts" "true"

Some options may lead to random X server crashes and to some rendering issues! Try BackingStore/DamageEvents set to 0.

KWIN_NVIDIA_HACK is enabled by default in KDE 4.0.3.
QT_NO_GLIB seems to be not useful in KDE 4.1?(4.1.1).