High load from Xorg [solved]

You can report problems, make suggestions, about the new BETA versions in this forum. For stuff related to final releases, please post a message in other forums
Post Reply
gernot
Posts: 1130
Joined: 07 Apr 2010, 16:19

High load from Xorg [solved]

Post by gernot » 09 Jul 2011, 20:36

Can anyone second this?
In 2.2.1beta1+2 i get very high load of 79% for X as long a terninal is open.

2301 root 19 -1 52816 14m 4836 R 79.3 2.0 1:02.76 X

In the moment i close the last terminal window load is 1 to 5%
Other applications like firefox or taskmanager are no problem.

The graphic card is a ATI Technologies Inc Rage 128 RF/SG AGP .
It looks like the kernelmodesetting don't work for this card.

Standard and normal kernel tested, both wizard modes tested.

Update:
On a second PC i get the problem only if i boot with nomodeset
ATI Technologies Inc Radeon RV250 If [Radeon 9000] (rev 01)
Without this option i get more load then expected but the system is good usable.


Gernot

gernot
Posts: 1130
Joined: 07 Apr 2010, 16:19

High load from Xorg

Post by gernot » 20 Jul 2011, 15:07

Now i tested some things for this problem.

Xorg from version 2.3.0.beta1 makes much more load then 2.1.1. Terminal is just a worst case sample.
Here is a "15% " sample (idle). The load of X goes to 90 without KMS. I tried 5 different PC in the class P3/900 to Athlon XP 2600+.
sysrcd 2.1.1 is the last "clean" version with a idle load of 0.3 for X.
The problem is kernel independent

Code: Select all

top - 17:11:01 up 18 min,  0 users,  load average: 0.50, 0.41, 0.31
Tasks:  93 total,   1 running,  92 sleeping,   0 stopped,   0 zombie
Cpu(s): 23.6%us,  5.6%sy,  0.0%ni, 70.8%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    507048k total,   494836k used,    12212k free,    63888k buffers
Swap:   811244k total,        0k used,   811244k free,   286604k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
 1914 root      19  -1 21292  12m 5008 S 15.6  2.6   3:19.46 X                  
 2096 root      20   0 46836  29m 8036 S  9.0  5.9   2:00.45 terminal           
 2189 root      20   0  301m  66m  24m S  1.3 13.4   1:11.74 firefox-bin        
 2086 root      20   0 17144 8412 6652 S  1.0  1.7   0:02.27 xfwm4              
 2088 root      20   0 26460 9.9m 7812 S  1.0  2.0   0:01.49 xfce4-panel        


admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Re: High load from Xorg

Post by admin » 23 Jul 2011, 21:19

When we have a regression the first thing to check is the packages list, we can see which package change could be responsible for that.

% grep -E 'xorg-server|xf86-video-ati|terminal|media-libs/mesa|libdrm' sysresccd-x86-packages-std-2*
sysresccd-x86-packages-std-2.0.0.txt:media-libs/mesa-7.8.2
sysresccd-x86-packages-std-2.0.0.txt:x11-base/xorg-server-1.9.3
sysresccd-x86-packages-std-2.0.0.txt:x11-drivers/xf86-video-ati-6.13.2
sysresccd-x86-packages-std-2.0.0.txt:x11-libs/libdrm-2.4.22
sysresccd-x86-packages-std-2.0.0.txt:x11-terms/terminal-0.4.5
sysresccd-x86-packages-std-2.0.1.txt:media-libs/mesa-7.8.2
sysresccd-x86-packages-std-2.0.1.txt:x11-base/xorg-server-1.9.4
sysresccd-x86-packages-std-2.0.1.txt:x11-drivers/xf86-video-ati-6.13.2
sysresccd-x86-packages-std-2.0.1.txt:x11-libs/libdrm-2.4.22
sysresccd-x86-packages-std-2.0.1.txt:x11-terms/terminal-0.4.5
sysresccd-x86-packages-std-2.1.0.txt:media-libs/mesa-7.8.2
sysresccd-x86-packages-std-2.1.0.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-std-2.1.0.txt:x11-drivers/xf86-video-ati-6.14.0
sysresccd-x86-packages-std-2.1.0.txt:x11-libs/libdrm-2.4.23
sysresccd-x86-packages-std-2.1.0.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.1.1.txt:media-libs/mesa-7.8.2
sysresccd-x86-packages-std-2.1.1.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-std-2.1.1.txt:x11-drivers/xf86-video-ati-6.14.0
sysresccd-x86-packages-std-2.1.1.txt:x11-libs/libdrm-2.4.23
sysresccd-x86-packages-std-2.1.1.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.2.0-beta001.txt:media-libs/mesa-7.10.1
sysresccd-x86-packages-std-2.2.0-beta001.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-std-2.2.0-beta001.txt:x11-drivers/xf86-video-ati-6.14.0
sysresccd-x86-packages-std-2.2.0-beta001.txt:x11-libs/libdrm-2.4.23
sysresccd-x86-packages-std-2.2.0-beta001.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.2.0-beta002.txt:media-libs/mesa-7.10.2
sysresccd-x86-packages-std-2.2.0-beta002.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-std-2.2.0-beta002.txt:x11-drivers/xf86-video-ati-6.14.1
sysresccd-x86-packages-std-2.2.0-beta002.txt:x11-libs/libdrm-2.4.25
sysresccd-x86-packages-std-2.2.0-beta002.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.2.0-beta003.txt:media-libs/mesa-7.10.2
sysresccd-x86-packages-std-2.2.0-beta003.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-std-2.2.0-beta003.txt:x11-drivers/xf86-video-ati-6.14.1
sysresccd-x86-packages-std-2.2.0-beta003.txt:x11-libs/libdrm-2.4.25
sysresccd-x86-packages-std-2.2.0-beta003.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.2.0-beta004.txt:media-libs/mesa-7.10.2
sysresccd-x86-packages-std-2.2.0-beta004.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-std-2.2.0-beta004.txt:x11-drivers/xf86-video-ati-6.14.1
sysresccd-x86-packages-std-2.2.0-beta004.txt:x11-libs/libdrm-2.4.25
sysresccd-x86-packages-std-2.2.0-beta004.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.2.0-beta005.txt:media-libs/mesa-7.10.2
sysresccd-x86-packages-std-2.2.0-beta005.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-std-2.2.0-beta005.txt:x11-drivers/xf86-video-ati-6.14.1
sysresccd-x86-packages-std-2.2.0-beta005.txt:x11-libs/libdrm-2.4.25
sysresccd-x86-packages-std-2.2.0-beta005.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.2.0-beta006.txt:media-libs/mesa-7.10.2
sysresccd-x86-packages-std-2.2.0-beta006.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-std-2.2.0-beta006.txt:x11-drivers/xf86-video-ati-6.14.1
sysresccd-x86-packages-std-2.2.0-beta006.txt:x11-libs/libdrm-2.4.25
sysresccd-x86-packages-std-2.2.0-beta006.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.2.0-beta007.txt:media-libs/mesa-7.10.2
sysresccd-x86-packages-std-2.2.0-beta007.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-std-2.2.0-beta007.txt:x11-drivers/xf86-video-ati-6.14.1
sysresccd-x86-packages-std-2.2.0-beta007.txt:x11-libs/libdrm-2.4.25
sysresccd-x86-packages-std-2.2.0-beta007.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.2.0-beta008.txt:media-libs/mesa-7.10.2
sysresccd-x86-packages-std-2.2.0-beta008.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-std-2.2.0-beta008.txt:x11-drivers/xf86-video-ati-6.14.1
sysresccd-x86-packages-std-2.2.0-beta008.txt:x11-libs/libdrm-2.4.25
sysresccd-x86-packages-std-2.2.0-beta008.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.2.0.txt:media-libs/mesa-7.10.2
sysresccd-x86-packages-std-2.2.0.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-std-2.2.0.txt:x11-drivers/xf86-video-ati-6.14.1
sysresccd-x86-packages-std-2.2.0.txt:x11-libs/libdrm-2.4.25
sysresccd-x86-packages-std-2.2.0.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.3.0-beta001.txt:media-libs/mesa-7.10.3
sysresccd-x86-packages-std-2.3.0-beta001.txt:x11-base/xorg-server-1.10.2
sysresccd-x86-packages-std-2.3.0-beta001.txt:x11-drivers/xf86-video-ati-6.14.2
sysresccd-x86-packages-std-2.3.0-beta001.txt:x11-libs/libdrm-2.4.26
sysresccd-x86-packages-std-2.3.0-beta001.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.3.0-beta002.txt:media-libs/mesa-7.10.3
sysresccd-x86-packages-std-2.3.0-beta002.txt:x11-base/xorg-server-1.10.2
sysresccd-x86-packages-std-2.3.0-beta002.txt:x11-drivers/xf86-video-ati-6.14.2
sysresccd-x86-packages-std-2.3.0-beta002.txt:x11-libs/libdrm-2.4.26
sysresccd-x86-packages-std-2.3.0-beta002.txt:x11-terms/terminal-0.4.6
sysresccd-x86-packages-std-2.3.0-beta003.txt:media-libs/mesa-7.10.3
sysresccd-x86-packages-std-2.3.0-beta003.txt:x11-base/xorg-server-1.10.2
sysresccd-x86-packages-std-2.3.0-beta003.txt:x11-drivers/xf86-video-ati-6.14.2
sysresccd-x86-packages-std-2.3.0-beta003.txt:x11-libs/libdrm-2.4.26
sysresccd-x86-packages-std-2.3.0-beta003.txt:x11-terms/terminal-0.4.6

I have uploaded a copy of the packages list on http://beta.sysresccd.org/pkglist/

We can also make an /etc/X11/xorg.conf file to see if changing an option makes a difference.

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Re: High load from Xorg

Post by admin » 23 Jul 2011, 21:35

I have prepared a test01 version where all the xorg/ati related package are the same as sysresccd-2.1.1:

sysresccd-x86-packages-std-2.1.1.txt:media-libs/mesa-7.8.2
sysresccd-x86-packages-std-2.1.1.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-std-2.1.1.txt:x11-drivers/xf86-video-ati-6.14.0
sysresccd-x86-packages-std-2.1.1.txt:x11-libs/libdrm-2.4.23
sysresccd-x86-packages-std-2.1.1.txt:x11-terms/terminal-0.4.6

sysresccd-x86-packages-test01.txt:media-libs/mesa-7.8.2
sysresccd-x86-packages-test01.txt:x11-base/xorg-server-1.9.5
sysresccd-x86-packages-test01.txt:x11-drivers/xf86-video-ati-6.14.0
sysresccd-x86-packages-test01.txt:x11-libs/libdrm-2.4.23
sysresccd-x86-packages-test01.txt:x11-terms/terminal-0.4.6

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Re: High load from Xorg

Post by admin » 24 Jul 2011, 06:45

I think downgrading x11-libs/vte to 0.26.3 fixes the problem. Can you try sysresccd-2.3.0-beta004 ?

sysresccd-x86-packages-eix-2.1.0.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.1.1-beta001.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.1.1-beta002.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.1.1.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.2.0-beta001.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.2.0-beta002.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.2.0-beta003.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.2.0-beta004.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.2.0-beta005.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.2.0-beta006.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.2.0-beta007.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.2.0-beta008.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.2.0.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python
sysresccd-x86-packages-eix-2.2.1-beta001.txt:x11-libs/vte-0.28.1-r200 : introspection -debug -doc -glade -python
sysresccd-x86-packages-eix-2.2.1-beta002.txt:x11-libs/vte-0.28.1-r200 : introspection -debug -doc -glade -python
sysresccd-x86-packages-eix-2.2.1.txt:x11-libs/vte-0.28.1-r200 : introspection -debug -doc -glade -python
sysresccd-x86-packages-eix-2.3.0-beta001.txt:x11-libs/vte-0.28.1-r200 : introspection -debug -doc -glade -python
sysresccd-x86-packages-eix-2.3.0-beta002.txt:x11-libs/vte-0.28.1-r200 : introspection -debug -doc -glade -python
sysresccd-x86-packages-eix-2.3.0-beta003.txt:x11-libs/vte-0.28.1-r200 : introspection -debug -doc -glade -python
sysresccd-x86-packages-eix-2.3.0-beta004.txt:x11-libs/vte-0.26.2 : -debug -doc -glade -introspection -python

gernot
Posts: 1130
Joined: 07 Apr 2010, 16:19

Re: High load from Xorg

Post by gernot » 24 Jul 2011, 09:17

Great. Now with beta4 X load is low at 0.3 . Terminal and firefox react quick as usual.

Thank you.
Gernot

p.s. I tested some xorg.conf options at beta2 without success (vesa,framebuffer,other mousedriver, no acceleration and some other options)
p.p.s Just a short feedback... Kernel 3.0 work good for me. rtl8192se is well supported now. No problems on 2 desktop, 1 netbook.

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Re: High load from Xorg

Post by admin » 24 Jul 2011, 11:24

Thanks for your quick tests and feedback.

Post Reply