← Back to team overview

touch-packages team mailing list archive

[Bug 1275042] Re: Wrong colors with Mesa 9.2 and Mesa 10.0 on Lubuntu 14.04 PowerPC

 

Launchpad has imported 11 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=72877.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2013-12-19T11:25:43+00:00 Christian Zigotzky wrote:

Hi all,

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

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.

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
HIS 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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1275042/comments/0

------------------------------------------------------------------------
On 2013-12-19T19:47:53+00:00 Curaga wrote:

More specifically, this bug is about BGRA vertex colors,
GL_EXT_vertex_array_bgra, seen in SuperTuxKart math level for example.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1275042/comments/1

------------------------------------------------------------------------
On 2013-12-20T03:21:07+00:00 Michel-daenzer wrote:

This is probably due to commit 2151d893fbd4a4be092098170e2fbca8c35797a5
('gallium: Fix llvmpipe on big-endian machines'). The r600g driver needs
to be adapted for the changed PIPE_FORMAT_* semantics.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1275042/comments/2

------------------------------------------------------------------------
On 2013-12-30T18:02:30+00:00 Christian Zigotzky wrote:

(In reply to comment #2)
> This is probably due to commit 2151d893fbd4a4be092098170e2fbca8c35797a5
> ('gallium: Fix llvmpipe on big-endian machines'). The r600g driver needs to
> be adapted for the changed PIPE_FORMAT_* semantics.

I don't know if I have correct understand your answer. Is the bug fixed?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1275042/comments/3

------------------------------------------------------------------------
On 2014-01-06T09:18:43+00:00 Michel-daenzer wrote:

(In reply to comment #3)
> Is the bug fixed?

Not yet. To fix it, the r600g driver needs to be adapted to changes in
the way the Gallium3D infrastructure deals with big endian hosts.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1275042/comments/4

------------------------------------------------------------------------
On 2014-01-06T11:30:53+00:00 Christian Zigotzky wrote:

(In reply to comment #4)
> (In reply to comment #3)
> > Is the bug fixed?
> 
> Not yet. To fix it, the r600g driver needs to be adapted to changes in the
> way the Gallium3D infrastructure deals with big endian hosts.

Hi Michel,

Thanks a lot for your answer. :-) We had a problem with wrong colors in
SuperTuxKart 0.8 last year. The Irrlicht guys have released a little
hack for Irrlicht on Linux PPC
(http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=48577). They
told me that is a driver bug, and that workaround costs performance and
RAM. Unfortunately this workaround isn't suitable for Mesa 9.2 and
higher. At this time we have to install Mesa 9.1.X and lower on new
Linux distributions like Lubuntu 13.10, Debian Sid etc. It would be nice
to solve this issue because we don't need the workaround in the future.

All the best,

Christian

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1275042/comments/5

------------------------------------------------------------------------
On 2014-01-06T21:06:42+00:00 Christian Zigotzky wrote:

Created attachment 91561
Lubuntu 13.10 PowerPC (Kernel 3.13-rc7) with the old Mesa 8.0.2

Lubuntu 13.10 PowerPC (Kernel 3.13-rc7) with the old Mesa 8.0.2. 3D
acceleration works well in the fullscreen mode.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1275042/comments/6

------------------------------------------------------------------------
On 2014-01-06T22:39:08+00:00 Christian Zigotzky wrote:

Created attachment 91566
glxgears has wrong colors with Mesa 10.0.1

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1275042/comments/7

------------------------------------------------------------------------
On 2014-02-02T12:07:35+00:00 Christian Zigotzky wrote:

Hi All,

I've installed Mesa 10.0.2 on Debian Sid PowerPC with the following
commands:

apt-get install -t experimental libgl1-mesa-dri
apt-get install -t experimental libgl1-mesa-glx
apt-get install -t experimental mesa-utils
apt-get install -t experimental libdrm-radeon1
apt-get install -t experimental xserver-xorg-video-ati
apt-get install -t experimental xserver-xorg-video-radeon

glxinfo | grep OpenGL

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD BARTS
OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.0.2
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.0.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

Unfortunately, the games have still wrong colors.

I've tested it with the kernel 3.11.0, 3.12.5, and 3.13.1.

Rgds,

Christian

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1275042/comments/11

------------------------------------------------------------------------
On 2014-02-02T12:41:43+00:00 Christian Zigotzky wrote:

The problem is the package libgl1-mesa-dri. I have installed the old
package libgl1-mesa-dri 8.0.5-4 with "Force Version" with the Synaptic
package manager and this has solved the problem with the wrong colors.

-- Christian

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1275042/comments/12

------------------------------------------------------------------------
On 2014-09-07T18:30:01+00:00 Oibaf wrote:

There are endianess patches here:
http://lists.freedesktop.org/archives/mesa-dev/2014-July/thread.html#63723

Still not applied. No idea if they properly fix this issue.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1275042/comments/13


** Changed in: mesa
       Status: Unknown => Confirmed

** Changed in: mesa
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1275042

Title:
  Wrong colors with Mesa 9.2 and Mesa 10.0 on Lubuntu 14.04 PowerPC

Status in Mesa:
  Confirmed
Status in “mesa” package in Ubuntu:
  New

Bug description:
  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.

  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.

  We had a problem with wrong colors in SuperTuxKart 0.8 last year. The
  Irrlicht guys have released a little hack for Irrlicht on Linux PPC
  (http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=48577).
  They told me that is a driver bug, and that workaround costs
  performance and RAM. Unfortunately this workaround isn't suitable for
  Mesa 9.2 and higher. At this time we have to install Mesa 9.1.X and
  lower on new Linux distributions like Lubuntu 13.10, Lubuntu 14.04,
  Debian Sid etc. It would be nice to solve this issue because we don't
  need the workaround in the future.

  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
  HIS 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mesa/+bug/1275042/+subscriptions