This forum has been archived. All content is frozen. Please use KDE Discuss instead.
The Discussions and Opinions forum is a place for open discussion regarding everything related to KDE, within the boundaries of KDE Code of Conduct. If you have a question or need a solution for a KDE problem, please post in the apppropriate forum instead.

High CPU usage Xorg daemon

Tags: None
(comma "," separated)
nima0102
Registered Member
Posts
3
Karma
0
OS

High CPU usage Xorg daemon

Thu Sep 23, 2010 8:42 am
Hi
I have installed kde 4:4.3.4 on debian squeeze.sometimes cpu usage of Xorg daemon is 80% or higher!and all GUI application will be very slow.
I do not know about this problem and I could not find anything special on Xorg.log.
Xorg version:

xserver-xorg 1:7.5+5
xserver-xorg-core 2:1.7.5-1

Thanks for any help or guidance
pinotree
KDE Developer
Posts
222
Karma
7
OS

Re: High CPU usage Xorg daemon

Thu Sep 23, 2010 1:25 pm
nima0102 wrote:I have installed kde 4:4.3.4 on debian squeeze.
[...]
Xorg version:

xserver-xorg 1:7.5+5
xserver-xorg-core 2:1.7.5-1

Your Squeeze system is a bit outdated, given currently it has
- KDE 4.4.5
- xserver-xorg 1:7.5+7
- xserver-xorg-core 2:1.7.7-6
and most probably also updated versions of your graphics driver.

Suggestion is to really update your squeeze installation, first of all.


Pino Toscano
Prozzaks
Registered Member
Posts
2
Karma
0
OS

Re: High CPU usage Xorg daemon

Tue Oct 19, 2010 9:38 pm
Hello,

I'm having the same problem on two different Linux systems. My personal laptop is configured as follows :

- Archlinux
- Linux 2.6.31.13 x86_64
- KDE 4.5.2
- Xorg 1.9.0
- NVIDIA Drivers 160.19.12
- 3 GB RAM
- Intel Core 2 Duo T6600 2.2Ghz
- NVIDIA 9400M G
- 1 external Dell 1905FP 1280x1024 Display

At work, my machine is a Dell 6400 configured as follows :

- Kubuntu 10.04
- Linux 2.6.32-24
- KDE 4.4.2
- Xorg 1.7.6
- NVIDIA Drivers 195.36.24
- 4 GB RAM
- Intel Core 2 Duo P8700 2.53Ghz
- NVIDIA Quadro NVS 160M
- 2 Dell 2405WFP 1920x1600 Displays

Compositing is disabled on both systems. On my personal laptop it's disabled both in KDE and in the Xorg configuration file since otherwise it causes video tearing when playing HD videos with VDPAU. On my work machine, it's only disabled at the KDE level.

The symptoms I have experienced are that after a while the Xorg process starts takings more and more CPU resources and all the X applications start to get less responsive until it feels like running X remotely through a slow network connection. For example, scrolling a list of files in Dolphin with previews disabled in detailed view mode, will refresh only after seconds. I have noticed that the issue is more severe with KDE applications than with other applications such as Open Office or Firefox. Terminating the KDE session and re-logging will get rid of the symptoms.


The issue occurs randomly and only on my personal laptop have I found a fairly reproducible of triggering the problem. On my personal laptop, if I use digikam to edit picture after about 20 to 30 aspect ratio crops and colour balances, Xorg will exhibit the behaviour described above. On my work machine, I have yet to find a reproducible sequence that will cause the symptoms.

Searching on Google hasn't provided me with much. I tried disabling the PowerDevil Daemon on my work machine as was suggested in another forum and it didn't change anything. On my personal machine, I added UseEvents in my Xorg configuration file to no avail.

One of my coworker, using the same software setup, also reported the same issue. His workstation was equipped with an ATI Card and Tech Support tried replacing the card with an NVIDIA one. It did not solve the problem. This hits that the problem is not related to the video hardware.

I don't know where to look next to try to solve this issue. It's extremely annoying. Any help, pointers, suggestions are very welcome!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: High CPU usage Xorg daemon

Wed Oct 20, 2010 2:59 am
If you disable Desktop Effects ( Alt + Shift + F12 ) does the responsiveness change?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Prozzaks
Registered Member
Posts
2
Karma
0
OS

Re: High CPU usage Xorg daemon

Wed Oct 20, 2010 6:44 pm
Prozzaks wrote:Compositing is disabled on both systems.


This means that desktop effects are disabled. Without compositing, KDE won't let you enable desktop effects. I should rather say : Compositing is required for desktop effects.

Personally, I fail to see the benefits of desktop effects and anything that take longer to get things done or has some kind of animation gets on my nerves. ;)
smookie
Registered Member
Posts
2
Karma
0

Re: High CPU usage Xorg daemon

Wed Jan 12, 2011 6:13 pm
I have the same problem and found nothing on the net.

I disabled All desktop effects.
I mainly use chrome browser

KDE 4.5.3
X.Org version: 1.7.6

I use virtual box too
Version 3.2.10 r66523

THank you!
ic434
Registered Member
Posts
1
Karma
0

Re: High CPU usage Xorg daemon

Tue Feb 22, 2011 6:05 am
I have had a similar issue running Ubuntu 10.10 on nvidia.

It seems that toggling desktop effects (Alt+Shift+F12) fixes the xorg problem for a while. The cpu usage slowly increases until I repeat the process.

Why is xorg showing the cpu usage and not kwin?
megamasha
Registered Member
Posts
2
Karma
0
OS

Re: High CPU usage Xorg daemon

Sun Jun 26, 2011 3:03 am
I have the same problem, Kubuntu 11.04 mostly untweaked.

*bump*
dth2290
Registered Member
Posts
2
Karma
0

Re: High CPU usage Xorg daemon

Wed Jun 29, 2011 5:32 pm
I'm having a similar problem.
Has anyone had any other success with disabling Desktop effects?
It seems it only help slightly, and temporarily.
omnomnom
Registered Member
Posts
1
Karma
0
OS

Re: High CPU usage Xorg daemon

Sat Jul 09, 2011 11:36 am
Try adding
Option "UseEvents" "On"

to "Device" Section in your /etc/X11/xorg.conf and restart computer/x11.

It should look like that:
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9600M GT"
Option "UseEvents" "On"
EndSection
Utgart
Registered Member
Posts
1
Karma
0

Re: High CPU usage Xorg daemon

Wed Aug 24, 2011 9:00 am
I have the same problem with ATI. Does anyone know a solution?
0x007
Registered Member
Posts
1
Karma
0
OS

Re: High CPU usage Xorg daemon

Wed Sep 14, 2011 12:09 am
Hi
i have the same problem with xorg as above on KDE 4.6 and KDE 4.7 in Ubuntu 11.04.
i have System Monitor and Calendar widgets running on my desktop. When i removed them from desktop the problem solved. No more periodical high CPU for a week now.
RCWatson
Registered Member
Posts
1
Karma
0
OS

Re: High CPU usage Xorg daemon

Wed Oct 19, 2011 2:25 pm
Omnomnom's Solution Works for my Toshiba Satellite too...

Toshiba Satellite A15-S129 (laptop)
BIOS Version 1.30
SCI Version 2.82
Graphics Chipset Intel 82852/855GM Integrated Graphics Device
Ubuntu Linux 8.04.4 (Hardy Heron)
Kernel Linux 2.6.24-29-generic
Gnome Window Mgr 2.22.3
Video Driver intel
xserver-xorg 1:7.3+10ubuntu10.2
xserver-xorg-core 2:1.4.1~git20090131-1ubuntu9.3

xorg.conf "Device" section...
Section "Device"
Identifier "Configured Video Device"
#
# 20111007 Fix for high cpu with graphics on Intel drivers
Option "AccelMethod" "XAA"
#
# 20111019 Fix NEW high cpu bug
# (per viewtopic.php?f=15&t=90441)
Option "UseEvents" "On"
EndSection
sharpxs
Registered Member
Posts
1
Karma
0
OS

Re: High CPU usage Xorg daemon

Fri Jan 13, 2012 10:35 pm
Omnomnom's solution seems to work for me as well. Turned on the "UseEvents" option and cpu load remains low ever since I restarted X11. Thanks much for the advice! Wouldn't have figured this out by myself...

System:
openSuSE 12.1 on SSD
KDE 4.7
GeForce GTX 260
Kernel 3.1.0-1-desktop
xorg 7.6


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot]