Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansа Clip Zip - Improve battery life
« previous next »
  • Print
Pages: 1 ... 8 9 [10] 11 12 ... 22

Author Topic: Sansа Clip Zip - Improve battery life  (Read 95625 times)

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Sansа Clip Zip - Improve battery life
« Reply #135 on: January 09, 2015, 09:19:50 PM »
Quote from: Mihail Zenkov on January 09, 2015, 01:05:59 PM
Quote from: [Saint] on January 09, 2015, 11:26:43 AM
In practice, I'm strictly against boosting unless its absolutely necessary.
Why?

I'm somewhat surprised that a person who goes to the lengths you have for the sake of efficiency would need to ask this question.

Quote from: Mihail Zenkov on January 09, 2015, 01:05:59 PM
Quote from: [Saint] on January 09, 2015, 11:26:43 AM
The 'solution' at this stage would be to not use a volatile experimental build.
It test build, we resolve all problems with zip and clip+. If we also resolve problems with clip v2 and fuze v2, it should by good enough for main branch.

So...experimental, then. Right.

Quote from: saratoga on January 09, 2015, 01:20:32 PM
However, I don't really see the point of discussing it now.  We haven't worked out the problems with boosting on half the AMSv2 devices, and I am still skeptical about how stable we are on some of the others.  At the moment, only the Clip Zip seems completely debugged. 

Viola.

Some sanity. I'm glad someone gets it. There really is no public facing issue here at all, and at best it seems to be sidestepping issues with buggy scaling.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9190
Re: Sansа Clip Zip - Improve battery life
« Reply #136 on: January 09, 2015, 09:33:19 PM »
I don't think boosting is all that inefficient.  Compared to keeping the screen on the cost is negligible, so I don't see it as an efficiency problem.

I'd just like to focus on one thing at a time.  Having multiple experimental changes at once makes testing complex.  And I still haven't gotten around to committing the audio stuff . . .
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: Sansа Clip Zip - Improve battery life
« Reply #137 on: January 10, 2015, 06:23:16 AM »
Quote from: [Saint] on January 09, 2015, 09:19:50 PM
Quote from: Mihail Zenkov on January 09, 2015, 01:05:59 PM
Quote from: [Saint] on January 09, 2015, 11:26:43 AM
In practice, I'm strictly against boosting unless its absolutely necessary.
Why?
I'm somewhat surprised that a person who goes to the lengths you have for the sake of efficiency would need to ask this question.

Without this patch all AMSv2 players always in boost mode :) But I agree, we can discussing it later.
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: Sansа Clip Zip - Improve battery life
« Reply #138 on: January 19, 2015, 03:44:15 PM »
saratoga:

oid_maps can help with testing fuze v2. Can you create new build for fuze v2?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9190
Re: Sansа Clip Zip - Improve battery life
« Reply #139 on: January 19, 2015, 04:44:14 PM »
What do you think should be tested?  Maybe 96MHz PCLK with no other changes? 
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: Sansа Clip Zip - Improve battery life
« Reply #140 on: January 19, 2015, 05:28:57 PM »
Yes, we should check 96Mhz PCLK with divided DBOP as you mention early.

Also I think we should try same but with increased delays in dbop-as3525.c.
Logged

Offline oid_maps

  • Artist
  • Member
  • *
  • Posts: 31
Re: Sansа Clip Zip - Improve battery life
« Reply #141 on: January 26, 2015, 10:07:10 AM »
Quote from: saratoga on January 02, 2015, 11:17:01 AM
I think devices with a wheel will boost whenever the wheel is used.  Here is one more build:

http://web.mit.edu/mgg6/www/rockbox-fuzev2_64MHz_2.7z

I just put this on the fuze v2 -- since it seems to be the latest build -- but then, when switching to "hold" and coming back, device _sometimes_ does not come back. Reset by holding power-button for several seconds is necessary.

Hangs also on keypress in file browser. Seems to _completely_ hang, since sometimes LCD gets blurred, like when you just leave electrical LCD-contacts open.

Hm ..

By the way: The up to date patches? Since I usually build from source and don't use precompiled images. (I also add one very small minor patch, which has to do with radio tuner region settings.)
« Last Edit: January 26, 2015, 10:10:19 AM by oid_maps »
Logged
My audio players:
* Olympus WS-811 (no rockbox )-:)
* Sansa Fuze v2 (rockbox (git build) (-:)

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9190
Re: Sansа Clip Zip - Improve battery life
« Reply #142 on: January 26, 2015, 12:32:58 PM »
The latest patch is here:

http://gerrit.rockbox.org/r/#/c/1062/

Here is one other build, which is similar to the others (clock changes) but no boosting:

http://mit.edu/mgg6/www/rockbox-fuzev2.7z

Logged

Offline keyb_gr

  • Member
  • *
  • Posts: 44
Re: Sansа Clip Zip - Improve battery life
« Reply #143 on: January 27, 2015, 06:51:13 PM »
I can basically confirm the effect of the sound patch on my new Clip+ (made late 2014):

Quote from: Mihail Zenkov on December 06, 2014, 12:03:42 PM
WARNING: this patch may improve battery life and sound quality :)

Sound quality checked with RMAA and emu-0204.
[...]

No load, 0dB.
Without patch      With patch
Dynamic range, dBA:   93.395.0
THD, %:0.0160.0037
IMD, %:0.0190.0065

A SB Audigy FX said 0.015% THD with a Jan 9 build, with one from Jan 23 (the sound patch was checked in at Jan 19) it's 0.0038%. (Volume +3 dB, RG pre-gain -3.0 dB, no RG tags on files.) IMD+N is noise limited but I don't see any discrete components above -90 dB, pretty good. DR showed about 93 dB(A). Curiously, crosstalk is now up to -70 dB across the band, while it reached 90-ish dB before with some increase towards the highs. If that's purely internal and has nothing to do with headphone xtalk levels, I can live with that.

Oddly enough, my old (late-2010 production) Clip+ already showed fairly low distortion with the "old" build, but its noise was much higher (by 12-13 dB). Shouldn't be when both are using the same RB build and configuration, right? Old results show 0.016% THD though, so possibly the chip incurred some damage in the meantime (maybe the poor thing got zapped one time too many). Output volume isn't any quieter than it should be, it's just noisier.

BTW, RMAA results in 48 kHz mode look like crap because the pitch is way off... almost +0.8%, that's close to classic Clip pitch bug territory. Looks like the PLL settings for that one could still use some tweaking. (I was using 48k because I found that both the Audigy FX and my old onboard ALC262 would catch an unduly amount of extra noise recording in 44.1k, easily 7-8 dB more even when compared to 16/48. I suspect some jitter or aliasing issues. Ultimately I ended up resampling the 48k test files in software so I could play them at 44.1 while recording at 48.)

Has the "turn off USB while not connected" patch been checked in yet (or how well does that part work)? I can't really tell from this thread. Saving 5 mA which are basically being wasted would seem quite attractive.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9190
Re: Sansа Clip Zip - Improve battery life
« Reply #144 on: January 27, 2015, 10:17:14 PM »
Yes, that is committed. 
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: Sansа Clip Zip - Improve battery life
« Reply #145 on: January 28, 2015, 02:36:49 PM »
As I mention before - zip consume to much for transferring PCM to DAC. I check DMA - we can use burst mode for better efficacy. Setting burst size to 16 save 1mA. It should be much batter for bigger size, but it don't work correctly for I2SO. Not sure why - I2SO have FIFO 128x36 bit, so bigger burst size should work. IMHO DMA transferring with burst size 16 consume 2mA - it still very much: decoding mp3 consume 2mA.

In any case we very close to 30 hours of mp3 ;)
* rockbox-dma_brust.patch.txt (0.53 kB - downloaded 118 times.)
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: Sansа Clip Zip - Improve battery life
« Reply #146 on: January 28, 2015, 04:26:34 PM »
I think I found why we have problem with unboost after usb disconnected.
* rockbox-usb.patch.txt (0.38 kB - downloaded 134 times.)
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: Sansа Clip Zip - Improve battery life
« Reply #147 on: January 29, 2015, 07:43:42 AM »
Useful info about DMA:
https://lkml.org/lkml/diff/2010/7/21/498/1
http://infocenter.arm.com/help/topic/com.arm.doc.faqs/ka12660.html
http://infocenter.arm.com/help/topic/com.arm.doc.faqs/ka11898.html
« Last Edit: January 29, 2015, 07:46:05 AM by Mihail Zenkov »
Logged

Offline music_lover001

  • Member
  • *
  • Posts: 11
Re: SansA Clip Zip - Improve battery life
« Reply #148 on: January 29, 2015, 06:55:21 PM »
Quote from: saratoga on January 27, 2015, 10:17:14 PM
Yes, that is committed.
It is very possible that I am unusually dense, but what what committed?  I checked, but did not find anything mentioned in the change log.
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: Sansа Clip Zip - Improve battery life
« Reply #149 on: January 29, 2015, 07:24:46 PM »
Quote from: music_lover001 on January 29, 2015, 06:55:21 PM
It is very possible that I am unusually dense, but what what committed?
http://git.rockbox.org/?p=rockbox.git;a=commit;h=02414bf286e4ff6a08d19e951bff1e0905d330b4
Logged

  • Print
Pages: 1 ... 8 9 [10] 11 12 ... 22
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansа Clip Zip - Improve battery life
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.126 seconds with 22 queries.