Notices


Reply
Thread Tools
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#41
Originally Posted by jcw1 View Post
Just wanted to inform you that I have now repeatedly noticed the programme to use almost all of the CPU power, running constantly at or near 100%.
Strange, I've never had this problem...but I never used Someplayer (I don't know if this is the problem).
I cannot even see the program with "top" while playing music.
The program should use almost no cpu power, it just listen to some dbus events, doing nothing.

You can try to kill the background process, then launch in a terminal the daemon manually with
Code:
/usr/sbin/volumecontroldaemon -d
And post the output.

Edit: There's no need to reboot the device to stop the daemon, just kill its process...
Code:
ps | grep volumecontroldaemon
get the pid and then
Code:
kill xxxx
where xxxx is the process pid.

Last edited by sakya; 2011-03-15 at 08:57.
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#42
I just tested it with powertop, it is clean. No spurious wakeups that is.

Any chance you could post the code?
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#43
The source code is here (and in the source package of the repo):
http://www.assembla.com/code/volumec...bversion/nodes
 

The Following 2 Users Say Thank You to sakya For This Useful Post:
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#44
+1

cheers bro!
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 
cjp's Avatar
Posts: 762 | Thanked: 395 times | Joined on Jan 2010 @ Helsinki
#45
So does this basically make the volume stay at 100% when you plug in the headphones?

The reason why Nokia made it jump down, is because volume at 100% when you have headphones in is really too loud!

Is there any way I could get a version of this daemon where only phonecall volume was put to a hundred immediately on making/receiving it?

If the volume for headphones (when they're really headphones) is too low for you, I suggest investing a little more in your headphones!
__________________
--
Find me on Twitter: @creip

Please read my blog: "PeakMobility", which deals with MeeGo/Maemo, Windows Phone and mobile technology in general from a hedonistic user point-of-view: http://peakmob.blogspot.com/
 
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#46
Originally Posted by cjp View Post
So does this basically make the volume stay at 100% when you plug in the headphones?
No, you can change the volume, this app just replaces the "fake" 100% (that is 88) to a real 100% (100).

Originally Posted by cjp View Post
If the volume for headphones (when they're really headphones) is too low for you, I suggest investing a little more in your headphones!
I use Sennheiser MX-80 (I think they can be called "headphones") but the volume is low at the normal 100% (88), mostly when listening to my favourite music ('60-'70).
I have no problem with recent recordings and I never listen at 100% (the volume of "modern" cds is far higher than old remasters), but a lot of my cds have a lower volume (and music volume cannot be raised a lot with normalizer due to clicks and distortion), so the only solution (at least for me) was to raise the volume.
 

The Following 2 Users Say Thank You to sakya For This Useful Post:
cjp's Avatar
Posts: 762 | Thanked: 395 times | Joined on Jan 2010 @ Helsinki
#47
Will give this a go then!
__________________
--
Find me on Twitter: @creip

Please read my blog: "PeakMobility", which deals with MeeGo/Maemo, Windows Phone and mobile technology in general from a hedonistic user point-of-view: http://peakmob.blogspot.com/
 
Posts: 33 | Thanked: 12 times | Joined on Oct 2010
#48
Originally Posted by sakya View Post
Strange, I've never had this problem...but I never used Someplayer (I don't know if this is the problem).
I cannot even see the program with "top" while playing music.
The program should use almost no cpu power, it just listen to some dbus events, doing nothing.

You can try to kill the background process, then launch in a terminal the daemon manually with
Code:
/usr/sbin/volumecontroldaemon -d
And post the output.

Edit: There's no need to reboot the device to stop the daemon, just kill its process...
Code:
ps | grep volumecontroldaemon
get the pid and then
Code:
kill xxxx
where xxxx is the process pid.
Well, like you described, the daemon does not noticeably use CPU power almost all of the time.

However, there were a few occasions where CPU usage suddenly peaked and stayed constantly at or around 100%. I checked with Conky and it showed the daemon as the source for the heavy CPU usage.

Again, this is not something that occurs frequently, just a couple of times. Still, I thought it was worth mentioning. I will try to monitor if this only happens in connection with using someplayer.
 
sakya's Avatar
Posts: 533 | Thanked: 1,341 times | Joined on Dec 2010 @ Italy
#49
Originally Posted by jcw1 View Post
Again, this is not something that occurs frequently, just a couple of times. Still, I thought it was worth mentioning. I will try to monitor if this only happens in connection with using someplayer.
Many thanks for your help.
I still cannot imagine how can this be possible (there's not a single loop in all the code, how could it take 100% of the CPU?), the only thing I can think is a sequence of a lot of dbus messages (but this doesn't seem a normal situation)...

Please let me now if you notice this again or you discover something.
 
Posts: 11 | Thanked: 1 time | Joined on Jan 2011
#50
the app is very usefull im using sennheiser mx470 headphones and it nearly acts like a speaker now very good job. .)
and...does this consumes more battery or not ? hope not coz i love listening music via headphones .)
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:15.