Denis Oliver Kropp ha scritto: > Marco Cavallini [KOAN] wrote: >> Denis Oliver Kropp ha scritto: >>> diff -urNp DirectFB-1.1.1-orig/systems/fbdev/fbdev.c >>> DirectFB-1.1.1-bgr24/systems/fbdev/fbdev.c >>> --- DirectFB-1.1.1-orig/systems/fbdev/fbdev.c 2008-01-18 >>> 21:29:37.000000000 +0100 >>> +++ DirectFB-1.1.1-bgr24/systems/fbdev/fbdev.c 2008-02-09 >>> 11:49:32.000000000 +0100 >>> @@ -1505,9 +1505,11 @@ static DFBSurfacePixelFormat dfb_fbdev_g >>> break; >>> >>> case 24: >>> - if (dfb_fbdev_compatible_format( var, 0, 8, 8, 8, 0, >>> 16, 8, 0 )) >>> + if (dfb_fbdev_compatible_format( var, 0, 8, 8, 8, 0, 16, >>> 8, 0 )) >>> return DSPF_RGB24; >>> - >>> + if (dfb_fbdev_compatible_format( var, 0, 8, 8, 8, 8, 16, 0, >>> 0 )) // BGR24 (MCK) >>> >>> >>> =======> What does fbset -i tell you? >> >> # fbset -i >> >> mode "320x240-58" >> # D: 6.220 MHz, H: 14.201 kHz, V: 57.963 Hz >> geometry 320 240 320 240 24 >> timings 160771 68 20 1 1 30 3 >> accel false >> rgba 8/0,8/8,8/16,0/0 >> endmode > > Then your code was wrong and Ville is right :) > Thank you all for your support and for answering :-) BTW I'm quite puzzled and I don't understand what Ville wanted to mean. Could you be so kind to explain me what do I have to do then ? TIA
-- Marco Cavallini | KOAN sas | Bergamo - Italia embedded and real-time software engineering Phone:+39-035-255.235 - Fax:+39-178-22.39.748 http://www.KoanSoftware.com _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev