nanogui: 16bit color depth in microwindows


Previous by date: 29 Oct 2001 23:07:38 -0000 Re: 16bit color depth in microwindows, Jordan Crouse
Next by date: 29 Oct 2001 23:07:38 -0000 Re: 16bit color depth in microwindows, Greg Haerr
Previous in thread: 29 Oct 2001 23:07:38 -0000 Re: 16bit color depth in microwindows, Jordan Crouse
Next in thread: 29 Oct 2001 23:07:38 -0000 Re: 16bit color depth in microwindows, Greg Haerr

Subject: Re: [nanogui] 16bit color depth in microwindows
From: "Greg Haerr" ####@####.####
Date: 29 Oct 2001 23:07:38 -0000
Message-Id: <055f01c160d0$4d8dd790$6817dbd0@censoft.com>

:    I am trying to get the MicroWindows Framebuffer to handle
: 16 bits / pixel.  (Specifically, TRUECOLOR565).  The pallette
: translation works fine on X11 on my host PC-based system.
: However, the same image on our embedded system's LCD
: display (framebuffer) shows really screwed up colors.
: 
:    Does fb.c not handle TRUECOLOR565 correctly?  If so, what
: must be done to fix this?

Yes, TRUECOLOR565 is definitely handled correctly.  Your problem is
likely either:

1) The device is really running TRUECOLOR555 (15bpp) rather than 565.

2) The device needs some strange palette values set up in order for
the 5,6,5 to display properly.  Check on the ioctl_setpalette function
(and others nearby) in the drivers/scr_fb.c file.

This same thing happened to me for about a year until I finally
figured out that my home ATI card ran 555 rather than 565.

Greg


Previous by date: 29 Oct 2001 23:07:38 -0000 Re: 16bit color depth in microwindows, Jordan Crouse
Next by date: 29 Oct 2001 23:07:38 -0000 Re: 16bit color depth in microwindows, Greg Haerr
Previous in thread: 29 Oct 2001 23:07:38 -0000 Re: 16bit color depth in microwindows, Jordan Crouse
Next in thread: 29 Oct 2001 23:07:38 -0000 Re: 16bit color depth in microwindows, Greg Haerr


Powered by ezmlm-browse 0.20.