Hello!
I am using gtk+-directfb-2.0.9-2 with a compulab's 686 (geode 1200)
and a specific fb driver (kernel 2.4.31).
The driver default's geometry is 640 480 640 480 16, but with this
geometry my gtk-directfb program crashes with this error:
!!!) *** WARNING [fbdev driver possibly buggy] *** [fbdev.c:1609 in
dfb_fbdev_set_mode()]
(!!!) *** ONCE [unsupported destination format] *** [generic.c:5077
in gAcquire()]
So I changed fb driver's source to force the geometry: 640 480 640 960
16. Now I could see a mouse cursor, but I a window I create is a black
box and I get this error:
(!) DirectFB/FBDev: Panning display failed!
--> Invalid argument
Anyone can figure why? In the fb driver's source I saw a memory offset
structure:
typedef struct _MemOffset
{
unsigned short xres;
unsigned short yres;
unsigned short bpp;
unsigned long CBOffset;
unsigned short CBPitch;
unsigned short CBSize;
unsigned long CurOffset;
unsigned long OffScreenOffset;
}
MemOffset_t;
static MemOffset_t GeodeMemOffset[] = {
/* CRT and TFT modes */
{640, 480, 8, 640, 1024, 272, 0x78000, 0x78100},
{640, 480, 16, 1280, 2048, 272, 0x610, 0xF0000},
{640, 480, 32, 2560, 4096, 272, 0xB10, 0x1E0000},
};
Could It be fixed changing these parameters?
Thank you all,
Carlos
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev