dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Skin buffer size

Re: Skin buffer size

From: Edgar Toernig <>
Date: Fri, 16 Jul 2010 16:27:50 +0200

Jonathan Gordon wrote:
> On 16 July 2010 12:13, Edgar Toernig <> 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.

(image/png attachment: Watch-1.png)

(image/png attachment: Watch-1b.png)

(image/png attachment: Watch-1c.png)

Received on 2010-07-16

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