-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Denis Oliver Kropp wrote:
> Michele Da Rold wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
>>
>> Hi all, when i execute the command dfbg I obtain this result and
>> my display don't show anything (please note there are some kernel
>> messages into the result because I'm using a serial console)
>> Directfb are cross compiled for a arm9 board with LCD-TFT driver.
>>  / # dfbg -c 22226622
>>
>> ---------------------- DirectFB v0.9.24 --------------------- (c)
>> 2000-2002  convergence integrated media GmbH (c) 2002-2004
>> convergence GmbH
>> -----------------------------------------------------------
>>
>> (*) DirectFB/Core: Single Application Core. (2005-12-21 09:19)
>> (*) Direct/Threadlh7a40x_clcd_mmap : Running 'VT Switcher'
>> (CRITICAL, 104)... (!) DirectFB/FBDev: couldn't access
>> /proc/bus/pci/devices! --> No such file or directory (*)
>> DirectFB/Graphics: Generic Software Rasterizer 0.6 (convergence
>> integrated media GmbH) (*) DirectFB/Core/WM: Default 0.2
>> (Convergence GmbH) (!!!)  *** UNIMPLEMENTED
>> [fusion_reactor_set_lock] *** [reactor.c:797] CLCD: disabling LCD
>>  CLCD: enabling LCD (!) DirectFB/FBDev: Unsupported pixelformat:
>> rgba 5/0, 6/5, 5/11, 0/0 (16bit)
>
> Oh, that doesn't look good :-/
>
> It seems that the framebuffer driver provides BGR instead of RGB.
>
> I had one case where a driver pretends BGR, but actually it was
> RGB. You can hack systems/fbdev/fbdev.c:1497 (comment out that
> line) and see if colors are correct.
>
> If not, you can either change the framebuffer driver or add BGR16
> support to DirectFB, but I would prefer the former if possible :)
>
>
> Here the modified code snippet, in case you have a slight line
> offset:
>
> case 16: if (dfb_fbdev_compatible_format( var, 0, 5, 5, 5, 0, 10,
> 5, 0 ) | dfb_fbdev_compatible_format( var, 1, 5, 5, 5,15, 10, 5, 0
> ) ) return DSPF_ARGB1555;
>
> if (dfb_fbdev_compatible_format( var, 0, 4, 4, 4,  0, 8, 4, 0 ) |
> dfb_fbdev_compatible_format( var, 4, 4, 4, 4, 12, 8, 4, 0 ) )
> return DSPF_ARGB4444;
>
> // HACK               if (dfb_fbdev_compatible_format( var, 0, 5,
> 6, 5, 0, 11, 5, 0 )) return DSPF_RGB16;
>
> break;
>
>
I have modify my lcd driver to support RGB color and not BGR now I
have another problem with the same command (and with the other the
output is the same):

/ # dfbg -c ff107ce8

       ---------------------- DirectFB v0.9.24 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2004  convergence GmbH
        -----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2005-12-21 09:39)
(*) Direct/Threadlh7a40x_clcd_mmap
: Running 'VT Switcher' (CRITICAL, 216)...
(!) DirectFB/FBDev: couldn't access /proc/bus/pci/devices!
    --> No such file or directory
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (convergence
integrated media GmbH)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
 (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:797]
(!) DirectFB/FBDev: Panning display failed!
    --> Invalid argument
CLCD: disabling LCD
CLCD: enabling LCD

I can't understand why..
Best regards and thank you for your help

- --
Michele Da Rold
ECS s.r.l.
via del Candel - 55/D
32100 Belluno (Italy)
Tel. +39 0437 33101
Fax +39 0437 359631
micheledarold[at]ecsproject[dot]com
http://www.ecsproject.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDqoU2rNHLthynPGURAsGkAJ9AC+f794sGkdjM8Q0iPGDhj1waTwCfd8Fi
8I0WT9Ug3PdtqfYT+o0l5Y0=
=Dcd0
-----END PGP SIGNATURE-----


_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to