Hi, XiuHua Wu, First, I suggest that should not use so many complie options, just use those absolutely necessarily.Then try agian. Second, you should make sure that your graphic hardware driver is working.
Best regards, chiachen [EMAIL PROTECTED] 2008-06-26 ======= 2008-06-26 16:13, your message: [directfb-users] The problem of running DirectFB programs!======= Hi: I'm a novice to DirectFB, and I have successfully cross compiled the DirectFB(version:1.1.1) and GTK-DirectFB(version:2.12.8) for my davinci 6446.But I encounter some problems when I try to run some DirectFB or GTK-DirectFB testing programs. If I just ran a very simple DirectFB testing program to draw a line or a rectangle, it could draw the line or rectangle on my screen successfully.But when I tried any complexer testing programs (for example, create a window on the display layer and do some operations), it failed to display.Here is the log message: =======================| DirectFB 1.1.1 |======================= (c) 2001-2007 The DirectFB Organization (directfb.org) (c) 2000-2004 Convergence (integrated media) GmbH ------------------------------------------------------------ (*) DirectFB/Core: Multi Application Core. (2008-06-25 03:49) [ DEBUG ] (*) Fusion/Init: Builtin Implementation is still experimental! Crash/Deadlocks might occur! (*) Fusion/SHM: NOT using MADV_REMOVE (2.6.10.0 < 2.6.19.2)! [0x02060a00] (*) Direct/Thread: Running 'Fusion Dispatch' (MESSAGING, 2287)... (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 2297)... (*) Direct/Thread: Running 'PS/2 Input' (INPUT, 2308)... (*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org) (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 2309)... (*) DirectFB/Input: Keyboard 0.9 (directfb.org) (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) (*) DirectFB/Core/WM: Default 0.3 (directfb.org) (*) FBDev/Mode: Testing 640x480 RGB16 (*) FBDev/Mode: Preparing switch to 640x480 RGB16 (*) FBDev/Mode: Testing 640x480 RGB16 (*) FBDev/Mode: Preparing switch to 640x480 RGB16 (*) FBDev/Mode: Testing 640x480 RGB16 (*) FBDev/Mode: Preparing switch to 640x480 RGB16 (*) FBDev/Mode: Testing 640x480 RGB16 (*) FBDev/Mode: Preparing switch to 640x480 RGB16 (*) FBDev/Mode: Testing 640x480 RGB16 (*) FBDev/Mode: Preparing switch to 640x480 RGB16 (*) FBDev/Surface: Allocated 640x480 16bit RGB16 buffer at offset 0 and pitch 1440. (*) FBDev/Mode: (Post)Setting 640x480 RGB16 (*) FBDev/Mode: Switched to 640x480 (640x480) at 16 bit RGB16 (wanted RGB16). (*) FBDev/Mode: Testing 640x480 RGB16 (*) FBDev/Mode: Preparing switch to 640x480 RGB16 (*) FBDev/Mode: (Post)Setting 640x480 RGB16 (*) FBDev/Mode: Testing 640x480 RGB16 (*) FBDev/Mode: Testing 640x480 RGB16 (*) FBDev/Mode: Preparing switch to 640x480 RGB16 (*) FBDev/Mode: Testing 640x480 RGB16 (*) FBDev/Mode: Preparing switch to 640x480 RGB16 (*) FBDev/Mode: Testing 640x480 RGB16 (*) FBDev/Mode: Preparing switch to 640x480 RGB16 (*) FBDev/Mode: Testing 640x480 RGB16 (*) FBDev/Mode: Preparing switch to 640x480 RGB16 (*) FBDev/Surface: Allocated 640x480 16bit RGB16 buffer at offset 0 and pitch 1280. (*) FBDev/Mode: (Post)Setting 640x480 RGB16 (*) FBDev/Mode: Switched to 640x480 (640x480) at 16 bit RGB16 (wanted RGB16). Width : 640, Height : 480 (!) [Main Thread 0.837] ( 2286) *** Assertion [surface->num_buffers > 0] failed *** [../../../src/core/surface.h:287 in dfb_surface_ge t_buffer()] (!) [ 2286: 0.837] --> Caught signal 5 (unknown origin) <-- (!!!) *** 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 fusion_object_pool_destroy()] (!) Direct/Thread: Canceling 'Fusion Dispatch' (2287)! It puzzled me so much, and I couldn't find the reason.I use these compile options to cross compile the DirectFB: ../configure --enable-osx=no --enable-x11=no --enable-mmx=yes --enable-fbdev=yes --enable-sdl=no --enable-video4linux=yes --enable-video4linux2=yes --enable-zlib=yes --enable-jpeg=yes --enable-png=yes --enable-gif=yes --enable-freetype=yes --with-gfxdrivers=davinci --with-inputdrivers=linuxinput,ps2mouse,keyboard --with-tests --host=arm-linux --build=i386-linux --target=arm-linux --prefix=/arm --enable-multi --enable-debug-support=yes --enable-debug=yes --enable-extra-warnings=yes --enable-unique=yes Is there anything wrong ? Or I have missed something ? _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users . = = = = = = = = = = = = = = = = = = = =
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users