Favor Tang wrote:
---------- Forwarded message ----------
From: Favor Tang <[email protected]>
Date: Thu, May 21, 2009 at 12:30 PM
Subject: problem with directfb example
To: [email protected]


hi. all

my target board is beagleboard.

I have cross-compiled directfb for beagleboard. but when I test the
examples in directfb-examples, some can be run without error, but the
others will failed.

please help me to figure out what's the problem it is.  is it the
error about framebuffer arguments, or is it the error about lacking of
HW acceleration driver?

Where is the HW acceleration driver error?
Did I overlook it?


I mean the directfb don't have the HW driver acceleration for
beagleboard, is that right? ( please see the error details  pasted
below)

If there is no correct HW driver you can always try the argument "--dfb:no-hardware" to see if that works.

r...@beagleboard:~# dfbinfo
no problem
r...@beagleboard:~# dfbdump
no problem
r...@beagleboard:~# df_fir...@beagleboard:~# df_fire
 (!!!)  *** WARNING [unable to adjust heap offset] *** [surfacemanager.c:167 in
dfb_surfacemanager_adjust_heap_offset()]
(*) FBDev/Surface: Allocated 1024x768 8 bit LUT8 buffer (index 1) at offset 3145
728 and pitch 4096.
(!) DirectFB/FBDev: Panning display failed (x=0 y=768 ywrap=0 vbl=0)!
   --> Invalid argument
(!) [ 1624:    0.000] --> Caught signal 11 (at 0x40ec5000, invalid permissions)
<--
the "signal 11" (segmentation fault) is fatal, it would be interesting if you had a backtrace of that. Also, the panning failing is due to the fact that it cannot reserve a sufficiently large buffer; check your FB driver in the kernel, or retry with a lower resolution first to see if that works (like VGA 640x480 is a good choice). You might try df_dok which is less memory hungry than df_andi.


 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in
fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in
 fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusio
n_object_pool_destroy()]
Aborted

r...@beagleboard:~# df_anr...@beagleboard:~# df_andi
(!) DirectFB/FBDev: yres 768, vyres 1024, offset 768
 (!?!)  *** BUG [panning buffer out of range] *** [fbdev.c:1560 in dfb_fbdev_pan
()]
(*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
(*) Direct/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'.
(*) Direct/Interface: Using 'JPEG' implementation of 'IDirectFBImageProvider'.
(!) [ 1635:    0.005] --> Caught signal 11 (at 0x40ec5000, invalid permissions)
<--
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in
fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in
 fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusio
n_object_pool_destroy()]
Aborted

r...@beagleboard:~# df_knur...@beagleboard:~# df_knuckles

(!) DirectFB/FBDev: yres 768, vyres 1024, offset 768
 (!?!)  *** BUG [panning buffer out of range] *** [fbdev.c:1560 in dfb_fbdev_pan
()]
(!) [ 1658:    0.000] --> Caught signal 11 (at 0x40ec5000, invalid permissions)
<--
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in
fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in
 fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusio
n_object_pool_destroy()]
Aborted
r...@beagleboard:~#


I hope to get more help from you.

thanks
--
~~~~~~~~~~~~~~~~~
 /favor
~~~~~~~~~~~~~~~~~





--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to