Dropped kdrive == fbdev regression

Adam Jackson ajax at nwnk.net
Fri Mar 10 16:25:43 UTC 2017


On Fri, 2017-03-10 at 12:52 +0000, Steven Newbury wrote:
> Since kdrive, in particular Xfbdev has been dropped, this has left a
> hole in support for MONO (1bpp) framebuffer devices.  I've been using
> Xfbdev for a picolcd mono matrix device for a few years.
> 
> The Xorg fbdev driver only supports a minimum of 8bpp framebuffer
> formats which wasn't a problem given the existance of Xfbdev, but now
> leaves a whole class of hardware unsupportable.

Looks like this is just an oversight in the fbdev driver. Care to try a
patch?

diff --git a/src/fbdev.c b/src/fbdev.c
index af1587f..0da63fb 100644
--- a/src/fbdev.c
+++ b/src/fbdev.c
@@ -623,6 +623,7 @@ FBDevPreInit(ScrnInfoPtr pScrn, int flags)
        case FBDEVHW_PACKED_PIXELS:
                switch (pScrn->bitsPerPixel)
                {
+               case 1:
                case 8:
                case 16:
                case 24:

- ajax


More information about the xorg mailing list