You have been subscribed to a public bug:

Hi all,

I've tried Mesa 9.2.2-1 and 10.0.1 on Debian Sid, Lubuntu 13.10, and on
Lubuntu 14.04. Unfortunately all have issued false colors in games. They
appear to be ABGR instead of RGBA, thus blue becomes green, red becomes
alpha etc.

This issue affects sdl2 applications either.

The Mesa version 11.1.2-1 doesn't work either on ubuntu MATE 16.04
PowerPC.

Mesa 8.0.5-4 and Mesa 9.1.6 have no color problem.

The transitional solution is to install the old Mesa 8.0.X with "Force
Version" with the Synaptic package manager on new distributions.

In my point of view, the problem is in the source file p_format.h in the
directory src/gallium/include/pipe/. There is some code for translating
colors for big-endian machines. The problem is, this code is only for
the CPU. I mean for LLVMpipe for the CPU. The Radeon graphics cards
don't need this translating code but IBM pSeries machines without
graphics cards need this code. This code translates the colors in a
wrong way for Radeon graphics cards. I removed this code and after
compiling Mesa again, the colors are displayed correctly. I released
some unofficial Mesa versions with this patch.

Downloads: http://www.supertuxkart-amiga.de/amiga/mesalib-
unofficial.html

Hardware:

AmigaOne X1000 (Nemo)
PA Semi Dual-core PA6T-1682M, 1.8GHz PowerISA™ v2.04+ CPU
"Xena" 500MHz XMOS XS1-L2 124
8GB DDR2 SDRAM
XFX Radeon HD 6870, 1 GB RAM
OCZ600MXSP 600 Switching power supply
RTL 8139/8139C/8139C+ network card
TSSTcorp CDDVDW SH-224BB dvd drive
ATA ST2000DM001-9YN1 SEAGATE HD
ATA ESA 3SF1240GB HD

More information:

http://en.wikipedia.org/wiki/AmigaOne_X1000
http://www.supertuxkart-amiga.de/amiga/x1000.html

Rgds,
Christian
---
ApportVersion: 2.20-0ubuntu3
Architecture: powerpc
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: MATE
DistUpgraded: Fresh install
DistroCodename: xenial
DistroRelease: Ubuntu 16.04
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Barts XT [Radeon HD 6870] [1002:6738] 
(prog-if 00 [VGA controller])
   Subsystem: XFX Pine Group Inc. Barts XT [Radeon HD 6870] [1682:3107]
Package: libgl1-mesa-dri 11.1.2-1ubuntu1
PackageArchitecture: powerpc
ProcKernelCmdLine: root=/dev/sdb1 quiet ro splash
ProcModules: kvm_pr 91899 0 - Live 0x0000000000000000
Tags:  xenial ubuntu
Uname: Linux 4.5.0-rc6_A-EON_AmigaONE_X1000_Nemo ppc64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip lpadmin plugdev sambashare sudo video
_MarkForUpload: True
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.67-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.1.2-1ubuntu1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.1.2-1ubuntu1
version.xserver-xorg-core: xserver-xorg-core 2:1.17.3-2ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.2-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.6.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1

** Affects: mesa (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-collected regression-release saucy trusty ubuntu xenial
-- 
Wrong colors with Mesa 11.1.2-1 on ubuntu MATE 16.04 PowerPC
https://bugs.launchpad.net/bugs/1275042
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to