Hello, have you tried the ARGB pixelformat?
$>dfbinfo --dfb:pixelformat=ARGB regards Haithem On Sun, Aug 19, 2012 at 10:39 PM, Chuck McManis <chuck.mcma...@gmail.com>wrote: > Greetings everyone. > > I'm really happy to have found DirectFB, I'm hoping it will help me to > achieve my goals of creating some intelligent digital signs. > > I'm using a Pandaboard ES, which is running Ubunto 12.04.1 LTS with the TI > supplied OMAP drivers. I am not running X11 on this system and Wayland > isn't yet supported, but our old friend /dev/fb0 works fine :-) > > I pulled a copy of DirectFB from git, built it natively using > --with-gfxdrivers=omap and it built and installed (woot!) and I can run > most of the demos (there are a few things that break from missing data > files but that is ok) > > I would love it if I could get 2D acceleration, not sure if that is from > the omap driver or the pvr2d driver (which I did not build, but I could try > I suppose). > > My first question is this one, when I run any dfb program (and dfbinfo as > well) I get this error: > > (*) FBDev/Mode: Setting 1920x1080 RGB32 > (*) FBDev/Mode: Switched to 1920x1080 (virtual 1920x1080) at 32 bit > (RGB32), pitch 8192 > (!) DirectFB/FBDev: Could not set gamma ramp --> Invalid argument > (*) FBDev/Mode: Setting 1920x1080 RGB32 > (*) FBDev/Mode: Switched to 1920x1080 (virtual 1920x1080) at 32 bit > (RGB32), pitch 8192 > (!) DirectFB/FBDev: Could not set gamma ramp --> Invalid argument > > This comes from the code in systems/fbdev.c where it has this : > > D_INFO( "FBDev/Mode: Switched to %dx%d (virtual %dx%d) at %d bit > (%s), pitch %d\n", > var.xres, var.yres, var.xres_virtual, var.yres_virtual, > var.bits_per_pixel, > dfb_pixelformat_name(config->format), shared->fix.line_length > ); > > if (config->format == DSPF_RGB332) > dfb_fbdev_set_rgb332_palette(); > else > dfb_fbdev_set_gamma_ramp( config->format ); > > This seems like it is trying to set a gamma ramp because the > config->format value isn't recognized as a truecolor format? > > --Chuck > > _______________________________________________ > directfb-users mailing list > directfb-users@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > -- * Never say that's "impossible", the word itself says "I'm Possible" *
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users