Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Skin buffer size

Re: Skin buffer size

From: Jonathan Gordon <jdgordy_at_gmail.com>
Date: Mon, 26 Jul 2010 13:15:24 +1000

Can you try my build with FS#11470 please?
http://jdgordon.info/rockbox-clipp.zip It doesn't specifically fix
your issue but it should be able tot load your theme now anyway.

On 17 July 2010 00:27, Edgar Toernig <froese_at_gmx.de> wrote:
> Jonathan Gordon wrote:
>>
>> On 16 July 2010 12:13, Edgar Toernig <froese_at_gmx.de> wrote:
>> >
>> > 1*SKIN_FONT_SIZE or 5*SKIN_FONT_SIZE doesn't change the available
>> > buffer space reported by System->Rockbox Info: it stays at 7.34MB
>> > (on an 8MB device!).
>>
>> That would be a rounding error then.
>
> I just tried 200*SKIN_FONT_SIZE - still 7.34MB.
>
> Rafaël Carré wrote:
>> The Clip+ has the same amount than Clipv2 (8MB + 1MB IRAM)
>>
>> Clipv1 has 2MB + 320kB IRAM
>
> Is it possible that the skin buffer, which is in the BSS, is placed in
> the IRAM and doesn't affect the track buffer?
>
>> The other option of course is to figure out why your skin is using so
>> much buffer and how to cut that down. How many fonts are you loading?
>> how many images? etc?
>
> Well, it's not the first time I got these errors - I think anybody using
> an exclusive font in a skin has seen this error (on a Sansa Clip*).
> Often, resetting the SBS and selecting a builtin font frees enough space
> to let the skin load again.  But with my current skin, which includes
> most of the classic status bar and thus duplicates some images and tokens,
> breaks the limit.  Before loading the fonts it shows 9.7kB/12kB used
> and the rest is not enough for a single font.
>
> I've attached a snapshot of the skin and some screenshots (2nd pic is
> while seeking, 3rd during first couple of seconds of the track).
>
> Ciao, ET.
>
Received on 2010-07-26

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy