|
List Info
Thread: dfbg - background picture
|
|
| dfbg - background picture |

|
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 <bkbharani gmail.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.emmel gmail.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 <bkbharani gmail.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.emmel gmail.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 <
bkbharani gmail.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
<dok directfb.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-dev directfb.org
> > > > >
> > >
> http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>
_______________________________________________
directfb-dev mailing list
directfb-dev directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
|
|
| dfbg - background picture |

|
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.emmel gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mike.emmel gmail.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 < bkbharani gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
bkbharani gmail.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.emmel gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mike.emmel gmail.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 < bkbharani gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bkbharani gmail.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.emmel gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mike.emmel gmail.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 < bkbharani gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bkbharani gmail.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 <
dok directfb.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dok directfb.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-dev directfb.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">directfb-dev directfb.org > > > > > > > > >
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > > > > > > > > > > > > > > > > > > > > > > > > > >
> >
|
| dfbg - background picture |

|
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 <bkbharani gmail.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.emmel gmail.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 < bkbharani gmail.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.emmel gmail.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
<bkbharani gmail.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.emmel gmail.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
< bkbharani gmail.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 < dok directfb.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-dev directfb.org
> > > > > > >
> > > > >
> > >
> http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>
_______________________________________________
directfb-dev mailing list
directfb-dev directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev
|
|
| dfbg - background picture |

|
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.emmel gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mike.emmel gmail.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 < bkbharani gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
bkbharani gmail.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.emmel gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mike.emmel gmail.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 < bkbharani gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bkbharani gmail.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.emmel gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mike.emmel gmail.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 < bkbharani gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
bkbharani gmail.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.emmel gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mike.emmel gmail.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 <
bkbharani gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">bkbharani gmail.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 < dok directfb.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dok directfb.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-dev directfb.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">directfb-dev directfb.org > > > > > > >
> > > > > > > > >
http://mail.directfb | |