Bug 372202 - Wrong coloring when running on Big Endian architecture
Summary: Wrong coloring when running on Big Endian architecture
Status: CLOSED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.8.3
Platform: Compiled Sources Linux
: NOR major
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-08 01:05 UTC by Jeff Bai
Modified: 2016-11-08 04:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Glitched out color, while systemsettings is fine (135.78 KB, image/png)
2016-11-08 01:05 UTC, Jeff Bai
Details
Another Plasma Shell shot with messed up coloring (150.78 KB, image/png)
2016-11-08 01:06 UTC, Jeff Bai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Bai 2016-11-08 01:05:55 UTC
Created attachment 102114 [details]
Glitched out color, while systemsettings is fine

When running Plasma Shell on my PowerMac G5 Quad with GeForce 6600LE (possibly not relevant, will explain in a bit), the Plasma Shell is displayed with a strong blue and violet hue (possibly due to wrong RGBA mapping).

(More to be seen in the screenshot)

Note, in the screenshot attached below, the color for systemsettings is normal, but everything else is quite messed up. This also applies to QML-based KDE applications like Plasma Discover.

So at first I thought that this was a nouveau issue on big endian machines, therefore I have opened a bug report here: https://bugs.freedesktop.org/show_bug.cgi?id=98630. However, after trying on the "fbdev" driver - which gives the same coloring issue - I thought I should let you guys know about this issue.

This issue also applies when running Plasma Discover on another desktop environment like XFCE - which has all the right color displayed - but it would be really nice to have KDE working on my G5 anyways, as it does appear to run quite quickly.

-----------------------

A quick lspci (probably trivial, but I don't have another big endian machine to test this on, so here you go):

0000:00:0b.0 PCI bridge: Apple Inc. CPC945 PCIe Bridge
0000:0a:00.0 VGA compatible controller: NVIDIA Corporation NV43 [GeForce 6600 LE] (rev a2)
0001:00:00.0 Host bridge: Apple Inc. U4 HT Bridge
0001:00:01.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev a3)
0001:00:02.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-X bridge (rev a3)
0001:00:03.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:04.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:05.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:06.0 PCI bridge: Broadcom BCM5780 [HT2000] PCI-Express Bridge (rev a3)
0001:00:07.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:00:08.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:00:09.0 PCI bridge: Apple Inc. Shasta PCI Bridge
0001:01:07.0 Unassigned class [ff00]: Apple Inc. Shasta Mac I/O
0001:01:0b.0 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:01:0b.1 USB controller: NEC Corporation OHCI USB Controller (rev 43)
0001:01:0b.2 USB controller: NEC Corporation uPD72010x USB 2.0 Controller (rev 04)
0001:03:0c.0 IDE interface: Broadcom K2 SATA
0001:03:0d.0 Unassigned class [ff00]: Apple Inc. Shasta IDE
0001:03:0e.0 FireWire (IEEE 1394): Apple Inc. Shasta Firewire
0001:05:04.0 Ethernet controller: Broadcom Limited NetXtreme BCM5780 Gigabit Ethernet (rev 03)
0001:05:04.1 Ethernet controller: Broadcom Limited NetXtreme BCM5780 Gigabit Ethernet (rev 03)
Comment 1 Jeff Bai 2016-11-08 01:06:19 UTC
Created attachment 102115 [details]
Another Plasma Shell shot with messed up coloring
Comment 2 Leslie Zhai 2016-11-08 03:38:15 UTC
Hi Jeff,

How about directly run qmlscene for QML examples? http://code.qt.io/cgit/qt/qtdeclarative.git/tree/examples/quick

Regards,
Leslie Zhai
Comment 3 Jeff Bai 2016-11-08 03:51:02 UTC
Yep... Those examples showed the same issues with QML too, I will report to Qt instead.
Comment 4 Leslie Zhai 2016-11-08 03:51:20 UTC
Hi Jeff,

https://pbs.twimg.com/media/CwtgIsTUkAAmEP_.jpg

It is better to report the bug to Qt!

Regards,
Leslie Zhai
Comment 5 Jeff Bai 2016-11-08 04:07:00 UTC
Upstream Qt bug: https://bugreports.qt.io/browse/QTBUG-56975