Bug 7896 - Weird color for matchbox desktop on qemumips and qemuppc
Summary: Weird color for matchbox desktop on qemumips and qemuppc
Status: VERIFIED FIXED
Alias: None
Product: General Runtime
Classification: Runtime
Component: General Runtime (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9 M2
Assignee: Juro Bystricky
QA Contact: Yi Zhao
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-06-17 09:25 UTC by Yi Zhao
Modified: 2015-07-16 06:58 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
qemumips (17.49 KB, image/png)
2015-06-17 09:25 UTC, Yi Zhao
no flags Details
qemuppc (28.12 KB, image/png)
2015-06-17 09:25 UTC, Yi Zhao
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2015-06-17 09:25:36 UTC
Created attachment 2550 [details]
qemumips

Image location: http://autobuilder.yoctoproject.org/pub/nightly/20150609-1/machines/qemu/
Git rev: master/926de56da9469e3d4ea8349d8e7c9777ae6f93c1

The color for matchbox desktop is abnormal on qemumips and qemuppc. Please see the attached images.

I tested them on Ubuntu 12.04, 14.04 and Fedora 22, the issue exists on all of them.
Comment 1 Yi Zhao 2015-06-17 09:25:56 UTC
Created attachment 2551 [details]
qemuppc
Comment 2 Paul Eggleton 2015-06-18 15:01:29 UTC
I'm not sure but from the screenshot it looks like maybe the colour channels might be swapped around or something like that?
Comment 3 Juro Bystricky 2015-06-19 17:59:27 UTC
looks like bigendian/littleendian color space issue.
Comment 4 Yi Zhao 2015-07-01 09:10:36 UTC
This issue still exists on 1.9 M1 rc1 for qemumips, qemuppc and qemumips64
Comment 5 Juro Bystricky 2015-07-06 23:32:00 UTC
(In reply to comment #4)
> This issue still exists on 1.9 M1 rc1 for qemumips, qemuppc and qemumips64

I failed to reproduce the problem when rebuilding core-image-sato for mips and ppc.
I also used the images:

http://autobuilder.yoctoproject.org/pub/nightly/20150701-1/machines/qemu/qemumips/core-image-sato-sdk-qemumips.ext4 

http://autobuilder.yoctoproject.org/pub/nightly/20150701-1/machines/qemu/qemuppc/core-image-sato-sdk-qemuppc.ext4

and they shows correct colors. (PPC has wrong colors in splash screen, but that's a different issue)

I could not test the image in comment 1, as it does not exist any more. Can you post a link (links) to the offending images?
Comment 6 Yi Zhao 2015-07-07 06:50:20 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > This issue still exists on 1.9 M1 rc1 for qemumips, qemuppc and qemumips64
> 
> I failed to reproduce the problem when rebuilding core-image-sato for mips
> and ppc.
> I also used the images:
> 
> http://autobuilder.yoctoproject.org/pub/nightly/20150701-1/machines/qemu/
> qemumips/core-image-sato-sdk-qemumips.ext4 
> 
> http://autobuilder.yoctoproject.org/pub/nightly/20150701-1/machines/qemu/
> qemuppc/core-image-sato-sdk-qemuppc.ext4
> 
> and they shows correct colors. (PPC has wrong colors in splash screen, but
> that's a different issue)

Yes, there is another bug 7236 to report it.

> 
> I could not test the image in comment 1, as it does not exist any more. Can
> you post a link (links) to the offending images?

You can get the 1.9 M1 rc1 build from http://autobuilder.yoctoproject.org/pub/releases/yocto-1.9_M1.rc1/machines/qemu/

Yi
Comment 7 Juro Bystricky 2015-07-07 20:19:50 UTC
The culprit seems to be Xorg-server 1.17.1.
You can verify the qemus with incorrect colors are all big endian based CPUs

By viewing the log:

cat /var/log/Xorg.0.log

all have Xorg-server 1.17.1.

There is a known problem with the version 1.17.1 and big endian CPUs,
see for example:
http://lists.x.org/archives/xorg-announce/2015-June/002614.html

"Fido" has Xorg-server 1.16.3 and the poky repo already contains commit 
upgrading Xorg-server to 1.17.2 : f8b25377a68ae4b3105d0c137a3a0368c0fe1e67 : Upgrade 1.7.1->1.7.2 (June 25, 2015)

So I think this is not an issue as 1.17.1 is not being used any more.
Comment 8 Juro Bystricky 2015-07-14 20:21:58 UTC
The colors are correct for RC2 for qemuppc and qemumips.

http://autobuilder.yoctoproject.org/pub/releases/yocto-yocto-1.9_M1.rc2/

The RC2 Xorg-server is 1.17.2.
Comment 9 Yi Zhao 2015-07-16 06:58:06 UTC
Verified with 1.9 M1 rc2 build.
git rev: master/f9ea480e6c26fea46c3011c4e9d0e2de3d5c81b4