LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-28-2007, 02:06 AM   #1
johngreenwood
Member
 
Registered: Nov 2006
Location: Lancashire, United Kingdom
Distribution: Slackware 13
Posts: 243

Rep: Reputation: 31
X server 100% cpu usage on AMD Athlon 1.1GHz


I am having a strange problem with a friends computer, I installed Slackware 11 for him and after a while it just freezes. After freezing I can ssh to it and run top, top shows that X is using 100% of the cpu.

System specs
AMD Athlon 1.1GHz
256MB DDR RAM
nVidia GeForce4 MX 440 AGP

I can't think of anything else which may be useful.

This is becoming very annoying for both him and me.

Anyone have any ideas?
 
Old 02-28-2007, 02:48 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
That is definitely a strange one.

I assume he isn't running anything that would cause an increase in X CPU usage? Like Composite, or drop shadows?

It could be that an application is actually running X's CPU usage up, by doing something it isn't supposed to be. Do you have the same problem if the machine just sits idle running the WM for awhile? Speaking of that, what WM/DE is it running in the first place?
 
Old 02-28-2007, 03:12 AM   #3
johngreenwood
Member
 
Registered: Nov 2006
Location: Lancashire, United Kingdom
Distribution: Slackware 13
Posts: 243

Original Poster
Rep: Reputation: 31
He is using KDE, the setup is very basic. He is 56 years old and has never used a computer before. So he isn't very interested in composite and drop shadows. All he has running is whatever you get with a default Slackware install. The only thing he really uses it for is looking at the news, but hates it when I change anything because he is getting used to it as it is. I first thought it may be some kind of compatibility issue with Slackware and AMD, but haven't been able to find anything on google to support this.
 
Old 02-28-2007, 03:33 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,103

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
A default Slack install now includes KDE ???.
Things have changed since I last tried it. Eye candy will be a problem with that amount of RAM - KDE will not help. Perhaps try XFCE.
What does memory/swap look like when you SSH in ???.
 
Old 02-28-2007, 03:44 AM   #5
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Hm, KDE is probably not the best thing to be running with only 256 MB of RAM, but it wouldn't be jacking up to 100% CPU usage either.

What drivers are you using for the card? The open source "nv" driver that comes with Slackware, or the binary driver from Nvidia? If you aren't using Nvidia's driver, I would suggest giving that a shot, it is very good, all software politics aside.
 
Old 02-28-2007, 04:11 AM   #6
johngreenwood
Member
 
Registered: Nov 2006
Location: Lancashire, United Kingdom
Distribution: Slackware 13
Posts: 243

Original Poster
Rep: Reputation: 31
I have the same amount of RAM, but I am using the slower SDRAM and I do not have any problem, and I have all kinds crap on mine. I think I will install the nVidia driver as I was thinking about that yesterday. For the memory/swap numbers I will have to wait until it freezes again.

Thank you.
 
Old 02-28-2007, 02:26 PM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by MS3FGX
If you aren't using Nvidia's driver, I would suggest giving that a shot, it is very good, all software politics aside.
I disagree ... I would use nv (provides 2D acceleration), unless you need 3D acceleration for some reason.
 
Old 02-28-2007, 02:59 PM   #8
Basslord1124
Member
 
Registered: Jun 2004
Location: Ashland, KY
Distribution: Debian, Puppy/Slacko
Posts: 351

Rep: Reputation: 31
Quote:
Originally Posted by syg00
A default Slack install now includes KDE ???.
Things have changed since I last tried it. Eye candy will be a problem with that amount of RAM - KDE will not help. Perhaps try XFCE.
What does memory/swap look like when you SSH in ???.
Yup...I was a little surprised too to see KDE as the default GUI in Slack. They dropped GNOME altogether but I heard they may be trying something in later versions of the distro. I'm not complaining though, KDE is fine.

The issue itself is strange, but I had some strange high CPU usages with Slack 11 too. Turns out I think those were caused by not exiting apps gracefully. There are no other hardware issues is there? Memory testing out ok? Enough swap space allocated? One thing I'd suggest is sorting the processes in top (preferably by CPU usage) to see if anything may be causing it.
 
Old 03-15-2007, 02:28 PM   #9
studioj
Member
 
Registered: Oct 2006
Posts: 460

Rep: Reputation: 31
sometimes in KDE you have to start with the setting OFF
that automatically saves session.
because if you have a process go zombie on you it can get automatically permanently zombied out
on you everytime you start KDE.
 
Old 03-15-2007, 03:16 PM   #10
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
How often does this happen? Is it every time he uses the machine?

I doubt that the amount of RAM has anything to do with it at all. I've easily run KDE on 256MB of RAM with no problems at all except for some slow response times.

Do the xorg log files not show any problems?

One thing you could try to determine if it's related to the video driver would be to change it vesa in the xorg.conf file and see if the problem goes away.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
alternatives to Powernow for AMD Athlon 1GHz? demoman Linux - Hardware 14 11-24-2005 02:50 PM
AMD 1GHz Athlon and heat hacman Linux - Hardware 1 03-02-2004 12:01 AM
CPU on 100% usage after sleep... Jestrik Linux - General 8 12-22-2003 09:18 AM
CPU usage 100% ecsfan Red Hat 17 11-19-2003 03:06 PM
100 % CPU usage ???? rolandi Linux - Newbie 1 10-07-2003 11:52 PM


All times are GMT -5. The time now is 09:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration