Hi all,
I'm running DirectFB on an arm, xscale-IXP42 platform. Graphics chipset is
SM722, framebuffer driver is smfb and kernel 2.6.11.
Output from fbset is:
~ # fbset -i
mode "800x600-35"
# D: 25.176 MHz, H: 22.438 kHz, V: 35.391 Hz
geometry 800 600 800 600 16
timings 39721 138 24 24 4 160 6
accel false
rgba 5/11,6/5,5/0,0/0
endmode
~ #
The problem is that colors aren't displayed correctly, I suspect this is
related to ARM big endianness.
When displaying a red image using the dfbg command the screen displays a
blueish color. Displaying a green png file gives a red color and blue gives
a greenish color.
Anyone else experienced this or have good ideas how to solve this properly?
I suppose some bitshifting be needed.
The framebuffer driver was found as a patch on the internet for Lynx3DM+
chipset, in the chipset manual I can't find any registers for setting the
endianness.
Grateful for any input,
Cheers Olov
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users