You are not logged in.

#1 2015-07-08 21:47:15

axfelix
Member
Registered: 2015-02-08
Posts: 54

Gnome Music uses a ridiculous amount of CPU when doing nothing

This is just when it's idle: http://i.imgur.com/ZcytEOF.png

Any idea what could be going on? I've never seen PyGTK work this poorly under any circumstances...

Actually playing music seems to make no difference in the CPU usage, since mp3 decoding is so negligible on modern CPUs...

Offline

#2 2015-07-08 23:02:31

brittyazel
Member
From: Davis, CA
Registered: 2013-05-11
Posts: 165

Re: Gnome Music uses a ridiculous amount of CPU when doing nothing

Uh...I dont know if it is just me, but nothing seems that wrong based on your screenshot...


I don't really know what I'm doing.

Offline

#3 2015-07-09 09:46:35

matierpixel
Member
Registered: 2014-08-10
Posts: 19

Re: Gnome Music uses a ridiculous amount of CPU when doing nothing

I think it would be a good idea for you to show us the process for Gnome Music.

Another note: I know I'll get reprimanded for this, but it's strongly recommended that you do not run chromium or other web browser under root. You don't want a hacker getting complete control over your computer....

Last edited by matierpixel (2015-07-09 09:47:04)


I'm a noob, so don't expect a good answer from me. Please consult advanced administrators...

Offline

#4 2015-07-09 12:59:14

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,422
Website

Re: Gnome Music uses a ridiculous amount of CPU when doing nothing

it's strongly recommended that you do not run chromium or other web browser under root. You don't want a hacker getting complete control over your computer....

Actually, it's not even possible to run chromium as root. Unless you're using some unspeakable hacks, that is. Most likely, OPs setup is beyond all repair at this stage.

Last edited by Alad (2015-07-09 13:00:10)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#5 2015-07-11 03:47:07

matierpixel
Member
Registered: 2014-08-10
Posts: 19

Re: Gnome Music uses a ridiculous amount of CPU when doing nothing

Alad wrote:

it's strongly recommended that you do not run chromium or other web browser under root. You don't want a hacker getting complete control over your computer....

Actually, it's not even possible to run chromium as root. Unless you're using some unspeakable hacks, that is. Most likely, OPs setup is beyond all repair at this stage.

I thought you can run chromium using another folder as the user directory? I also browsed the web with the --alternative-user-dir command flag when I reached post-install stages of my system. I didn't know the was a general precaution until I reached the wiki here. They must have updated chromium if hacking is the only way to get it running.


I'm a noob, so don't expect a good answer from me. Please consult advanced administrators...

Offline

#6 2015-07-12 22:54:00

axfelix
Member
Registered: 2015-02-08
Posts: 54

Re: Gnome Music uses a ridiculous amount of CPU when doing nothing

Ouch, guys!

For what it's worth, I think lxtask actually misreports chromium as being run under root -- it does the same for Opera on my Ubuntu machine; I think it has something to do with some of the other processes that the browser spawns.

As for gnome-music, I should've been more specific; the issue is actually with it causing the compositor/clutter/gnome-desktop thread to use way too much CPU, as though PyGTK is using way too many cycles when communicating with the desktop.

Unrelated gnome problem, though -- all of my keyboard shortcuts to launch applications (such as Ctrl+Alt+T) stopped working suddenly, and nothing in particular seems like it should've triggered that? This is all on an up-to-date, nonbroken arch+gnome config. I'd take a screenshot of htop reporting the same CPU usage except that gnome's screenshot tool seems to be included among the shortcuts that broke at some point in the past few days (makes sense, since it technically launches an application) ... I'm sorry I used lxtask and made you worry smile

Last edited by axfelix (2015-07-12 22:59:26)

Offline

#7 2015-07-15 21:19:11

axfelix
Member
Registered: 2015-02-08
Posts: 54

Re: Gnome Music uses a ridiculous amount of CPU when doing nothing

Nevermind, application launching keyboard shortcuts are fixed after restarting gdm. Guess that must've been some weird race condition in setting up the display. So that just leaves my original problem of Gnome Music being very inefficient smile

Offline

Board footer

Powered by FluxBB