Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-01-2014, 11:18 AM
|
#1
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Rep:
|
X constantly at >20% cpu usage
Hi,
On a slackware64 14.1 desktop top shows that X constantly uses 20%+ of the cpu even when the computer is mostly idle. I have seen that this problem has been linked in the past to the nouveau driver or to Terminal, but I am using the proprietary NVIDIA driver and the same behavior is exhibited in eg. xterm, konsole, etc.
Does anyone have any other ideas of what to do about this.
Thanks,
Brian
PS. inactive libreoffice also seems to constantly use nearly 10% of the CPU, but I can close libreoffice, I can't really close X
|
|
|
02-01-2014, 12:52 PM
|
#2
|
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908
|
It may depend on how you are determining it is using 10%...
IF you are running top in the desktop... yes, it will be using 10%, after all, it has to update the display...
IF you are running top in a console terminal, check to see what you have running - a screen saver can easily cause X to use up that much, as can firefox/chrome that may have something active.
Even something as simple as a clock display will cause X to be active.
|
|
|
02-04-2014, 10:58 AM
|
#3
|
Senior Member
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639
Original Poster
Rep:
|
It seems that firefox was the culprit. So in addition to high cpu usage for the firefox process itself and the dreaded plugin-container processes, but it also drives high usage for the X process? Looks like time to look into alternatives. Is chrome better for that?
Brian
|
|
|
02-04-2014, 11:11 AM
|
#4
|
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,908
|
It depends on what the plugin is doing.
What I found was that the )&*(& advertisements are all video/flash based, and the flash player filled the X server with activity... Even when the windows are unmapped, the X server is still given the data... which has to be discarded as the window is unmapped.
And it didn't matter what browser is in use. I use firefox... my wife prefers chrome, yet when her login display is unmapped, chrome is still busy passing data to the flash player, then to the X server...
The I think the flash player just ignores proper X handling (it should know it is unmapped, and then to not bother the X server until it gets a mapped event).
Last edited by jpollard; 02-04-2014 at 11:14 AM.
|
|
|
02-04-2014, 11:23 AM
|
#5
|
Member
Registered: May 2008
Location: West Coast Canada
Posts: 282
Rep:
|
Yes firefox uses allot of rersouces especially the plugins
|
|
|
All times are GMT -5. The time now is 10:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|