Skip to contentSkip to conversation

2.6.8.1-mm2

DISCUSSION Andrew Morton 4 participants 4 messages Aug 20, 2004 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

Begin forwarded message:

Date: Fri, 20 Aug 2004 11:21:27 +0300
From: ismail dönmez <[email protected]>
To: Andrew Morton <[email protected]>
Cc: [email protected]
Subject: Re: 2.6.8.1-mm2

Quoted 2 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm2/

Minor issue but still no penguin logo on framebuffer. Config attached in case.

Cheers,
ismail

#1 lore raw
Quoted 8 lines · Andrew Morton

Begin forwarded message:

Date: Fri, 20 Aug 2004 11:21:27 +0300
From: ismail dönmez <[email protected]>
To: Andrew Morton <[email protected]>
Cc: [email protected]
Subject: Re: 2.6.8.1-mm2

Quoted 6 lines
Quoted 2 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6 .8.1-mm2/

Minor issue but still no penguin logo on framebuffer. Config attached in case.

The latest fbdev changes in the mm tree differentiates between bpp and color depth. The vesafb driver at 8 bpp has a color depth of 6 only (try fbset -i) allowing only for 64 colors. So fbdev assumes that vesafb at this depth cannot draw a 224-color logo.

Try using the 16-color logo instead. The correct fix is for vesafb to correctly determine the true capability of the hardware instead of arbitrarily setting the color depth at 6.

Tony

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

#2 lore raw
Quoted 9 lines · Antonino A. Daplas
Quoted 7 lines · Andrew Morton

From: ismail dönmez <[email protected]>

Quoted 2 lines · Andrew Morton

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6 .8.1-mm2/

Minor issue but still no penguin logo on framebuffer. Config attached in case.

Quoted 7 lines

The latest fbdev changes in the mm tree differentiates between bpp and color depth. The vesafb driver at 8 bpp has a color depth of 6 only (try fbset -i) allowing only for 64 colors. So fbdev assumes that vesafb at this depth cannot draw a 224-color logo.

Try using the 16-color logo instead. The correct fix is for vesafb to correctly determine the true capability of the hardware instead of arbitrarily setting the color depth at 6.

It's not arbitrarily: it's the old convention of setting the color bitfield lengths to the number of significant bits of that color component. VGA has 2^18 colors.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

#3 lore raw
In reply to Antonino A. Daplas
Quoted 2 lines · Antonino A. Daplas

Try using the 16-color logo instead. The correct fix is for vesafb to correctly determine the true capability of the hardware instead of arbitrarily setting the color depth at 6.

Yes this works as a workaround but the code should beter be fixed.

Cheers,
ismail

Signature · 8 lines
Time is what you make of it


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285