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

Re: [directfb-users] Problems with pixelformat rgba 6/0, 6/0, 6/0, 0/0



On Sat, Dec 02, 2006 at 09:59:06PM +0100, Attilio Fiandrotti wrote:
> Ville Syrjälä wrote:
> >
> >
> >4bit sounds like vga16fb to me.
> >
> 
> uhm.. i often noticed we also have vga16fb loaded, which usually gives 
> us fb1 aside fb0 by vesafb: if fb0 and fb1 were swapped could that be 
> the cause of this bug?

Yes. IIRC vga16fb uses a planar format instead of packed pixels so it 
would not work with DirectFB even if we had DSPF_LUT4.

Actually... A quick look at the vga16fb code indicates it does support 
4bpp and 8bpp packed modes too. So DirectFB could work if a 8bpp mode is 
selected, ie. having pixelformat=DSPF_RGB332 or pixelformat=DSPF_LUT8 in 
your directfbrc. Unfortunately vga16fb does have a video memory limit of 
16KB in these modes...

-- 
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/



Reply to: