xorg high cpu usage, system sluggishness
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Bug Description
Sometimes Xorg is shown in htop, top, ps, etc. as having a higher than expected CPU load. Perhaps 100%, 50%, 10-20%... Higher than the 1-5% that you normally expect.
Sometimes this is accompanied by general system sluggishness, sometimes the fan runs at full tilt.
This is not a single specific bug but rather is a generic symptom that can be caused by a wide variety of different underlying problems. This bug report is left open just as a placeholder and point for general discussion about this class of issue.
In general, MOST of the time the issue is NOT X, but rather a client program that is just out of control making X calls. X is a server and just responds to client requests as best it can. If a client app is going nuts, like making a really expensive X call every few seconds, you'll see the high CPU indicated against X, even though the problem is really the client application's poorly optimized algorithm.
A troubleshooting guide for this class of problem is available here:
https:/
Usually by starting or killing various programs, daemons, services, and so on you can narrow in on what is causing the load.
Remember, your high CPU is probably NOT caused by X, so figure out which application is driving X, and file a new bug against THAT package.
[Original Report]
After the recent upgrade to 8.10 via update-manager -d, my whole system is quite laggy.
Xorg now sits at the top of the cpu usage list constantly using 10 - 20%, whereas under hardy it would sit at 1-2%.
Opening programs can be at times quite slow, for instance, gedit can take 10+ seconds to open and load a txt file.
Xorg.0.log seems normal enough till the end where I'll get several lines like this:
AUDIT: Fri Nov 7 10:05:47 2008: 6071 X: client 4 rejected from local host ( uid=0 gid=0 pid=6545 )
System:
Linux WORKSHOP 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:20 UTC 2008 i686 GNU/Linux
P4 3.4Ghz,
1 Gb RAM,
Nvidia 8400gs with the 177 driver
I'm not sure what other info is required, I'm sure someone will let me know...
others possibly having the same issues:
http://
http://
http://
http://
description: | updated |
Changed in xorg: | |
status: | Incomplete → Confirmed |
description: | updated |
Changed in xorg: | |
importance: | Undecided → Wishlist |
status: | Confirmed → Triaged |
Changed in xorg-server (Ubuntu): | |
status: | Expired → Confirmed |
Hi greasemonkeynz,
Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.