Monochrome framebuffer driver

Adam Jackson ajax at
Thu Oct 29 14:25:58 PDT 2009

On Fri, 2009-10-30 at 03:06 +0600, Mikhail Gusarov wrote:
> Twas brillig at 17:02:31 29.10.2009 UTC-04 when ajax at did gyre and gimble:
>  >> What's the right way of implementing a monochrome framebuffer
>  >> driver? Using 8bpp with fbdev and do the mapping in the kernel, or
>  >> write an x driver?
>  AJ> fbScreenInit(bpp = 1)
> Btw, does it work (or at least is it supposed to work) for 2 or 4 bits
> per pixel?

2 almost certainly doesn't work.  Among other things there's a nasty bug
in the protocol where depth-2 images would have to be 4bpp, and I'm sure
no one's tested that since NeXT.  Depth 4 is expected to work though.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the xorg mailing list