Languages: عربي | Asturianu | Català | Česky | Kaszëbsczi | Dansk | Deutsch | English | Esperanto | Español | Eesti | فارسی | Suomi | Français | Galego | Italiano | 日本語 | 한국어 | Norwegian | Polski | Português Brasileiro | Română | Русский | Svenska | Slovenčina | Slovenščina | српски | Türkçe | Tiếng Việt | Українська | 简体中文 | 繁體中文
Warning |
---|
Перед тим як зробити будь-які зміни в Вашій системі, будь ласа перечитайте уважно і спробуйте зрозуміти, що Ви робите. Якщо Ви змінюєте будь-які файли у Вашій системі, збережіть копії немодифікованих версій цих файлів і впевніться, що зможете повернути старі версії в разі якщо Ваш Xserver не зможе стартувати. |
Warning |
---|
Деякі зміни відображені нижче є такими, що призведуть до підвищення температури GPU вашої відеокарти. У будь-якому випадку, наглядайте за вашою відеокартою щоб вберегтися від моменту, коли вона стане занадто гарячою! |
Several popular graphics cards out there - especiall NVIDIA ones - exhibit performance problems with KDE4. These performance hits mostly concern Plasma - the KDE4 desktop - and KWin - the KDE window-manager. Generally speaking this isn't due to KDE4 being unoptimized but a problem with the cards' graphics drivers. This page encompasses certain problems that might arise and how to get rid of them.
For both of the big graphics chip manufacturers there's 2 seperate graphics drivers each:
It's usually advisable to stay up-to-date as improvements are being made in the drivers. Thus a first step in improving your KDE4 experience should be checking your current driver and updating if it's outdated. Please refer to your distribution's documentation on how to do that.
While it might further increase performance, I do NOT recommend installing beta quality drivers because your system's stability will most likely suffer.
Attributes set using the nvidia-settings utility aren't permanently saved. Thus you have to set them every time you restart your Xserver. This can be done conveniently by adding the lines to set the features to your ~/.xinitrc.
KDE4's systemsettings allows you to tweak some kwin settings as well. You can find the settings in Desktop -> Desktop Effects -> Advanced Options. Depending on your card either OpenGL or XRender might work better. For OpenGL changing the OpenGL mode might change performance as well. Please bear in mind that changing some of the tweaks mentioned below might force you to change your settings.
Example:
(note from a user)* Not selecting "Use Vsync" helped a lot in a gforce 6800
If for some reason your Xserver hangs after hitting the Apply button on the dialog and your settings get reverted because you can't confirm your changes in time, try again. Usually it will be faster on one of the subsequent tries. If it doesn't you can still change your settings in ~/.kde4/share/config/kwinrc.
This section summarizes several symptoms you might encounter and tries to explain possible causes.
$ XLIB_SKIP_ARGB_VISUALS=1 konsoleon the command-line and try to resize the new konsole window (setting the environment variable XLIB_SKIP_ARGB_VISUALS turns off ARGB visuals). If it resizes without problems, then this is certainly one of the problems you're facing.
Note: I have found that this fixes Dolphin's preview delay too for me. Please confirm. --dpalacio 17:33, 27 July 2008 (CEST)
Section "Device" ... Option "BackingStore" "true" ... EndSection "Device"This works for some (eg. konsole) but unfortunately not all windows.
$ nvidia-settings -a InitialPixmapPlacement=2This works for some (but unfortunately not all) NVIDIA cards.
TODO
$ nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1This works for some (but unfortunately not all) NVIDIA cards. Some cards reportedly work better using InitialPixmapPlacement=1 (or maybe even 3)
TODO
The Open Source radeon driver uses the older XAA hardware acceleration method. To work around this issue, you have to change the 2D acceleration method from XAA (X Acceleration Architecture) to the newer EXA. As this involves editing your xorg.conf file, bear in mind that such a modification may damage your system. Do it at your own risk.
To make the switch, edit your xorg.conf file (make a backup just in case) and locate the Device section for your graphics card. Add the line
Option "AccelMethod" "EXA"
before the "EndSection" line. If there is already a line with AccelMethod, change it from XAA to EXA. Save the file and restart the X server. Notice that EXA is still marked as unstable, and that some other applications such as some KDE3 programs may render incorrectly.
[1] -- Thread about graphics issues on the NVIDIA forums.