User:Lemma/KDE4-NVIDIA: Difference between revisions

From KDE TechBase
No edit summary
Line 9: Line 9:
Lately I've been reading up on a [http://www.nvnews.net/vbulletin/showthread.php?t=115916 thread on the NVIDIA forums]. I found out that performance can be increased dramatically by doing the following:
Lately I've been reading up on a [http://www.nvnews.net/vbulletin/showthread.php?t=115916 thread on the NVIDIA forums]. I found out that performance can be increased dramatically by doing the following:


* Install the latest NVIDIA beta driver (currently 177.13)
* Install the latest NVIDIA graphics driver (173.14.09 works fine for me)
* Make sure you the NVIDIA kernel module gets loaded by either rebooting or <i>rmmod/modprobe</i> (Of course you'll also have to restart xorg)
* Make sure you the NVIDIA kernel module gets loaded by either rebooting or <i>rmmod/modprobe</i> (Of course you'll also have to restart xorg)
* Set the following options: <pre>$ nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1</pre>
* Set the following options: <pre>$ nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1</pre>
Line 43: Line 43:
! Card
! Card
! Kernel
! Kernel
! Version
! I.P.P.
! I.P.P.
! G.C.
! G.C.
Line 50: Line 51:
| 8600 GTS
| 8600 GTS
| 2.6.25
| 2.6.25
| 177.13 (beta)
| 2
| 1
| huge
|-
| [[User:Lemma|Lemma]]
| 8600 GTS
| 2.6.25
| 173.14.09 (stable)
| 2
| 2
| 1
| 1

Revision as of 13:34, 13 July 2008

Warning
I do not suggest running BETA quality software (especially drivers) on any system. This page merely describes what I did to my system and how it worked out - don't expect the same and don't blame me if your system crashes.


The problem

KDE4's performance on newer NVIDIA cards of the 8xxx and 9xxx series is currently pretty choppy. For as long as I've been trying running KDE4 I had to fight an unresponsive plasma and some windows that just wouldn't resize with more than 0.5 fps.

The remedy

Lately I've been reading up on a thread on the NVIDIA forums. I found out that performance can be increased dramatically by doing the following:

  • Install the latest NVIDIA graphics driver (173.14.09 works fine for me)
  • Make sure you the NVIDIA kernel module gets loaded by either rebooting or rmmod/modprobe (Of course you'll also have to restart xorg)
  • Set the following options:
    $ nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1

If you're lucky your KDE4 will be snappier than ever. If you're unlucky and it stays the same or gets even worse, try experimenting with the value of InitialPixmapPlacement, setting it to 1 or 3.

Apart from that I had to play around with the Advanced Effects settings as kwin's performance seemed to have dropped.

Making it permanent

Driver options set using the nvidia-settings tool reset back to default as soon as your xserver exits. To make it permanent you can add the options to the Device section of your xorg.conf:

...

Section "Device"
    ...
    Option  "InitialPixmapPlacement"    "2"
    Option  "GlyphCache"                "1"
    ...
EndSection "Device"

...

Experiences

Here I'd like to collect some information about the circumstances this setup will work better in. Please post your experiences to the table below:

Name Card Kernel Version I.P.P. G.C. Improvement
Lemma 8600 GTS 2.6.25 177.13 (beta) 2 1 huge
Lemma 8600 GTS 2.6.25 173.14.09 (stable) 2 1 huge


  • I.P.P. = InitialPixmapPlacement
  • G.C. = GlyphCache

Troubleshooting

I haven't done a lot of testing using this setup, so in case you encounter any unwanted effects (on 3D applications or other 2D applications), please put them below.


Warning
I do not suggest running BETA quality software (especially drivers) on any system. This page merely describes what I did to my system and how it worked out - don't expect the same and don't blame me if your system crashes.