2008-10-31 01:19:59 548 EZKIT - DirectFB - df_andi can't be run
AC CHAO (UNITED STATES)
Message: 64476
Hi,
I used 548 EZKIT and tried to play "df_andi" which is a example from DirectFB. But I didn't see the penguins but the message as below. If you know how can it be run, could you kindly advise? Thank you.
AC
root:/usr/lib> df_andi
=======================| DirectFB 1.1.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2008-10-30 02:59)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 282)...
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 283)...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 284)...
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 285)...
(*) DirectFB/Input: AD7877 Touchscreen (1) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 286)...
(*) DirectFB/Input: Cypress Cypress PS/2 Keyboard - (2) 0.1 (directfb.org)
(*) Direct/Thread: Running 'Linux Input' (INPUT, 287)...
(*) DirectFB/Input: Cypress Cypress PS/2 Keyboard - (3) 0.1 (directfb.org)
Direct/Modules: Could not open module directory `/usr/lib/directfb-1.1-0/gfxdrivers'!
--> No such file or directory
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(*) FBDev/Mode: Testing 480x272 RGB24
(*) FBDev/Mode: Preparing switch to 480x272 RGB24
(*) FBDev/Mode: Testing 480x272 RGB24
(*) FBDev/Mode: Preparing switch to 480x272 RGB24
(*) FBDev/Mode: Testing 480x272 RGB24
(*) FBDev/Mode: Preparing switch to 480x272 RGB24
(*) FBDev/Mode: Testing 480x272 RGB24
(*) FBDev/Mode: Preparing switch to 480x272 RGB24
(*) FBDev/Mode: Testing 480x272 RGB24
(*) FBDev/Mode: Preparing switch to 480x272 RGB24
(*) FBDev/Surface: Allocated 480x272 24bit RGB24 buffer at offset 0 and pitch 1440.
(*) FBDev/Mode: (Post)Setting 480x272 RGB24
(*) FBDev/Mode: Switched to 480x272 (480x272) at 24 bit RGB24 (wanted RGB24).
DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=0)!
--> Invalid argument
(*) FBDev/Mode: Testing 480x272 RGB24
(*) FBDev/Mode: Preparing switch to 480x272 RGB24
(*) FBDev/Mode: (Post)Setting 480x272 RGB24
(*) FBDev/Mode: Testing 480x272 RGB24
(*) FBDev/Mode: Testing 480x272 RGB24
(*) FBDev/Mode: Testing 480x272 RGB24
(*) FBDev/Mode: Preparing switch to 480x272 RGB24
(*) FBDev/Mode: Testing 480x272 RGB24
(*) FBDev/Mode: Preparing switch to 480x272 RGB24
(*) FBDev/Mode: Testing 480x272 RGB24
(*) FBDev/Mode: Preparing switch to 480x272 RGB24
(*) FBDev/Mode: Testing 480x272 RGB24
(*) FBDev/Mode: Preparing switch to 480x272 RGB24
(*) FBDev/Surface: Allocated 480x272 24bit RGB24 buffer at offset 0 and pitch 1440.
(*) FBDev/Mode: (Post)Setting 480x272 RGB24
(*) FBDev/Mode: Switched to 480x272 (480x272) at 24 bit RGB24 (wanted RGB24).
DirectFB/FBDev: Panning display failed (x=0 y=0 ywrap=0 vbl=0)!
--> Invalid argument
(*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
Hello, World
/usr/share/directfb-examples/tux.png
../../DirectFB-examples-1.0.1/src/df_andi.c <506>:
(#) DirectFBError [dfb->CreateImageProvider( dfb, DATADIR"/tux.png", &provider )]: No (suitable) implementation found!
(!!!) *** WARNING [Application exited without deinitialization of DirectFB!] *** [../../../DirectFB-1.1.1/src/core/core.c:861 in dfb_core_deinit_check()]
(!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [../../../DirectFB-1.1.1/lib/fusion/object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [../../../DirectFB-1.1.1/lib/fusion/object.c:241 in fusion_object_pool_destroy()]
(!!!) *** WARNING [still objects in 'Surface Pool'] *** [../../../DirectFB-1.1.1/lib/fusion/object.c:241 in fusion_object_pool_destroy()]
QuoteReplyEditDelete
2008-10-31 01:32:49 Re: 548 EZKIT - DirectFB - df_andi can't be run
AC CHAO (UNITED STATES)
Message: 64477
Hi,
Message
"Hello, World"
"/usr/share/directfb-examples/tux.pn"
were added by me. The original message didn't have these two message.
Please kindly help on how to run "df_andi". Thank you.
AC
QuoteReplyEditDelete
2008-10-31 04:11:41 Re: 548 EZKIT - DirectFB - df_andi can't be run
Mike Frysinger (UNITED STATES)
Message: 64485
did you enable png support ?
QuoteReplyEditDelete
2008-11-01 15:25:35 Re: 548 EZKIT - DirectFB - df_andi can't be run
AC CHAO (UNITED STATES)
Message: 64589
Hello Mike,
Thank you for your direction.
I have selected the libpng and other name with png in menuconfig, but df_andi still can't be run.
I think my setting procedure is not correct.
Could you advie how to enable png support correctly?
Thank you.
Regards,
AC
QuoteReplyEditDelete
2008-11-01 17:33:03 Re: 548 EZKIT - DirectFB - df_andi can't be run
Mike Frysinger (UNITED STATES)
Message: 64591
you also need to rebuild DirectFB
QuoteReplyEditDelete
2008-11-02 19:05:37 Re: 548 EZKIT - DirectFB - df_andi can't be run
AC CHAO (UNITED STATES)
Message: 64604
Hi Mike,
Thank you for your direction.
I modified the makefile in the folder of build-DirectFB-1.1.1/Interface/iDirectFBImageProvider.
I removed "#" before some statements with png.
Then do "make" again without doing "make clean".
Therefore libidirectfbimageprovider_png.so was created in staging/usr/lib/directfb-1.1_0/interfaces/IDirectFBImageProvider and this .so file was in uImage too.
Now I can see the 200 penguins.
Thank you.
Best regards,
AC
QuoteReplyEditDelete
2008-11-02 21:34:50 Re: 548 EZKIT - DirectFB - df_andi can't be run
AC CHAO (UNITED STATES)
Message: 64607
Hi Mike,
I just tried another way to enable png.
After doing "make", I modifed the file config.status in
/home/ac/uClinux-dist-2008R1.5-RC3/lib/DirectFB/build-DirectFB-1.1.1
Here is what I changed
s,@PNG_PROVIDER_TRUE@,|#_!!_#|,g
s,@PNG_PROVIDER_FALSE@,|#_!!_#|#,g
Then run ./config.status
ac@ac-desktop:~/uClinux-dist-2008R1.5-RC3/lib/DirectFB/build-DirectFB-1.1.1$ ./config.status
It will generate the Makefiles for all the subdirecties under build-DirectFB-1.1.1.
Then "make" again
ac@ac-desktop:~/uClinux-dist-2008R1.5-RC3$ make
, the uImage will have proper files too.
Thank you.
Best regards,
AC
QuoteReplyEditDelete
2008-11-02 21:37:06 Re: 548 EZKIT - DirectFB - df_andi can't be run
AC CHAO (UNITED STATES)
Message: 64608
Hi Mike,
I just tried another way to enable png.
After doing "make", I modifed the file config.status in
/home/ac/uClinux-dist-2008R1.5-RC3/lib/DirectFB/build-DirectFB-1.1.1
Here is what I changed
s,@PNG_PROVIDER_TRUE@,|#_!!_#|,g
s,@PNG_PROVIDER_FALSE@,|#_!!_#|#,g
Then run ./config.status
ac@ac-desktop:~/uClinux-dist-2008R1.5-RC3/lib/DirectFB/build-DirectFB-1.1.1$ ./config.status
It will generate the Makefiles for all the subdirecties under build-DirectFB-1.1.1.
Then "make" again
ac@ac-desktop:~/uClinux-dist-2008R1.5-RC3$ make
, the uImage will have proper files too.
Thank you.
Best regards,
AC
QuoteReplyEditDelete
2008-11-03 10:35:57 Re: 548 EZKIT - DirectFB - df_andi can't be run
AC CHAO (UNITED STATES)
Message: 64629
Hi Mike,
If select "[*] Build libpng" in menuconfig, it should have "--enable-png " to run the configure in folder DirectFB-1.1.1 and create proper Makefiles.
In the past I didn't do "make clean" after "make menuconfig", so even I selected "Build libpng", it will not generate new Makefiles.
After "[*] Build libpng", "make clean", and "make", now things are correct.
Thank you.
Best regards,
AC