From Fedora Project Wiki
Line 28: Line 28:


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

Revision as of 07:57, 18 September 2008

NVidia issues with KDE 4

Background

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

Issues

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 and latest NVidia drivers 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 http://labs.trolltech.com/blogs/2008/08/22/rant-desktop-effects-never-more/ 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 better to me.

How-to

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 "AllowSHMPixmaps" "0"             
Option "PixmapCacheSize" "1000000"

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).