Denis Oliver Kropp wrote:
>
> Måns Zigher schrieb:
>> Hi!
>>
>> I am trying to get Directfb to work on a AT91SAM9261 evaluation board
>> from atmel.
>> I would like Directfb to only use the frambuffer and nothing else like
>> the gfxdrivers or
>> the like. My configure that I am running is
>>
>> the prefix is /opt/uclibc_eldk/
>>
>> ./configure --host=arm-linux --build=i486-linux --target=arm
>> --prefix=$PREFIX --libdir=$PREFIX/lib --include=$PREFIX/include
>> --disable-x11 --enable-debug --disable-voodoo --disable-sdl
>> --enable-jpeg --enable-zlib --enable-png --disable-gif --enable-freetype
>> --disable-video4linux --disable-video4linux2 --disable-video4linux
>> --disable-video4linux --with-gfxdrivers=none
>>
>>
>> But when I try to run the simple example that should printout a line on
>> the screen I get the
>>
>>
>> =======================| DirectFB 1.0.0 |=======================
>> (c) 2001-2007 The DirectFB Organization ( directfb.org
>> <http://directfb.org>)
>> (c) 2000-2004 Convergence (integrated media) GmbH
>> ------------------------------------------------------------
>>
>> (*) DirectFB/Core: Single Application Core. (2007-03-22 13:54) [ DEBUG ]
>> (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 717)...
>> (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 718)...
>> (*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org <http://directfb.org>)
>> (*) Direct/Thread: Running 'Linux Input' (INPUT, 719)...
>> (*) DirectFB/Input: ADS784x Touchscreen 0.1 (directfb.org
>> <http://directfb.org>)
>> (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 720)...
>> (*) DirectFB/Input: Keyboard 0.9 (directfb.org <http://directfb.org>)
>> (!) Direct/Modules: Unable to dlopen
>> `/usr/libdirectfb-1.0-0/gfxdrivers/libdirectfb_radeon.so'!
>> --> File not found
>> (!) Direct/Modules: Unable to dlopen
>> `/usr/libdirectfb-1.0-0/gfxdrivers/libdirectfb_matrox.so'!
>> --> File not found
>> (!) Direct/Modules: Unable to dlopen
>> `/usr/libdirectfb-1.0-0/gfxdrivers/libdirectfb_nvidia.so'!
>> --> File not found
>
> I'm not sure why it fails to open with the correct path after reading
> the correct path.
>
> configure sets this:
>
> MODULEDIR=$libdir/$MODULEDIRNAME
>
>> (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org
>> <http://directfb.org>)
>> (*) DirectFB/Core/WM: Default 0.3 (directfb.org <http://directfb.org> )
>> (!) DirectFB/FBDev: Unsupported pixelformat: rgba 5/0, 5/5, 5/10, 0/0
>> (16bit)
>> (!!!) *** WARNING [unknown format] *** [fbdev.c:1853 in
>> dfb_fbdev_set_mode()]
>> (!!!) *** ONCE [unsupported destination format] *** [ generic.c:6530
>> in gAcquire()]
>
> Sure you have BGR555? Adding support to DirectFB would be easy.
>
>> why is it trying to use radeon.so matrox.so and nvidia.so. The example
>> program should only printout a line on the screen
>> and if that simple program have to use those modules the directfb might
>> not be appropriate for a embedded system?
>> I thought that directfb could be used as a library and nothing else as
>> long as a frambuffer exists is this correct and how should I configure
>> it then?
>
> Your configure'ation seems fine.
>
> --
> Best regards,
> Denis Oliver Kropp
>
> .------------------------------------------.
> | DirectFB - Hardware accelerated graphics |
> | http://www.directfb.org/ |
> "------------------------------------------"
>
> _______________________________________________
> directfb-users mailing list
> directfb-users@directfb.org
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>
>
But way do it need the
/usr/libdirectfb-1.0-0/gfxdrivers/libdirectfb_matrox.so
I have set the --with-gfxdrivers=none in the configuration.
And how do I change the pixelformat the error accoures in the call
dsc.flags = DSDESC_CAPS;
dsc.caps = DSCAPS_PRIMARY | DSCAPS_FLIPPING;
DFBCHECK (dfb->CreateSurface( dfb,&dsc,&primary));
I have changed the flags and the caps but nothing helps and the API
documentation about the flags dont help much.
--
View this message in context:
http://www.nabble.com/How-to-configure-directfb-for-embedded-system--tf3465920.html#a9672011
Sent from the DirectFB Users mailing list archive at Nabble.com.
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users