Michael Opdenacker | 1 Apr 2006 19:06
Favicon

Different colormode between matchbox and X apps

Hello,

I am trying to make a demo based on a GPE / Familiar 0.8.3 snapshot image.

My framebuffer driver has a BGRA mode (instead of the more common RGB or
RGBA modes). While all X applications that I run (mainly GPE apps) are
displayed with correct colors, matchbox-window-manager and
matchbox-desktop are using a different colorset, displaying desktop
icons and windows decorations with wrong colors (see
http://free-electrons.com/issues/matchbox-apr1-2006/screen.jpg).

So, it seems that Matchbox is considering my framebuffer as RGB instead
of BGR. Is matchbox trying to get a private colormap, instead of using
the default one from X?

I checked the command line options for matchbox-window-manager and
matchbox-desktop, but didn't find anything about the colormap...

Here are the versions I'm using.

matchbox-applet-inputmanager - 0.6-r0 -
matchbox-common - 0.9.1-r0 -
matchbox-desktop - 0.9.1-r0 -
matchbox-panel-hacks - 0.3-1-r4 -
matchbox-panel-manager - 0.1-r0 -
matchbox-themes-gtk - 1.0-r0 -
matchbox-wm - 0.9.5+cvs-20051212-r1 -

Any hint for having the desktop and window decoration colors displayed
in a correct way?
(Continue reading)

Matthew Allum | 2 Apr 2006 13:02

Re: Different colormode between matchbox and X apps

Hi;

Quick que - is this a 16bpp framebuffer ?

If so, try the patch here to libmatchbox; 

http://svn.o-hand.com/repos/poky/trunk/openembedded/packages/libmatchbox/files/16bppfixes.patch

Please let me know if that helps.

  -- Matthew 

On Sat, 2006-04-01 at 19:06 +0200, Michael Opdenacker wrote:
> Hello,
> 
> I am trying to make a demo based on a GPE / Familiar 0.8.3 snapshot image.
> 
> My framebuffer driver has a BGRA mode (instead of the more common RGB or
> RGBA modes). While all X applications that I run (mainly GPE apps) are
> displayed with correct colors, matchbox-window-manager and
> matchbox-desktop are using a different colorset, displaying desktop
> icons and windows decorations with wrong colors (see
> http://free-electrons.com/issues/matchbox-apr1-2006/screen.jpg).
> 
> So, it seems that Matchbox is considering my framebuffer as RGB instead
> of BGR. Is matchbox trying to get a private colormap, instead of using
> the default one from X?
> 
> I checked the command line options for matchbox-window-manager and
> matchbox-desktop, but didn't find anything about the colormap...
(Continue reading)

Michael Opdenacker | 2 Apr 2006 20:40
Favicon

Re: Different colormode between matchbox and X apps

Hi Matthew,

Thank you for your help!

>Quick que - is this a 16bpp framebuffer ?
>  
>
Good guess! I should have mentioned it...

>If so, try the patch here to libmatchbox; 
>
>http://svn.o-hand.com/repos/poky/trunk/openembedded/packages/libmatchbox/files/16bppfixes.patch
>  
>
Thanks! I've been using packages so far, but I will recompile matchbox 
from sources as soon as I can. I will let you know then.

    Thanks again!

    :-)

    Michael.

--

-- 
Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training

--
To unsubscribe send a mail to matchbox+unsubscribe <at> o-hand.com
(Continue reading)

Michael Opdenacker | 4 Apr 2006 10:06
Favicon

Re: Different colormode between matchbox and X apps

Hi Matthew,

>> If so, try the patch here to libmatchbox;
>>
http://svn.o-hand.com/repos/poky/trunk/openembedded/packages/libmatchbox/files/16bppfixes.patch 
>>
>>  
>>
> Thanks! I've been using packages so far, but I will recompile matchbox 
> from sources as soon as I can. I will let you know then.

I confirm that this patch fixed this issue for me! Colors now look great 
for both Matchbox and X11 applications. I hope you can commit this patch 
in the main tree...

Many thanks for your help!

Cheers,

    :-)

    Michael.

--

-- 
Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training

--
To unsubscribe send a mail to matchbox+unsubscribe <at> o-hand.com
(Continue reading)


Gmane