Rockbox General > Rockbox General Discussion

Completely disable power management

(1/3) > >>

palik4:
I'm experiencing random skips and freezes with Rockbox 3.14 on my Sandisk Sansa Clip+ using a Sandisk UltraSDXC 128 GB SD card. I'm pretty sure they're related to heavy power management that managed to double battery life and was introduced in 3.14. Playback stops and device starts to hang as if it was waiting for a blocking event. Once I even got a dc_write_callback() PANIC as well. I experience this a few times a week and is getting more and more annoying.

I don't really have the time and the patience to do hours of debugging with dozens of development builds. I just want to use my Clip+ for playing music, preferably with a stable version. Rockbox performs very well on my Clip+ and goes for about 26-30 hours, however I would also be happy with going only for 12 hours if it was stable enough.

I would like to tell Rockbox to stop messing around with voltages or stop all kinds of power management. How would this be possible?

I was also thinking of going back to 3.13 but I would really miss some new improvements like adjustable resampler, high quality compressor, etc.

Help is appreciated.

saratoga:
Under the debug menu, you can go and set the CPU boost to 2 or higher, in which case all clocks and voltages are locked at max.  Might be worth trying that with a playlist set to loop overnight and see if it crashes. 

palik4:
That's exactly I was looking for. Thanks!

Are the values of maximum voltages the same as the original firmware (with less power management capabilities in general) uses most of the time?

Meanwhile I found a very similar issue. Does setting boost_counter to 2 achieve the same voltage raise for the SD card that your patch would do with boost_countetr=0?

How can I make the setting of boost_counter persistent and keep it even after a reboot?

saratoga:
We don't know what the OF voltages are, although I suppose for something external like the SD card you might be able to measure them with some effort.

Disabling voltage and clock scaling is not the same as the SD card changes in that thread.

If raising the boost counter works, I'll make you a build that has it by default.

palik4:

--- Quote ---If raising the boost counter works, I'll make you a build that has it by default.
--- End quote ---
Thanks, that would be useful. Meanwhile I was able to create my own build environment inside docker, so a diff would be enough. ;)

However, first I'll see if the solution for the mentioned SD card freeze issue solves my problem, as I have found your patch from June 2017 on CVDD2 voltage increase for SD cards. I took that and cherry-picked on top of the v3.14 branch, then created a custom 3.14 build for further testing during normal operation. It works so far without issues. We'll see how it goes for a week.

By the way, regarding power management, is there any chance of Rockbox PM distorting audio at specific volume ranges? How is the voltage of the end amplifier (that generates the output for headphones) linked to CPU voltage/frequency?

Navigation

[0] Message Index

[#] Next page

Go to full version