This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kubuntu 11.04, Xorg high CPU usage

Tags: None
(comma "," separated)
windfinder
Registered Member
Posts
6
Karma
0
OS

Kubuntu 11.04, Xorg high CPU usage

Sun May 01, 2011 3:20 pm
Xorg 1.10.1 consumes a lot of CPU (up to 100% CPU when switching between windows, starting and closing applications). I have got a Lenovo Thinkpad T61 with Kubuntu 11.04 64bit, NVIDIA Quadro NVS140M and the NVIDIA driver 270.41.06. I have had the same problem with Kubuntu 10.10 and NVIDIA driver 260.19.06). Any ideas how to fix this?

Thanks
Oliver
User avatar
google01103
Manager
Posts
6668
Karma
25
does turning off the blur effect help?

I assume when desktop effects are disabled the problem does not happen?

if you create a new user and login as that user does this happen?


OpenSuse Leap 42.1 x64, Plasma 5.x

windfinder
Registered Member
Posts
6
Karma
0
OS
Hello,
desktop effects are turned off completely. If they were turned on things would be even worse.

Regards,
Oliver
User avatar
google01103
Manager
Posts
6668
Karma
25
User avatar
google01103
Manager
Posts
6668
Karma
25
other things to try:

1) compile Nvidia drivers from source https://help.ubuntu.com/community/NvidiaManual
2) try Nouveau driver instead
3) make sure you're using Nvidia driver that matches your kernel (would think this was automatice but .........)
4) try older versions of the Nvidia driver if available in repo (especially 169.x series)


OpenSuse Leap 42.1 x64, Plasma 5.x

abadam5167
Registered Member
Posts
1
Karma
0
The following solved the problem for me:
I am using an Nvidia card and I used the nvidia-settings to save the xorg.conf. I had to add the following lines for it use the hardware rending in a more efficient manner.

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
tnt533
Registered Member
Posts
4
Karma
0
OS
I can confirm that this works perfectly. I'm running Linux Mint 10 KDE on a 2.8 ghz dual core with the 260.x nVidia driver with an 8800 GTX.

With nothing extra running after boot and not actively using the system I was getting an average of 45% cpu usage. Not just one core but both. I added the below section, restarted X and the problem was solved.
Thanks meng!

abadam5167 wrote:The following solved the problem for me:
I am using an Nvidia card and I used the nvidia-settings to save the xorg.conf. I had to add the following lines for it use the hardware rending in a more efficient manner.

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection
dolo724
Registered Member
Posts
1
Karma
0
abadam5167 wrote:The following solved the problem for me:
I am using an Nvidia card and I used the nvidia-settings to save the xorg.conf. I had to add the following lines for it use the hardware rending in a more efficient manner.

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection


Couple of things:
1. your fix worked, thank you very much!
2. it's a bug noted here:
https://bugs.launchpad.net/ubuntu/+sour ... bug/737454
and here
http://ubuntuforums.org/showthread.php?t=1744316

btw, I'm not using KDE, but Gnome, so it ain't your fault.
hope_1
Registered Member
Posts
3
Karma
0
OS
Finally I've figure out how to get high performance in KDE on T61. First of all you have to TURN OFF Security Memory option in BIOS and that's all !!!!!!!!!!!! :) Install Kubuntu 11.10, open konsole, type : "apt-get install nvidia-current". If you got problem with DPI after this : add to you xorg.conf in Device section :

Option "UseEdidDpi" "False"
Option "DPI" "96 x 96"
LPCs
Registered Member
Posts
1
Karma
0
Reinstalling graphics (via Jockey), or upgrading to higher version helped me.
(I have some quite often updated PPA repositories for my NVIDIA graphics.)

Adding:

export QT_GRAPHICSSYSTEM="raster";

to my ".profile" file has also speeded things up.

LPCs.
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Notice that in recent versions of the KDE Workspaces you can select the graphics system to use for KWin directly from System Settings.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]