Wrong colors in the powerpc version

Bug #1196227 reported by Christian Zigotzky
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
supertuxkart (Debian)
Confirmed
Unknown
supertuxkart (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Package: supertuxkart
Version: 0.8-2build1
Severity: important

Dear Maintainer,

STK 0.8 PowerPC has wrong colors in tracks and on any karts.

Screenshots:

http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=48577

Is it an Irrlicht or a STK problem?

Regards,

Christian

Computer
********

Summary
-------

-Computer-
Processor : PowerPC PA6T, altivec supported (1800,00MHz)
Memory : 8089MB (286MB used)
Operating System : Ubuntu 12.04.2 LTS
User Name : christian (Christian)
Date/Time : So 30 Jun 2013 14:18:57 CEST
-Display-
Resolution : 1280x1024 pixels
OpenGL Renderer : Gallium 0.4 on AMD BARTS
X11 Vendor : The X.Org Foundation
-Multimedia-
Audio Adapter : HDA-Intel - HD-Audio Generic
Audio Adapter : HDA-Intel - HDA ATI SB
-Input Devices-
   USB Keyboard
   USB Keyboard
 Device USB Device
-Printers-
No printers found
-SCSI Disks-
ATA ST2000DM001-9YN1
HL-DT-ST DVDRAM GH22NS50
ATA ESA3SF1240GB
ATA SanDisk SDCFB-25

Operating System
----------------

-Version-
Kernel : Linux 3.9.0X1000 (ppc64)
Compiled : #1 SMP Thu May 2 21:56:23 CEST 2013
C Library : Unknown
Default C Compiler : Unknown
Distribution : Ubuntu 12.04.2 LTS
-Current Session-
Computer Name : AmigaoneX1000
User Name : christian (Christian)
Home Directory : /home/christian
Desktop Environment : LXDE (Lubuntu)
-Misc-
Uptime : 29 minutes
Load Average : 0,00, 0,00, 0,00

Display
-------

-Display-
Resolution : 1280x1024 pixels
Vendor : The X.Org Foundation
Version : 1.11.3
-Monitors-
Monitor 0 : 1280x1024 pixels
-Extensions-
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
DRI2
GLX
Generic Event Extension
MIT-SCREEN-SAVER
MIT-SHM
RANDR
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
X-Resource
XC-MISC
XFIXES
XFree86-DGA
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
XVideo-MotionCompensation
-OpenGL-
Vendor : X.Org
Renderer : Gallium 0.4 on AMD BARTS
Version : 2.1 Mesa 8.0.4
Direct Rendering : Yes

Devices
*******

Processor
---------

-Processor-
Machine : (null)
CPU : PowerPC PA6T, altivec supported (1800,00MHz)
L2 Cache : 0kB
Frequency : 1800,00MHz
BogoMips : 0,00
Byte Order : Big Endian

Memory
------

-Memory-
Total Memory : 8089060 kB
Free Memory : 7019204 kB
Buffers : 47264 kB
Cached : 783424 kB
Cached Swap : 0 kB
Active : 538744 kB
Inactive : 450208 kB
Active(anon) : 158800 kB
Inactive(anon) : 2088 kB
Active(file) : 379944 kB
Inactive(file) : 448120 kB
Unevictable : 0 kB
Mlocked : 0 kB
Virtual Memory : 9815708 kB
Free Virtual Memory : 9815708 kB
Dirty : 64 kB
Writeback : 0 kB
AnonPages : 158276 kB
Mapped : 70368 kB
Shmem : 2620 kB
Slab : 56384 kB
SReclaimable : 41924 kB
SUnreclaim : 14460 kB
KernelStack : 3840 kB
PageTables : 4296 kB
NFS_Unstable : 0 kB
Bounce : 0 kB
WritebackTmp : 0 kB
CommitLimit : 13860236 kB
Committed_AS : 908036 kB
VmallocTotal : 8589934592 kB
VmallocUsed : 7072 kB
VmallocChunk : 8589926380 kB
HugePages_Total : 0
HugePages_Free : 0
HugePages_Rsvd : 0
HugePages_Surp : 0
Hugepagesize : 16384 kB

Changed in supertuxkart (Debian):
status: Unknown → Confirmed
Revision history for this message
Christian Zigotzky (chzigotzky-xenosoft) wrote :

Hi,

The issue with the wrong colors has been solved. :)

Please insert the following line into file COpenGLExtensionHandler.cpp, line 372 (directly before MultiTextureExtension = FeatureAvailable[IRR_ARB_multitexture] ;)
FeatureAvailable[IRR_ARB_vertex_array_bgra]=FeatureAvailable[IRR_EXT_vertex_array_bgra]=false;

Regards,

Christian

Revision history for this message
Christian Zigotzky (chzigotzky-xenosoft) wrote :

Hi,

This patch is only for ppc systems. It isn't suitable for other systems like x86, ARM etc. I'm very happy about this patch. STK 0.8 works as well as the x86 version of STK 0.8. I have released a static package of STK 0.8 with AltiVec support and integrated Irrlicht patch:

http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/0.8/supertuxkart-0.8-altivec-linux-glibc2.13-ppc.tar.bz2/download

The Irrlicht patch is an unofficial patch for ppc systems at time. Unfortunately there isn't a link to a upstream svn commit. I'm sorry.

Regards,
Christian

Revision history for this message
Christian Zigotzky (chzigotzky-xenosoft) wrote :
Revision history for this message
Christian Zigotzky (chzigotzky-xenosoft) wrote :

Hi All,

The solution works with the new release candidate 1 of STK 0.8.1 again.
I've asked the Irrlicht and STK developer if they could integrate this
solution in the Irrlicht source code.

http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=48577

http://sourceforge.net/mailarchive/message.php?msg_id=31672119

All the best,

Christian

Revision history for this message
Oibaf (oibaf) wrote :

Hi, Christian is this still an issue with unmodified supertux? IIRC this was properly fixed within mesa graphics drivers.

Changed in supertuxkart (Ubuntu):
status: New → Incomplete
Revision history for this message
Christian Zigotzky (chzigotzky-xenosoft) wrote : [Bug 1196227] Re: Wrong colors in the powerpc version
Download full text (4.8 KiB)

I think yes. We are still using our fixed static PowerPC packages but we will test the latest STK.

@All
Could you please test the latest STK?

-- Christian

Sent from my iPhone

> On 11 Oct 2016, at 03:33, Oibaf <email address hidden> wrote:
>
> Hi, Christian is this still an issue with unmodified supertux? IIRC this
> was properly fixed within mesa graphics drivers.
>
> ** Changed in: supertuxkart (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1196227
>
> Title:
> Wrong colors in the powerpc version
>
> Status in supertuxkart package in Ubuntu:
> Incomplete
> Status in supertuxkart package in Debian:
> Confirmed
>
> Bug description:
> Package: supertuxkart
> Version: 0.8-2build1
> Severity: important
>
> Dear Maintainer,
>
> STK 0.8 PowerPC has wrong colors in tracks and on any karts.
>
> Screenshots:
>
> http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=48577
>
> Is it an Irrlicht or a STK problem?
>
> Regards,
>
> Christian
>
>
> Computer
> ********
>
>
> Summary
> -------
>
> -Computer-
> Processor : PowerPC PA6T, altivec supported (1800,00MHz)
> Memory : 8089MB (286MB used)
> Operating System : Ubuntu 12.04.2 LTS
> User Name : christian (Christian)
> Date/Time : So 30 Jun 2013 14:18:57 CEST
> -Display-
> Resolution : 1280x1024 pixels
> OpenGL Renderer : Gallium 0.4 on AMD BARTS
> X11 Vendor : The X.Org Foundation
> -Multimedia-
> Audio Adapter : HDA-Intel - HD-Audio Generic
> Audio Adapter : HDA-Intel - HDA ATI SB
> -Input Devices-
> USB Keyboard
> USB Keyboard
> Device USB Device
> -Printers-
> No printers found
> -SCSI Disks-
> ATA ST2000DM001-9YN1
> HL-DT-ST DVDRAM GH22NS50
> ATA ESA3SF1240GB
> ATA SanDisk SDCFB-25
>
> Operating System
> ----------------
>
> -Version-
> Kernel : Linux 3.9.0X1000 (ppc64)
> Compiled : #1 SMP Thu May 2 21:56:23 CEST 2013
> C Library : Unknown
> Default C Compiler : Unknown
> Distribution : Ubuntu 12.04.2 LTS
> -Current Session-
> Computer Name : AmigaoneX1000
> User Name : christian (Christian)
> Home Directory : /home/christian
> Desktop Environment : LXDE (Lubuntu)
> -Misc-
> Uptime : 29 minutes
> Load Average : 0,00, 0,00, 0,00
>
> Display
> -------
>
> -Display-
> Resolution : 1280x1024 pixels
> Vendor : The X.Org Foundation
> Version : 1.11.3
> -Monitors-
> Monitor 0 : 1280x1024 pixels
> -Extensions-
> BIG-REQUESTS
> Composite
> DAMAGE
> DOUBLE-BUFFER
> DPMS
> DRI2
> GLX
> Generic Event Extension
> MIT-SCREEN-SAVER
> MIT-SHM
> RANDR
> RECORD
> RENDER
> SECURITY
> SGI-GLX
> SHAPE
> SYNC
> X-Resource
> XC-MISC
> XFIXES
> XFree86-DGA
> XFree86-VidModeExtension
> XINERAMA
> XInputExtension
> XKEYBOARD
> XTEST
> XVideo
> XVideo-MotionCompensation
> -OpenGL-
> Vendor : X.Org
> Renderer : Gallium 0.4 on AMD BARTS
> Version : 2.1 Mesa 8.0.4
> Direct Rend...

Read more...

Revision history for this message
Qwerty Chouskie (asdfghrbljzmkd) wrote :

This is an issue with SuperTuxKart itself, not the Ubuntu package. If this is still an issue with the latest version of SuperTuxKart, please report the issue at https://github.com/supertuxkart/stk-code/issues

Changed in supertuxkart (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.