Hi all, I'm Poletti Francesco from Arenagiochi, a small italian factory working in the field of game amusement machine. We are using the JADE evaluation board from mycable, that has a porting of the directfb library (version 1.2).
We are having problems with the usage of the dual display, particoularly if I execute the command: >df_andi --dfb:mode=800x600 --dfb:fbdev=/dev/fb0 it works fine on the first display, on the other hand when I run: >df_andi --dfb:mode=800x600 --dfb:fbdev=/dev/fb1 It works on the second display!But when I try to have directfb running on the two display at the same time: if I run: >df_andi --dfb:mode=800x600 --dfb:fbdev=/dev/fb0 & >df_andi --dfb:mode=800x600 --dfb:fbdev=/dev/fb1 --dfb:no-vt --dfb:no-cursor I get the error reported at the end of this email, while if I in an application I try to get information about the second screen (id= 1) I get: (#) DirectFBError [IDirectFB::GetScreen]: Requested ID not found! On my opinion there's something wrong in the frame buffer driver because if I run "dfbinfo" I get: >Screen (00) FBDev Primary Screen (primary screen) >Caps: VSYNC POWER_MANAGEMENT >Layer (00) FBDev Primary Layer >Type: GRAPHICS >Caps: SURFACE BRIGHTNESS CONTRAST SATURATION Where is the second screen? Do we have to configure something in the .direfbrc file? Can someone help us? Do someone have a C/C++ application working using directfb on the two display at the same time? Many thanks in advance Francesco. Error: ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2008 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Multi Application Core. (2008-08-21 14:34) [ DEBUG ][ TRACE ] (*) Fusion/Init: Builtin Implementation is still experimental! Crash/Deadlocks might occur! (*) Fusion/SHM: Using MADV_REMOVE (2.6.22.19 >= 2.6.19.2) (*) Direct/Thread: Started 'Fusion Dispatch' (-1) [MESSAGING OTHER/OTHER 0/0] <8388608>... (*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>... (*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] <8388608>... (*) DirectFB/Input: Keyboard 0.9 (directfb.org) (*) DirectFB/Graphics: mycable GmbH xxsvideo 0.1 (mycable GmbH) (*) DirectFB/Core/WM: Default 0.3 (directfb.org) (*) FBDev/Surface: Allocated 800x600 16 bit ARGB1555 buffer (index 0) at offset 0 and pitch 1600. (*) FBDev/Surface: Allocated 800x600 16 bit ARGB1555 buffer (index 0) at offset 0 and pitch 1600. (*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'. (*) Direct/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'. (*) Direct/Interface: Using 'JPEG' implementation of 'IDirectFBImageProvider'. df_andi --dfb:mode=800x600 --dfb:fbdev=/dev/fb1 --dfb:no-vt --dfb:no-cursor ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2008 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Multi Application Core. (2008-08-21 14:34) [ DEBUG ][ TRACE ] (*) Fusion/Init: Builtin Implementation is still experimental! Crash/Deadlocks might occur! (*) Fusion/SHM: Using MADV_REMOVE (2.6.22.19 >= 2.6.19.2) (*) Direct/Thread: Started 'Fusion Dispatch' (-1) [MESSAGING OTHER/OTHER 0/0] <8388608>... (*) DirectFB/Graphics: mycable GmbH xxsvideo 0.1 (mycable GmbH) (*) FBDev/Surface: Allocated 800x600 16 bit ARGB1555 buffer (index 0) at offset 0 and pitch 1600. (*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'. (*) Direct/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'. (*) Direct/Interface: Using 'JPEG' implementation of 'IDirectFBImageProvider'. (!) [Main Thread 8.848] ( 633) *** Assertion [lock_count > 0] failed *** [surface_buffer.c:315 in dfb_surface_buffer_unlock()] (-) [ 633: -STACK- ] #0 0x400b32c0 in dfb_surface_buffer_unlock () from /lib/libdirectfb-1.2.so.0 [0x40025000] #1 0x400b06c4 in dfb_surface_unlock_buffer () from /lib/libdirectfb-1.2.so.0 [0x40025000] #2 0x4007d63c in gRelease () from /lib/libdirectfb-1.2.so.0 [0x40025000] #3 0x400905f8 in dfb_gfxcard_batchblit () from /lib/libdirectfb-1.2.so.0 [0x40025000] #4 0x4003efcc in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] (!) [ 633: 9.241] --> Caught signal 5 (unknown origin) <-- (-) [ 633: -STACK- ] #0 0x4013bef8 in signal_handler () from /lib/libdirect-1.2.so.0 [0x40130000] #1 0x400b32c0 in dfb_surface_buffer_unlock () from /lib/libdirectfb-1.2.so.0 [0x40025000] #2 0x400b06c4 in dfb_surface_unlock_buffer () from /lib/libdirectfb-1.2.so.0 [0x40025000] #3 0x4007d63c in gRelease () from /lib/libdirectfb-1.2.so.0 [0x40025000] #4 0x400905f8 in dfb_gfxcard_batchblit () from /lib/libdirectfb-1.2.so.0 [0x40025000] #5 0x4003efcc in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] (-) [ 634: -STACK- ] #0 0x400f390c in ?? () from /lib/libfusion-1.2.so.0 [0x400ea000] #1 0x4014627c in $a () from /lib/libdirect-1.2.so.0 [0x40130000] (-) [ 643: -STACK- ] sh: nm: not found #0 0x402bed00 in ?? () from /lib/directfb-1.2-0/systems/libdirectfb_fbdev.so [0x402b2000] #1 0x4014627c in $a () from /lib/libdirect-1.2.so.0 [0x40130000] (-) [ 644: -STACK- ] sh: nm: not found #0 0x41b12c64 in ?? () from /lib/directfb-1.2-0/inputdrivers/libdirectfb_keyboard.so [0x41b11000] #1 0x4014627c in $a () from /lib/libdirect-1.2.so.0 [0x40130000] Killed # (!!!) *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()] (-) [ 633: -STACK- ] #0 0x400f9668 in fusion_object_pool_destroy () from /lib/libfusion-1.2.so.0 [0x400ea000] #1 0x400856d8 in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] #2 0x4008595c in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] #3 0x400ee2bc in fusion_arena_exit () from /lib/libfusion-1.2.so.0 [0x400ea000] #4 0x40084f94 in dfb_core_destroy () from /lib/libdirectfb-1.2.so.0 [0x40025000] #5 0x40085304 in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] #6 0x4013bef8 in signal_handler () from /lib/libdirect-1.2.so.0 [0x40130000] #7 0x400b32c0 in dfb_surface_buffer_unlock () from /lib/libdirectfb-1.2.so.0 [0x40025000] #8 0x400b06c4 in dfb_surface_unlock_buffer () from /lib/libdirectfb-1.2.so.0 [0x40025000] #9 0x4007d63c in gRelease () from /lib/libdirectfb-1.2.so.0 [0x40025000] #10 0x400905f8 in dfb_gfxcard_batchblit () from /lib/libdirectfb-1.2.so.0 [0x40025000] #11 0x4003efcc in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] (!!!) *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()] (-) [ 633: -STACK- ] #0 0x400f9668 in fusion_object_pool_destroy () from /lib/libfusion-1.2.so.0 [0x400ea000] #1 0x400856d8 in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] #2 0x4008595c in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] #3 0x400ee2bc in fusion_arena_exit () from /lib/libfusion-1.2.so.0 [0x400ea000] #4 0x40084f94 in dfb_core_destroy () from /lib/libdirectfb-1.2.so.0 [0x40025000] #5 0x40085304 in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] #6 0x4013bef8 in signal_handler () from /lib/libdirect-1.2.so.0 [0x40130000] #7 0x400b32c0 in dfb_surface_buffer_unlock () from /lib/libdirectfb-1.2.so.0 [0x40025000] #8 0x400b06c4 in dfb_surface_unlock_buffer () from /lib/libdirectfb-1.2.so.0 [0x40025000] #9 0x4007d63c in gRelease () from /lib/libdirectfb-1.2.so.0 [0x40025000] #10 0x400905f8 in dfb_gfxcard_batchblit () from /lib/libdirectfb-1.2.so.0 [0x40025000] #11 0x4003efcc in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] (!!!) *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()] (-) [ 633: -STACK- ] #0 0x400f9668 in fusion_object_pool_destroy () from /lib/libfusion-1.2.so.0 [0x400ea000] #1 0x400856d8 in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] #2 0x4008595c in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] #3 0x400ee2bc in fusion_arena_exit () from /lib/libfusion-1.2.so.0 [0x400ea000] #4 0x40084f94 in dfb_core_destroy () from /lib/libdirectfb-1.2.so.0 [0x40025000] #5 0x40085304 in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] #6 0x4013bef8 in signal_handler () from /lib/libdirect-1.2.so.0 [0x40130000] #7 0x400b32c0 in dfb_surface_buffer_unlock () from /lib/libdirectfb-1.2.so.0 [0x40025000] #8 0x400b06c4 in dfb_surface_unlock_buffer () from /lib/libdirectfb-1.2.so.0 [0x40025000] #9 0x4007d63c in gRelease () from /lib/libdirectfb-1.2.so.0 [0x40025000] #10 0x400905f8 in dfb_gfxcard_batchblit () from /lib/libdirectfb-1.2.so.0 [0x40025000] #11 0x4003efcc in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] (!) Direct/Thread: Canceling 'Fusion Dispatch' (634)! (-) [ 633: -STACK- ] #0 0x40145004 in direct_thread_destroy () from /lib/libdirect-1.2.so.0 [0x40130000] #1 0x400f3e30 in fusion_exit () from /lib/libfusion-1.2.so.0 [0x400ea000] #2 0x40084f94 in dfb_core_destroy () from /lib/libdirectfb-1.2.so.0 [0x40025000] #3 0x40085304 in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000] #4 0x4013bef8 in signal_handler () from /lib/libdirect-1.2.so.0 [0x40130000] #5 0x400b32c0 in dfb_surface_buffer_unlock () from /lib/libdirectfb-1.2.so.0 [0x40025000] #6 0x400b06c4 in dfb_surface_unlock_buffer () from /lib/libdirectfb-1.2.so.0 [0x40025000] #7 0x4007d63c in gRelease () from /lib/libdirectfb-1.2.so.0 [0x40025000] #8 0x400905f8 in dfb_gfxcard_batchblit () from /lib/libdirectfb-1.2.so.0 [0x40025000] #9 0x4003efcc in ?? () from /lib/libdirectfb-1.2.so.0 [0x40025000]
<<image/gif>>
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users