View previous topic :: View next topic |
Author |
Message |
sobers_2002 Veteran
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Mon Jun 19, 2006 9:20 am Post subject: unusually high cpu usage of X |
|
|
Hi,
using an ultrasparc 10 machine here. The xorg version is . The cpu usage is ~ 20% (around) all the time. Why is that so?? Kindly help.
thanks
Saurabh _________________ Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !! |
|
Back to top |
|
|
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Mon Jun 19, 2006 11:44 am Post subject: |
|
|
Have you tried to run top and view the process that is using that RAM? |
|
Back to top |
|
|
sobers_2002 Veteran
Joined: 16 Mar 2004 Posts: 1128
|
|
Back to top |
|
|
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Mon Jun 19, 2006 11:54 am Post subject: |
|
|
When only display manager is shown, do you have this problem? |
|
Back to top |
|
|
sobers_2002 Veteran
Joined: 16 Mar 2004 Posts: 1128
|
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Mon Jun 19, 2006 4:44 pm Post subject: |
|
|
A display manager is an application that allows you to login to your system graphically (e.g. gdm, kdm, entrance, wdm). Assuming that's what pacho2 meant, you should probably know if you have one setup as you would have had to intentionally do it. Basically this means you aren't logging into the console and typing something like "startx".
However if pacho2 meant window manager, then it would be something like fluxbox (which your desktop screenshot in your signature shows). |
|
Back to top |
|
|
sobers_2002 Veteran
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Mon Jun 19, 2006 4:57 pm Post subject: |
|
|
I know ... it's just that I haven't set it up on the sparc machine.
If window manager was what he meant, then I am using fluxbox on the sparc machine also. But it doesn't shows up high on mem/cpu list (as expected). _________________ Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !! |
|
Back to top |
|
|
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Mon Jun 19, 2006 9:13 pm Post subject: |
|
|
Weeve wrote: | Assuming that's what pacho2 meant |
Sorry, my english is too poor |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Mon Jun 19, 2006 9:48 pm Post subject: |
|
|
Oh no worries. I wasn't sure if you meant the display manager or the window manager. I hadn't heard of a case where the display manager had ended up eating a lot of CPU before, but until recently I hadn't used them much. |
|
Back to top |
|
|
sobers_2002 Veteran
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Tue Jun 20, 2006 6:23 am Post subject: |
|
|
now I observed a little different stuff here. I switched to terminal for a while (a lot of time) and left the machine. When I switched back to the X then I saw that the load increased again. And that X was now again occupying the 20%. The load earlier had fallen to a pretty low value and increased and remained constant after I switched back to the X mode.
so now I am really confused about this _________________ Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !! |
|
Back to top |
|
|
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Tue Jun 20, 2006 8:36 am Post subject: |
|
|
What driver are you using?
Have you tried to only use "startx" for open X session (with a Window Manager like TWM )? |
|
Back to top |
|
|
sobers_2002 Veteran
Joined: 16 Mar 2004 Posts: 1128
|
|
Back to top |
|
|
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Tue Jun 20, 2006 8:57 am Post subject: |
|
|
sobers_2002 wrote: | Does using dm make any difference?? |
No.
It may be a problem with ATi driver, try to use free driver instead.
Good luck |
|
Back to top |
|
|
sobers_2002 Veteran
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Tue Jun 20, 2006 10:50 am Post subject: |
|
|
the free one ? This I think is the one included in the xorg package. The one from ati (the one in portage) gets loaded as radeon AFAIK. _________________ Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !! |
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Tue Jun 20, 2006 11:24 am Post subject: |
|
|
What modules are loaded? Could you post the Module section from xorg.conf and any portion of /var/log/Xorg.0.log file that contains WW. |
|
Back to top |
|
|
sobers_2002 Veteran
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Tue Jun 20, 2006 11:54 am Post subject: |
|
|
Code: | (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/Speedo/" does not exist.
(WW) The directory "/usr/share/fonts/CID/" does not exist.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/encodings/".
(WW) The directory "/usr/share/fonts/sharefont/" does not exist.
(WW) The directory "/usr/share/fonts/lfp-fix/" does not exist.
(WW) The directory "/usr/share/fonts/unifont/" does not exist.
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) ATI(0): Cannot shadow an accelerated frame buffer.
(WW) ATI(0): I2C bus Mach64 initialisation failure.
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
|
this is from the xorg.log file.
Code: | Section "Module"
Load "glx"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection
|
and this is from the modules part of xorg.conf.
thanks
Saurabh _________________ Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !! |
|
Back to top |
|
|
sobers_2002 Veteran
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Tue Jun 20, 2006 11:58 am Post subject: |
|
|
pacho2 wrote: | sobers_2002 wrote: | Does using dm make any difference?? |
No.
It may be a problem with ATi driver, try to use free driver instead.
Good luck |
Code: | 0000:01:02.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro 215GP (rev 5c)
|
what should I be using?? and if I upgrade to xorg7, what should be the video_cards option? radeon or mach64?
thanks
Saurabh _________________ Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !! |
|
Back to top |
|
|
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Tue Jun 20, 2006 12:04 pm Post subject: |
|
|
Are you using fgrlx or radeon driver?
If you are using fglrx try to use radeon, if you are using radeon, try to use "vesa" (for check if it's a problem with the driver). |
|
Back to top |
|
|
davidgurvich Veteran
Joined: 23 Apr 2004 Posts: 1063
|
Posted: Tue Jun 20, 2006 12:20 pm Post subject: |
|
|
I think these are the only problems that I see: Quote: | (WW) ATI(0): Cannot shadow an accelerated frame buffer.
(WW) ATI(0): I2C bus Mach64 initialisation failure. | I don't know if they actually are problems. If it's a frame buffer or I2C issue, I would start looking at your kernel. Also check Code: | glxinfo |grep direct | to see if direct rendering is enabled. |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Tue Jun 20, 2006 2:04 pm Post subject: |
|
|
The mach64 chips in the Ultra 5s and 10s should be using the ati X driver. |
|
Back to top |
|
|
sobers_2002 Veteran
Joined: 16 Mar 2004 Posts: 1128
|
Posted: Tue Jun 20, 2006 3:20 pm Post subject: |
|
|
davidgurvich wrote: | I think these are the only problems that I see: Quote: | (WW) ATI(0): Cannot shadow an accelerated frame buffer.
(WW) ATI(0): I2C bus Mach64 initialisation failure. | I don't know if they actually are problems. If it's a frame buffer or I2C issue, I would start looking at your kernel. Also check Code: | glxinfo |grep direct | to see if direct rendering is enabled. |
The framebuffer isn't working on my system. It affects X? I'll look into the kernel. And on that front, how do I enable the framebuffer?? I think I have the modules needed.
Also,
Code: |
glxinfo|grep direct
direct rendering: No
|
So it seems direct rendering isn't working. What do I do about it??
@Weeve: So using the ati driver is fine then?? 'cauz that's what I am using. _________________ Pdict - dockable dictionary client for linux
FREE97WIN: Use this code on Dreamhost and you get $97 off !! |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Tue Jun 20, 2006 3:48 pm Post subject: |
|
|
Yeah, the ati driver is correct. You probably won't have direct rendering support, which isn't really anything to worry about. |
|
Back to top |
|
|
|