I have tried the DirectFB-1.2.0-rc1, and now the DirectFB can work
correctly.So I re-cross compiled the GTK-DirectFB and its dependencies,
and the GTK widget could display on my screen , but the fonts and the
colors of the widget was incorrect.The fonts looked strange and the
color of widget was always pink.
I think it is the problem of fonts and color settings(rgb settings error
?),how can I resolve this problem ?
Thanks for your help sincerely.
To Brian Rhodes:
Is the package davincifb_2.6.10.tar.bz2 ? I dowloaded it but there
was no document or readme file to explain how to use it.
Brian Rhodes wrote:
> It looks like you are using Montavista 4.0 which explains why it's not
> working. You will need to either add the support expected by the
> davinci graphics driver to the linux fb driver, or use the included
> kernel source. I can't remember if it was a patch or the entire
> driver. You could also look at using the GIT kernel driver, which last
> I checked, also did not have the required support. Or you can backport
> the driver from Montavista 4.0.1 which is actually laid out fairly
> nice. In any event you will either need to add support in the driver
> for some of the ioctls the davinci graphics driver needs, or you will
> need to work-around that code in the graphics driver.
> XiuHua Wu wrote:
>
>> 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
>> [email protected]
>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>>
>>
>>
>
> _______________________________________________
> directfb-users mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>
>
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users