Hi Roland,
my first thought is that your screen is BGR24 instead of RGB24.
I do not think it is an endianess problem, since RGB24 is generally copied byte-by-byte. BGR24 is currently not supported by DirectFB but in general a new pixel format can be added within a day. You also might try "dfbdump -ds -dl" to dump the current layer and surface content to check if the DirectFB internals are correct (which is what I expect if your screen is BGR24).

Greetings
Niels

Roland Patauner wrote:

Dear DirectFb experts,

I am working on a board with an AT91SAM9263 processor (an ARM processor) basing on the ATMEL evaluation board AT92SAM9263-EK.

Accessing directly to the framebuffer works fine (we run RGB24 mode per default), and the colors are shown correctly.

When we use DirectFb, the display shows a blue color instead of a red one and vice versa.

When I set the bg color with pure red (dfbg –dfb:pixelformat=RGB24 –c FF0000) I get a “blue screen” on the display.

This behavior I observed on all tested DirectFb versions: 1.0.0, 1.1.1, 1.2.5, 1.2.8, 1.3.0 and 1.4.0. Version 1.3.1 is not producible because of a compiling error in memcopy.c

We run a 2.6.27 kernel

In attachment you will find all console logs.

If you need more details, please let me know.

Thanks in advance for your help,

Best regards

Roland Patauner

Softwareentwicklung

---------------------------------------------------------------------------------

unknown.gif

        

MEC electronics Entwicklung

und Produktion GmbH

email: [email protected] <mailto:[email protected]>_

tel: +43 (1) 33 41 855 - 35

fax: +43 (1) 33 41 855 - 949

Dresdner Straße 45 / DG, A-1200 Wien

---------------------------------------------------------------------------------

»Was schon gestern gut war, machen wir für morgen besser«

------------------------------------------------------------------------

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


--

.------------------------------------------.
| 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