I can't help you from the information you have given me. By driver I mean the kernel /dev/fb driver.
It looks like your driver may not be reporting its real layout. Is it a custom driver ? Is your lcd panel really 18bpp ? ( your symptoms suggest this ) RGB16 mode should work on all color lcd devices. For all I know its custom hardware and somebody munged the board. This is not exactly uncommon :( See http://linux-fbdev.sourceforge.net/ Its only a few lines of code to upen the driver yourself and play with the setup. I think it would help you a lot if you spent some time learning about the fb driver if you plan to use it in and embedded environment. Mike On 9/29/06, bharani krishna <[EMAIL PROTECTED]> wrote: > Thanks Mike! > > 1) Is it the driver code .../DirectFB.../fbdev/fbdev.c > 2) dfbg -c <color code> can u pls tell me any color code format, i mean can > give 'rgba' or 'argb' > > Thx > > BK > > On 9/29/06, Mike Emmel <[EMAIL PROTECTED]> wrote: > > You can play around with setting the back ground to solid colors Red > > Green Blue etc. > > > > And dig into the driver. Obviously something is wrong. > > > > On 9/28/06, bharani krishna < [EMAIL PROTECTED]> wrote: > > > is it 'rgba' instead of 'argb' make sense? I still get doubt that RGB is > not > > > in proper order seems to be. > > > > > > Please help > > > > > > Thx/Rgds > > > BK > > > > > > > > > > > > On 9/29/06, Mike Emmel <[EMAIL PROTECTED]> wrote: > > > > Bharani sent me this I'm sending it back to the list. > > > > > > > > I don't see anything wrong here should have just worked tm :( > > > > > > > > Mike > > > > > > > > > > > > On 9/28/06, bharani krishna < [EMAIL PROTECTED] > wrote: > > > > > herewith below my results. Im running ARM and using xscale tools > chain. > > > > > > > > > > # ./fbset -i > > > > > > > > > > > > > > > > > > > > mode "640x480-110" > > > > > # D: 50.000 MHz, H: 60.096 kHz, V: 110.066 Hz > > > > > geometry 640 480 640 480 32 > > > > > timings 20000 64 64 32 32 64 2 > > > > > rgba 8/16,8/8,8/0,8/24 > > > > > endmode > > > > > > > > > > > > > > > > > > > > Frame buffer device information: > > > > > Name : OSD Virtual FB > > > > > Address : 0x4a400000 > > > > > Size : 1228800 > > > > > Type : PACKED PIXELS > > > > > Visual : TRUECOLOR > > > > > XPanStep : 1 > > > > > YPanStep : 1 > > > > > YWrapStep : 1 > > > > > LineLength : 2560 > > > > > Accelerator : No > > > > > > > > > > > > > > > > > > > > On 9/29/06, Mike Emmel < [EMAIL PROTECTED] > wrote: > > > > > > What hardware are you running on ? > > > > > > You tried > > > > > > dfbg --dfb:pixelformat=ARGB1666 > > > > > > dfbg --dfb:pixelformat=RGB16 > > > > > > > > > > > > and what are the results of fbset ? > > > > > > > > > > > > > > > > > > > > > > > > On 9/28/06, bharani krishna < [EMAIL PROTECTED]> wrote: > > > > > > > Its the same, i can see blue color much, others colors not much. > > > > > > > > > > > > > > depth=24 or 18 or 32 (also tried) > > > > > > > pixelformat=ARGB / RGB32 > > > > > > > mode=1024x768/640x480 > > > > > > > > > > > > > > But still same i can see blue color, whereas other color not > much. > > > > > Please > > > > > > > let me how to set 565 mode. > > > > > > > > > > > > > > > > > > > > > On 9/28/06, Mike Emmel < [EMAIL PROTECTED]> wrote: > > > > > > > > What's your screen pixel depth ? > > > > > > > > > > > > > > > > This sounds like it's in 1666 mode on one of the 18bpp lcds. > If it > > > is > > > > > > > > then you get a bluish color as you describe and the rest of > the > > > colors > > > > > > > > are faded out. Setting only red or green should result in a > ugly > > > but > > > > > > > > not blue color. > > > > > > > > > > > > > > > > Try going back to 565 mode it should work. > > > > > > > > Next if I'm right support for 18bpp pixels was just added. > > > > > > > > > > > > > > > > > > > > > > > > On 9/28/06, bharani krishna < [EMAIL PROTECTED] > wrote: > > > > > > > > > I tried and even added /etc/directfbrc files as below > > > > > > > > > > > > > > > > > > depth=32 > > > > > > > > > pixelformat=ARGB > > > > > > > > > mode=640x40 > > > > > > > > > > > > > > > > > > But still the picture can see more in blue color. By the way > im > > > > > trying > > > > > > > to > > > > > > > > > display jpeg picture. > > > > > > > > > > > > > > > > > > =BK > > > > > > > > > > > > > > > > > > > > > > > > > > > On 9/28/06, Denis Oliver Kropp < [EMAIL PROTECTED] > wrote: > > > > > > > > > > bharani krishna schrieb: > > > > > > > > > > > Hi all, > > > > > > > > > > > > > > > > > > > > > > Im able to compile DirectFB 0.9.25 and trying to run > 'dfbg' > > > > > example > > > > > > > code > > > > > > > > > > > on ARM. I execute with jpeg, png also, but color is not > > > proper. > > > > > I > > > > > > > can > > > > > > > > > > > see much 'blue' color. Is this anything related to ARGB > need > > > to > > > > > be > > > > > > > set > > > > > > > > > > > in DirectFB before run? > > > > > > > > > > > > > > > > > > > > You can try with the pixelformat option being set to ARGB: > > > > > > > > > > > > > > > > > > > > dfbg --dfb:pixelformat=ARGB image.png > > > > > > > > > > > > > > > > > > > > This will only change the format of the display layer if > > > > > > > > > > it's the first DirectFB process started in a session. > > > > > > > > > > > > > > > > > > > > You could also just add "pixelformat = ARGB" to > > > /etc/directfbrc. > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > Best regards, > > > > > > > > > > Denis Oliver Kropp > > > > > > > > > > > > > > > > > > > > > .------------------------------------------. > > > > > > > > > > | DirectFB - Hardware accelerated graphics | > > > > > > > > > > | http://www.directfb.org/ | > > > > > > > > > > > "------------------------------------------" > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > directfb-dev mailing list > > > > > > > > > [email protected] > > > > > > > > > > > > > > > > > > > > > > > > > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
