LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-30-2010, 11:31 PM   #1
Jack128
Member
 
Registered: Feb 2009
Location: Germany
Distribution: Slackware64 Current
Posts: 90

Rep: Reputation: 22
Exclamation KDE 4.5.3 / X Server / Nvidia Card Issue (High CPU load of X)


Hello,
I've a problem since a couple of weeks.
After working on my machine, with firefox
or gimp etc, or just idle for a few hours
the X process is taking about 25% CPU usage.
But only this process (X). I enabled/disabled
Desktop Effects, used nvidia-proprietary and
the open nouveau driver. No difference.

If I go to Xfce4, with the same X config, all
is snappy and after working/idling it runs fast
as on startup.

My System:
Slackware64-Current
Kernel 2.6.37-rc3 (With ~200 Line patch)
Multilib is installed
KDE 4.5.3 from alien

8,8Ghz AMD Quad Core
6GB RAM
7600GS Nvidia

Thanks for any kind of help. =)
Regards, Jack.
Cheers
 
Old 12-01-2010, 12:24 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
does it behaves the same with the standard 2.6.35.7 kernel of -current?
 
Old 12-01-2010, 03:02 AM   #3
Ramurd
Member
 
Registered: Mar 2009
Location: Rotterdam, the Netherlands
Distribution: Slackwarelinux
Posts: 703

Rep: Reputation: 111Reputation: 111
I experienced something akin and as far as I could determine something's wrong with the screensaver, causing quite big load on the system (also claimed pretty much memory at that) Could that be the case?
 
Old 12-01-2010, 03:11 AM   #4
SavoTU
Member
 
Registered: Apr 2005
Distribution: Slackware64 Current
Posts: 199

Rep: Reputation: 40
I have the same issue and no screensaver and stock kernel.
 
Old 12-01-2010, 08:15 AM   #5
Jack128
Member
 
Registered: Feb 2009
Location: Germany
Distribution: Slackware64 Current
Posts: 90

Original Poster
Rep: Reputation: 22
Jep, on stock kernel the same and I disabled screensaver.

Regards, Jack.
Cheers
 
Old 12-01-2010, 08:23 AM   #6
Laurens73
Member
 
Registered: Aug 2009
Location: Zeewolde, Flevoland NL
Distribution: Debian squeeze (Gnome) on netbooks; Debian Lenny on servers and Debian wheezy (XFCE) on new laptops
Posts: 144

Rep: Reputation: 23
Some versions of KDE 4 also have a memory leak causing the system to become slow and overloaded. This has to do with a bug in the nepomuk server if it is the same case in your machine. Check the memory / cpu use with KSysguard to ensure wich application is causing the overload.

Sometimes it helps switching your login session manager to login with an empty session (right-click on the logout button applet >> configure session manager) and if this works after re-login, and if you wish to startup some apps, switch the session manager to manual saved sessions and save the session (button is in the classic KDE menu).
 
Old 12-01-2010, 08:48 AM   #7
majoraccent
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
I get the same problem from time to time on my laptop using a Quadro. I had no problems when I was running the old kde 3.5 packages, but any version of 4.5 I've tried gives me these sporadic cpu spikes that cause the entire system to lag. The most interesting thing is that when this problem shows up, there are web pages in firefox that will trigger the spike, but only when visible on-screen (as in switching to another tab will hide the problem). Scrolling through a document in openoffice (or libreoffice) will cause the same cpu spike. The CPU spike is always in the X process, not in whatever application is triggering the issue.

Similar thread on nvnews: http://www.nvnews.net/vbulletin/showthread.php?t=156757

I've tried disabling kwin effects, but then I get tons of rendering artifacts and weird behavior. The best settings I've found so far:

Desktop Effects settings -> Advanced Tab ->
Compositing Type: OpenGL
Disable functionality checks: off
OpenGL mode: Shared Memory
Texture Filter: Nearest (fastest)
Enable Direct rendering: on
Use Vsync: off

I don't get the outright cpu spikes now, but still occasionally get kwin lags of a half second or so when switching windows (but usually ok).

OFF TOPIC: for all the people asking what kde 4 is missing compared to 3.5... it completely lacks any sense of robustness. Kwin, the window manager, can't manage windows unless you have the same hardware and eye-candy setup as the devs. I CAN'T get it to "just work" with any combination of settings. 4.5 has gotten to the point where it's usually usable enough, but I'm hoping that 4.6 or 4.7 will finally reach a "great" level of usability (although all the talk about new OpenGL rendering makes me wonder if there has been any effort on non-eyecandy rendering...)

Last edited by majoraccent; 12-01-2010 at 08:50 AM.
 
  


Reply



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
High load and high cpu kernel usage enid Linux - Server 8 09-30-2010 03:33 AM
[SOLVED] high CPU load X server Mario Blunk SUSE / openSUSE 3 02-08-2010 09:11 AM
[SOLVED] 100% CPU load in X with plasma-desktop (KDE) and Nvidia thorjelly Linux - Software 7 11-12-2009 11:49 AM
nvidia and high cpu load Simon Bridge Linux - Hardware 5 06-06-2006 03:25 AM
ftp server high cpu load littleking Slackware 1 11-24-2003 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:09 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration