Quoting robbie chen ([EMAIL PROTECTED]):
> Hi:
>      Problem found in DirectFB example 0.9.13/src df_porter.c 
> 
>      /* set our cooperative level to DFSCL_FULLSCREEN
>         for exclusive access to the primary layer */
>      DFBCHECK(dfb->SetCooperativeLevel( dfb, DFSCL_FULLSCREEN));
> 
>      /* get the primary surface, i.e. the surface of the
>         primary layer we have exclusive access to */
>      {
>           DFBSurfaceDescription dsc;
> 
>           dsc.flags = DSDESC_CAPS ;//| DSDESC_PIXELFORMAT;
>           dsc.caps = DSCAPS_PRIMARY | DSCAPS_VIDEOONLY;
>           dsc.pixelformat = DSPF_ARGB;
> 
>           DFBCHECK(dfb->CreateSurface( dfb, &dsc, &primary ));
>      }
>     when CreateSurface,DFB report : Invalid argument,Not supported.
> 
> My Viedo Card chipset is nVidia RIVA TNT2

Your frame buffer driver doesn't seem to support 32 bit modes.
Do you use rivafb? Looked at /proc/fb?

You could comment out the SetCooperativeLevel() call or strip out
the DFBCHECK embracement and call the application with
"--dfb:force-windowed". This way a window with ARGB format is created
and blended onto your whatever-bit-depth screen.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to