Music player CPU usage - Nexus S Q&A, Help & Troubleshooting

I've noticed it seems seems like the music player uses more cpu (and as a consequence battery) than it did on my G2. Maybe it's just a larger percentage. is the qualcomm cpu maybe just better at audio decoding? Also we gave froyo vs gbread.
Sent from my Nexus S using Tapatalk

Related

[Q] Overclocking and battery life

This is a question for those who have overclocked their Xoom. How much is overclocking to 1.5Ghz affecting battery life?
Overclocking would be the only reason I would root right now, and I am trying to make up my mind on whether to do it.
My battery life is better after using setcpu to overclock. The reason is that the tegra2 chipset scales the performance based on whether it's needed(IE, when you're using your xoom) with setCPU you are extending the top end of how fast the CPU can go. The clever bit is you can also tell your xoom to slow itself down and go very efficient when the screen is off or if the chipset gets too hot (which it never has). If you do go for it I recommend using setcpu using interactive scaling (prioritising the user interface) and whack the max speed up to 1500 and the min speed down to 217 mhz
I wouldn't recommend setting screen-off profiles at the moment. It seems to lead to some strange issues once in a while.
That said, because you're only going to 1.5 GHz when needed, battery life doesn't really suffer. Additionally, at least in my usage, my screen uses ~70-85% of my battery. This is even during heaving gaming, where the Tegra 2 really has to work hard.
I wouldn't worry about its effects, personally.
MrGinger said:
The reason is that the tegra2 chipset scales the performance based on whether it's needed(IE, when you're using your xoom)
Click to expand...
Click to collapse
All CPUs do this, not just Tegras.
Re scaling, never said otherwise I've never had a problem with screen off profile. Maybe just lucky

Overclocking: How does this make sense?!

I'm familiar with overclocking when it comes to my PC, so I'm not a complete noob.
With SetCPU, there's no real "slider", it just steps up by it self.
So starting from 1GHz, I did a 'rough' test, to see when it'll crash (slide it up by one, run full Quadrant Standard test, slide it up by one again, repeat until crash, go back to the second highest, do a "torture test" to see if stable).
It didn't crash at the highest setting allowed by the kernel of 1.9GHz...
I'm doing the "torture test" right now.
That's almost a 100% increase in performance...
How is this possible? Are phone CPUs this good overclockers?
FYI, Quadrant Standard at stock 1GHz was around 1400, at 1.9GHz was around 2000 (not that Quadrant Standard really matters).
2000 on quadrant overclocked at 1.9 ist high actually its kinda low compared to how it comes out of the box good luck with battery and replacing that cpu
Sent from my Desire HD using XDA Premium App
mohkg said:
2000 on quadrant overclocked at 1.9 ist high actually its kinda low compared to how it comes out of the box good luck with battery and replacing that cpu
Click to expand...
Click to collapse
This isn't for everyday use, obviously.
Trying to find the highest stable clock, and going to run some MKVs, and lower the clockspeed until the MKV doesn't stutter, and have that clockspeed set for whenever I watch videos on my phone (currently at stock 1.0GHz, MKV files stutter like mad, but at 1.9GHz, it doesn't stutter).
Going to leave it at stock 1.0GHz (maybe underclock it) for any other usage.
O_O what is the purpose in overclocking what does it do
Sent from my Desire HD using XDA App
Your CPU will be fine as long as its not constantly at 2.0. I left mine at 1.84 for 2 days for **** and giggles, phone didn't even get hot.. if you were to permanently leave it at 1.5 or so, you'd probably have a new phone before the CPU burns out. And not all phone cpus can overclock as high as our particular snapdragons, the 2nd gen snapdragon just happens to be an overclocking monster. The hummingbird in my captivate was kinda unstable at 1.4, the inspire takes 1.9 like a champ.
M.leonard2 said:
O_O what is the purpose in overclocking what does it do
Click to expand...
Click to collapse
Overclocking makes your CPU run faster than what it was originally designed, and usually it only increases by 10-30% (which is why I'm flabbergasted at the almost 100% increase in clock speed).
For me, I want it because, like stated previously, the phone lags quite heavily when playing HD 720p (MKV) videos. I don't want to re-encode to standard mp4 (since most of my library is MKV or DIVX/XVID) to watch movies flawlessly.
di11igaf said:
Your CPU will be fine as long as its not constantly at 2.0. I left mine at 1.84 for 2 days for **** and giggles, phone didn't even get hot.. if you were to permanently leave it at 1.5 or so, you'd probably have a new phone before the CPU burns out. And not all phone cpus can overclock as high as our particular snapdragons, the 2nd gen snapdragon just happens to be an overclocking monster. The hummingbird in my captivate was kinda unstable at 1.4, the inspire takes 1.9 like a champ.
Click to expand...
Click to collapse
Yea, this CPU is a champ at overclocking.
I'm done with the "torture" test, and am pretty confident in setting it as high as 1.9GHz if needed.
Currently, 1.7GHz would play my MKV files stutter-free (starts to stutter at 1.6 and below), so I have 3 profiles:
Underclocked (768MHz)- normal usage,
Stock (1GHz)- when things slow down during normal usage, say flash on websites or Android 3D games,
Overclocked (1.7GHz)- for HD (MKV) video playback
And of course, have a Temp > 50C at the top priority, where it goes down to the underclocked (768MHz) profile.
P.S. The under 720p videos encoded in divx/xvid play flawlessly even in underclocked mode. This whole ordeal is strictly for the HD videos I have. I don't have any <4GB 1080p to test 1080p videos with... heh (stupid FAT32 format).
How does one get this SetCPU program? A file you can flash? Or is it an app?
h-visual said:
How does one get this SetCPU program? A file you can flash? Or is it an app?
Click to expand...
Click to collapse
It is an app. I believe you can get it for free here on xda.
h-visual said:
How does one get this SetCPU program? A file you can flash? Or is it an app?
Click to expand...
Click to collapse
You can't just use the app to overclock though. The stock kernel is only capable of 1ghz. You need a custom kernel that's set up to overclock. There are plenty to choose from, simple to install.

[Q] CPU Setting Question

As the thread states, I obviously have a question about SetCPU and processor settings.
Is it better to have the processor underclocked and almost always using 100% to use programs, or it better off to overclock and have more processing power without using 100% or close to that mark.
And what would be more beneficial for battery life.
Edit: And if mods could move this to Q&A. Clicked the wrong forum.
Thanks,
Cyanide
Cyanidex00 said:
As the thread states, I obviously have a question about SetCPU and processor settings.
Is it better to have the processor underclocked and almost always using 100% to use programs, or it better off to overclock and have more processing power without using 100% or close to that mark.
And what would be more beneficial for battery life.
Edit: And if mods could move this to Q&A. Clicked the wrong forum.
Thanks,
Cyanide
Click to expand...
Click to collapse
Actually we could use some hard evidence regarding this. Theories are theories, but actual experience is golden. Maybe you could try some various processor settings are report back?
Well, before I posted this I was using 245/886 underclocked with 245/245 screen off profile. At the end of the day I had an average about 75-80% percent battery life with pretty moderate to heavy usage.
I'm current using 245/1574 overclocked and will report back, with same screen off profile.
And yes, I did wipe battery stats before I started this.
Cyanidex00 said:
Well, before I posted this I was using 245/886 underclocked with 245/245 screen off profile. At the end of the day I had an average about 75-80% percent battery life with pretty moderate to heavy usage.
I'm current using 245/1574 overclocked and will report back, with same screen off profile.
And yes, I did wipe battery stats before I started this.
Click to expand...
Click to collapse
Cool, thanks for that info. Are you finding that forcing a 245 mhz screen off speed is impacting any apps running while your screen is off (e.g. music playing apps)? A couple of weeks ago I tried forcing the screen off at 122 mhz to see if that would help battery life, but I had big problems with music apps stuttering. I didn't play around with the speeds to see if raising the forced minimum to 245 would have fixed the problem. Some kernels advertise as a feature "Max speed - screen off 576MHz" or some other speed, but I don't know if it needs to be that high or not, for app stability.
I personally haven't tried any music or apps running while screen is off, I'll give it a whirl when I get home from work.
I know this obviously will vary from phone to phone, and how the user uses the phone. I'm pretty moderate to heavy usage daily. Hopefully maybe we can compile some data on what works for people.
I have my screen off profile set at 245 and have no problem streaming music from my SD card with the screen off. When streaming from the cloud, I sometimes get a very long pause between songs that isn't there with the screen on. I will try raising my screen off speed to see if that changes anything.
Sent from my Desire HD using XDA Premium App
henrybravo said:
Cool, thanks for that info. Are you finding that forcing a 245 mhz screen off speed is impacting any apps running while your screen is off (e.g. music playing apps)? A couple of weeks ago I tried forcing the screen off at 122 mhz to see if that would help battery life, but I had big problems with music apps stuttering. I didn't play around with the speeds to see if raising the forced minimum to 245 would have fixed the problem. Some kernels advertise as a feature "Max speed - screen off 576MHz" or some other speed, but I don't know if it needs to be that high or not, for app stability.
Click to expand...
Click to collapse
I noticed this yesterday. My screen off is also 245. My music stuttered, but only once (and it was fairly brief).
I raised the screen off speed to 368 and have not had any sputtering or long pauses between songs, even when streaming from the cloud.
Sent from my Inspire 4G using the power of the dark side.
biglittlegato said:
I raised the screen off speed to 368 and have not had any sputtering or long pauses between songs, even when streaming from the cloud.
Sent from my Inspire 4G using the power of the dark side.
Click to expand...
Click to collapse
Good to know, thanks!
Cyanidex00 said:
As the thread states, I obviously have a question about SetCPU and processor settings.
Is it better to have the processor underclocked and almost always using 100% to use programs, or it better off to overclock and have more processing power without using 100% or close to that mark.
And what would be more beneficial for battery life.
Edit: And if mods could move this to Q&A. Clicked the wrong forum.
Thanks,
Cyanide
Click to expand...
Click to collapse
I use SetCPU at 460/1152 brazilianwax, screen off 122/537 conservative and have good battery life and no issues when playing music w/ screenoff....
Overclocking is almost guaranteed to worsen battery life compared to say if it was at stock 1 ghz or a little less.
With a governor like on demand, its gonna scale from the lowest to to highest allowed as soon as it gets some load on it, eg from 245mhz to whatever Max is (1017, 1075, or 1920 etc), without stopping in between.
Even conservative with fast scaling will probably scale close to Max clock speed pretty quickly under load, so theoretically this should be a /little/ better for battery than on demand, but will not seem as fast and could possibly make the phone seem more laggy. Smartass is very similiar to conservative as it scales depending on a preset % of CPU load. If its set to 70%, when CPU reaches 70% load, it scales to next frequency, when that frequently hits 70% load, its scales again. The version of the on demand governor most of us have in out kernels is the fastest scaling option, which goes from min CPU - straight to max

Does the default HTC kernel scale cpu frequencies?

Hey guys,
I was playing around with SetCPU last night and I was wondering - do the default kernels scale the frequencies based on need or do they always sit at 1.3 or 1.56 ghz, depending on whether it's the original or the XE?
just curious, i've always wondered this
thanks,
zuka
Generally CPUs will work on a scale process, if they did not, you would notice your phone would he consistently hot and overheating from the constant maxed out use of your CPU. the controllers will undervolt your CPU (essentially lowering the voltage passing through) to save battery life and some will even act as a governer to prevent your CPU from getting too hot or maxing out and overheating your phone.
Sent from my HTC Sensation XE with Beats Audio using XDA App

Heat and battery drain when listening to music

Big problem here, my battery is being sucked by mediaserver and google play music.
Everything off (3g,WI FI, bluetooth) my nexus 5 is using 960 MHz just to play music in background, screen off. This causes a huge heat too. Any suggestions?
POSSIBLE SOLUTION Update to 4.4.1
No one cares?
Are you using Google Play Music?
Gesendet von meinem GT-S5830 mit Tapatalk 2
Yes. Also , i'm COMPLETELY stock
heat.. what cpu temps are you talking about? heat can be relative if youre talking about how it feels. feel isnt a temperature reading. and if you are using google play music, then the mediaserver battery drain is normal.
simms22 said:
heat.. what cpu temps are you talking about? heat can be relative if youre talking about how it feels. feel isnt a temperature reading. and if you are using google play music, then the mediaserver battery drain is normal.
Click to expand...
Click to collapse
So, it's normal that in about 3 hours my battery was completely discharged because i listened to music. Cool. Trust me, i can play most of games without heating up my phone like that. And what's about qualcomm special chip to play audio without using cpu? I guess it's there just for fun. Really, my galaxy nexus was able to play music for days without draining battery and being hot. Are you REALLY sure is it normal?
Nope something is wrong. Perhaps a bad app??? I've only ever used Google Play music on this phone and have never had this issue. This is including streaming music over data through bluetooth while driving with Viper4Android running for eq. Phone will usually run at 300MHz when listening to music.
Angelakaro said:
So, it's normal that in about 3 hours my battery was completely discharged because i listened to music. Cool. Trust me, i can play most of games without heating up my phone like that. And what's about qualcomm special chip to play audio without using cpu? I guess it's there just for fun. Really, my galaxy nexus was able to play music for days without draining battery and being hot. Are you REALLY sure is it normal?
Click to expand...
Click to collapse
so what cpu temp did you reach, you still havent posted it. and what about you battery stats, why not post them. it could be something else that actually killed your battery, you didnt post that either. it seems you have an issue somewhere, but you did not provide any support for it at all, just you saying its hot and the battery died while you listened to 3 hours of music.
AndrasLOHF said:
Nope something is wrong. Perhaps a bad app??? I've only ever used Google Play music on this phone and have never had this issue. This is including streaming music over data through bluetooth while driving with Viper4Android running for eq. Phone will usually run at 300MHz when listening to music.
Click to expand...
Click to collapse
It's not an app, even battery stats reports an unusual media server and google play music battery drain
simms22 said:
so what cpu temp did you reach, you still havent posted it. and what about you battery stats, why not post them. it could be something else that actually killed your battery, you didnt post that either. it seems you have an issue somewhere, but you did not provide any support for it at all, just you saying its hot and the battery died while you listened to 3 hours of music.
Click to expand...
Click to collapse
Sorry, you're right. I can't determine cpu temp, and i charged my phone a couple of hours ago, but there's still the old battery stats. I'm about to posting a screen
EDIT: i updated to 4.4.1 and my battery stats is gone, sh**. I'll post a new screenshot later if the issue will occur again
EDIT 2: i can't read cpu temp cause i'm stock
I'm sure it was play music + media server because the issue disappears simply by stopping the music player. I'm trying to reproduce the issue now that i've updated to 4.4.1
Angelakaro said:
Sorry, you're right. I can't determine cpu temp, and i charged my phone a couple of hours ago, but there's still the old battery stats. I'm about to posting a screen
EDIT: i updated to 4.4.1 and my battery stats is gone, sh**. I'll post a new screenshot later if the issue will occur again
EDIT 2: i can't read cpu temp cause i'm stock
Click to expand...
Click to collapse
ahh, i didnt realize that all the apps that give cpu temp require root.
I have the same problem. Phone stays in medium frequency and is noticeably warmer to the touch with screen off while playing music. The problem went away when I installed faux's kernel and used his intelliplug and interactive gov, but it caused the music to skip occasionally and if I use chrome while listening to music, the page scroll is VERY choppy. I think it has something to do with the hotplug driver. So my guess is Google music is simply having bursts of very high cpu usage. Also, I listen to FLAC, so that could be it, but flac was made for simple and quick decode so I doubt it.
simms22 said:
ahh, i didnt realize that all the apps that give cpu temp require root.
Click to expand...
Click to collapse
Nevermind however, it may sound strange but i think 4.4.1 fixes this issue and that the build brings specific optimization (new drivers?) to use that qualcomm chip (i think it's called DSP) instead of the cpu when doing minor things such as listening to music. Even if media server is still using cpu, i'm not able to reproduce the heat and the abnormal battery drain that i had in the last few days with 4.4. I'd like to say that the issue is solved, but i'll wait a couple of days, just to be sure. Meanwhile, everyone who has this issue may consider to update to 4.4.1 and see what changes
Deleted
Ok, it seems fixed. Here are some screenshot after my "usual" 3 hours of music playback...even if, as you can see, the first part of the graph (from 90% to 75%) shows a faster battery drain (i felt some heat too). The second drop (70% to 60%) was due to me since i used data, but music playback didn't wake up my n5. Also, i noticed that after the first drop, my phone didn't use the 960mhz CPU freq, it ran only at 300mhz
Sent from my Nexus 5 using XDA Premium 4 mobile app
Angelakaro said:
Ok, it seems fixed. Here are some screenshot after my "usual" 3 hours of music playback...even if, as you can see, the first part of the graph (from 90% to 75%) shows a faster battery drain (i felt some heat too). The second drop (70% to 60%) was due to me since i used data, but music playback didn't wake up my n5. Also, i noticed that after the first drop, my phone didn't use the 960mhz CPU freq, it ran only at 300mhz
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Are you using FLAC files as well? Also your pic says 404 error.
bblzd said:
Are you using FLAC files as well? Also your pic says 404 error.
Click to expand...
Click to collapse
Nope. I'm using only mp3s. I'm sorry for the screenshots, i'm having trouble updating them from my mobile. Here you are https://www.dropbox.com/sh/5vdw46ssh5f589s/O-SJ3WWyWW
Sent from my Nexus 5 using XDA Premium 4 mobile app
Did someone checked my screenshots? What do you think of them?
Inviato dal mio Nexus 5 usando xda premium 4

Categories

Resources