Michael Schmitz wrote: > > > > 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.
It works fine with the glint driver and pm2fb. > 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. Right. Geert explained to me that the depth is encoded in the fb_bitfields for red, green, blue and transparency. > 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 ... Please elaborate what you have tried. Michel -- Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast Debian GNU/Linux (powerpc,i386) user \ member of XFree86 and The DRI Project