[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Color depth issues (was Re: XF4 binaries, ...)



> > There's some strangeness with XF4 I'd like to see if you can figure out.
> > If
> > I start X in 16-bit depth, everything is very, very green. But if I
> > start in
> > 15-bit, it's fine. I think 24-bit is ok, too. Do you know why this might
> > be?
> 
> Me guesses that these are issues with the kernel frame-buffer that the driver is 
> still using. Michel and Ani might have more information on this. The Mach64 
> driver has the same issues right now.

16 bit depth is unversally broken at least whenever the fbdevhw driver is
used. Part of the problem seems to be that the kernel driver is only
passed the pixel size (bits_per_pixel) which is 16 for both 15 and 16 bit
depth. The fb_var struct doen't have a separate field for depth. But 
that's not all - I've tried a variety of hacks to make the kernel driver
use the 16 bit depth to no avail. Some part of the X server appears to use
the wrong depth ...

	Michael



Reply to: