Re: [Question] Colour management
From: Ville Syrjälä <syrjala@sci.fi>
Date: 2004-07-31 22:10:18
Attachments
- fbi_directcolor_565_fix.patch [text/plain] 1345 bytes · preview
From: Ville Syrjälä <syrjala@sci.fi>
Date: 2004-07-31 22:10:18
On Fri, Jul 30, 2004 at 08:12:36PM +0200, Alexander Kern wrote:
Hallo Tony, can you explain the deep mining of fb_setcolreg. Background, I observe wrong palette using in 15 and 16 bpp modes, but can not understand, what is the right approach. In both cases from penguin logo I can see only contour in honey yellow and blue vertical string jsimmons, pretty scury ;-) The rest is black! The simple text or ncurses applications have always right colours. Additionally and only by 16bpp fbi shows blurry images.
I just had a look at the fbi code and it's wrong. It was initializing the clut to 555. The attached patch fixes the problem. I think the boot logo code is broken. No, I haven't actually looked at it but everything else works... Or does it work on some other directcolor hw? -- Ville Syrjälä syrjala@sci.fi http://www.sci.fi/~syrjala/