List Info

Thread: dfbg - background picture




dfbg - background picture
user name
2006-09-29 05:06:33
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 <bkbharanigmail.com> 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 < mike.emmelgmail.com> 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 <bkbharanigmail.com> 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 <mike.emmelgmail.com> 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 <
bkbharanigmail.com > 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
<dokdirectfb.org> 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
> > > > > directfb-devdirectfb.org
> > > > >
> > >
> http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>

_______________________________________________
directfb-dev mailing list
directfb-devdirectfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
dfbg - background picture
user name
2006-09-29 05:40:17
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 < mike.emmelgmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mike.emmelgmail.com> 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 < bkbharanigmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> bkbharanigmail.com > wrote:
>; herewith below my results. Im running ARM and using xscale tools chain.
>;
> # ./fbset -i
>
&gt;
>
>; mode "640x480-110&quot;
>&nbsp; &nbsp;  # D: 50.000 MHz, H: 60.096 kHz, V: 110.066 Hz
>&nbsp; &nbsp;  geometry 640 480 640 480 32
>&nbsp; &nbsp;  timings 20000 64 64 32 32 64 2
>&nbsp; &nbsp;  rgba 8/16,8/8,8/0,8/24
>; endmode
&gt;
>
>;
> Frame buffer device information:
>&nbsp; &nbsp;  Name   ; &nbsp; &nbsp; : OSD Virtual FB
>&nbsp; &nbsp;  Address&nbsp; &nbsp;  : 0x4a400000
  ;  Size   ; &nbsp; &nbsp; : 1228800
&gt; &nbsp; &nbsp; Type   ; &nbsp; &nbsp; : PACKED PIXELS
>; &nbsp; &nbsp; Visual&nbsp; &nbsp; &nbsp; : TRUECOLOR
> &nbsp;   XPanStep&nbsp; &nbsp; : 1
>&nbsp; &nbsp;  YPanStep&nbsp; &nbsp; : 1
>&nbsp; &nbsp;  YWrapStep&nbsp;  : 1
>&nbsp; &nbsp;  LineLength  ;: 2560
>&nbsp;   ; Accelerator : No
>
&gt;
>
>; On 9/29/06, Mike Emmel < mike.emmelgmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> mike.emmelgmail.com> wrote:
&gt; > What hardware are you running on ?
> > You tried
> > dfbg --dfb:pixelformat=ARGB1666
> > dfbg --dfb:pixelformat=RGB16
> >
> > and what are the results of &nbsp;fbset ?
> >
> >
> >
> > On 9/28/06, bharani krishna < bkbharanigmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bkbharanigmail.com> wrote:
&gt; > > 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 < mike.emmelgmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> mike.emmelgmail.com> 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 < bkbharanigmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bkbharanigmail.com > wrote:
&gt; > > > > I tried and even added /etc/directfbrc files as below
>; > > > >
> > > > > depth=32
&gt; > > > > pixelformat=ARGB
> > > > > mode=640x40
> > > > >
> > > > > But still the picture can see more in blue color. By the way im
> trying
>; > > to
> > > > > display jpeg picture.
&gt; > > > >
> > > > > =BK
> > > > >
> > > > >
> > > > > On 9/28/06, Denis Oliver Kropp < dokdirectfb.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dokdirectfb.org> wrote:
>; > > > > > bharani krishna schrieb:
&gt; > > > > > > Hi all,
> > > > > > >
> > > > > > > Im able to compile DirectFB 0.9.25 and trying to run 'dfbg'
>; example
&gt; > > code
> > > > > > > on ARM. I execute with jpeg, png also, but color is not proper.
&gt; 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:
&gt; > > > > >
> > > > > > 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.
&gt; > > > > >
> > > > > > You could also just add "pixelformat = ARGB" to /etc/directfbrc.
>; > > > > >
> > > > > > --
> > > > > > Best regards,
&gt; > > > > >   ; Denis Oliver Kropp
> > > > > >
> > > > > > .------------------------------------------.
> > > > > > | DirectFB - Hardware accelerated graphics |
> > > > > > | http://www.directfb.org/   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; |
> > > > > > "------------------------------------------"
> > > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > directfb-dev mailing list
>; > > > > directfb-devdirectfb.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">directfb-devdirectfb.org
> > > > >
> > >
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>

dfbg - background picture
user name
2006-09-29 05:56:21
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 <bkbharanigmail.com> 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 <mike.emmelgmail.com> 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 < bkbharanigmail.com
> 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 < mike.emmelgmail.com> 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
<bkbharanigmail.com> 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 <
mike.emmelgmail.com> 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
< bkbharanigmail.com > 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 < dokdirectfb.org> 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
> > > > > > > directfb-devdirectfb.org
> > > > > > >
> > > > >
> > >
> http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>

_______________________________________________
directfb-dev mailing list
directfb-devdirectfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
dfbg - background picture
user name
2006-09-29 07:50:50
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 < mike.emmelgmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mike.emmelgmail.com> 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 < bkbharanigmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> bkbharanigmail.com> wrote:
>; is it 'rgba' instead of 'argb' make sense? I still get doubt that RGB is not
> in proper order seems to be.
>
&gt; Please help
>
> Thx/Rgds
&gt; BK
>
>
>
&gt; On 9/29/06, Mike Emmel < mike.emmelgmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mike.emmelgmail.com> 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 < bkbharanigmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bkbharanigmail.com > wrote:
>; > > herewith below my results. Im running ARM and using xscale tools chain.
&gt; > >
> > > # ./fbset -i
> > >
> > >
> > >
> > > mode "640x480-110&quot;
> > >   ;  # 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
&gt; > >
> > >
> > >
> > > Frame buffer device information:
> > >   ;  Name   ; &nbsp; &nbsp; : OSD Virtual FB
> > >   ;  Address&nbsp; &nbsp;  : 0x4a400000
> > >   ;  Size   ; &nbsp; &nbsp; : 1228800
&gt; > >   ;  Type   ; &nbsp; &nbsp; : PACKED PIXELS
&gt; > >   ;  Visual&nbsp; &nbsp; &nbsp; : TRUECOLOR
> > >   ;  XPanStep&nbsp; &nbsp; : 1
> > >   ;  YPanStep&nbsp; &nbsp; : 1
> > >   ;  YWrapStep&nbsp;  : 1
> > >   ;  LineLength  ;: 2560
> > >   ;  Accelerator : No
> > >
> > >
> > >
> > > On 9/29/06, Mike Emmel < mike.emmelgmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mike.emmelgmail.com > wrote:
>; > > > What hardware are you running on ?
> > > > You tried
> > > > dfbg --dfb:pixelformat=ARGB1666
> > > > dfbg --dfb:pixelformat=RGB16
> > > >
> > > > and what are the results of &nbsp;fbset ?
> > > >
> > > >
> > > >
> > > > On 9/28/06, bharani krishna < bkbharanigmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> bkbharanigmail.com> 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 < mike.emmelgmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mike.emmelgmail.com> 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
&gt; > > > > > 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 < bkbharanigmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bkbharanigmail.com > 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.
&gt; > > > > > >
> > > > > > > =BK
> > > > > > >
> > > > > > >
> > > > > > > On 9/28/06, Denis Oliver Kropp < dokdirectfb.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dokdirectfb.org > wrote:
>; > > > > > > > bharani krishna schrieb:
> > > > > > > > > Hi all,
> > > > > > > > >
> > > > > > > > > Im able to compile DirectFB 0.9.25 and trying to run 'dfbg'
>; > > example
&gt; > > > > code
> > > > > > > > > on ARM. I execute with jpeg, png also, but color is not
> proper.
&gt; > > 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.
&gt; > > > > > > >
> > > > > > > > You could also just add "pixelformat = ARGB" to
> /etc/directfbrc.
> > > > > > > >
> > > > > > > > --
> > > > > > > > Best regards,
&gt; > > > > > > >   ; Denis Oliver Kropp
>; > > > > > > >
> > > > > > > > .------------------------------------------.
> > > > > > > > | DirectFB - Hardware accelerated graphics |
> > > > > > > > | http://www.directfb.org/ &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; |
> > > > > > > > "------------------------------------------"
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > directfb-dev mailing list
> > > > > > > directfb-devdirectfb.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">directfb-devdirectfb.org
> > > > > > >
> > > > >
> > >
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>

dfbg - background picture
user name
2006-09-29 14:19:51
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-fbde
v.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 <bkbharanigmail.com> 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 <mike.emmelgmail.com> 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 < bkbharanigmail.com> 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 <mike.emmelgmail.com> 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 <
bkbharanigmail.com > 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 <
mike.emmelgmail.com > 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
< bkbharanigmail.com> 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
< mike.emmelgmail.com> 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 < bkbharanigmail.com > 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 < dokdirectfb.org > 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
> > > > > > > > >
directfb-devdirectfb.org
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>

_______________________________________________
directfb-dev mailing list
directfb-devdirectfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )