Skip to contentSkip to conversation

New: On PPC, OpenGL programs use incorrect texture colors.

Bug 43698 [email protected] 1 participant 31 messages Dec 10, 2011 – Feb 6, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=43698

Bug #: 43698
Summary: On PPC, OpenGL programs use incorrect texture colors.
Classification: Unclassified
Product: Mesa
Version: git
Platform: PowerPC
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

Created attachment 54298
--> https://bugs.freedesktop.org/attachment.cgi?id=54298
PrBoom

With git b1a8b7b0196c73bcfe488cbfc9e9fcd1d7ce7d9b.

Texture colors are incorrect, they appear to be ABGR instead of RGBA, thus blue becomes green, red becomes alpha, etc.

The only thing that is not affected is glxgears, but that does not use any textures.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #1 from GhostlyDeath <[email protected]> 2011-12-10 10:14:25 PST --- Created attachment 54299
--> https://bugs.freedesktop.org/attachment.cgi?id=54299
OpenArena

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #2 from GhostlyDeath <[email protected]> 2011-12-10 10:14:51 PST --- Created attachment 54300
--> https://bugs.freedesktop.org/attachment.cgi?id=54300
NeverBall

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #3 from GhostlyDeath <[email protected]> 2011-12-10 10:15:12 PST --- Created attachment 54301
--> https://bugs.freedesktop.org/attachment.cgi?id=54301
AdanaxisGPL

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #4 from GhostlyDeath <[email protected]> 2011-12-10 10:15:34 PST --- Created attachment 54302
--> https://bugs.freedesktop.org/attachment.cgi?id=54302
GLXInfo

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #5 from GhostlyDeath <[email protected]> 2011-12-10 10:15:55 UTC --- Created attachment 54303
--> https://bugs.freedesktop.org/attachment.cgi?id=54303
lspci

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #6 from GhostlyDeath <[email protected]> 2011-12-10 10:16:11 PST --- Created attachment 54304
--> https://bugs.freedesktop.org/attachment.cgi?id=54304
Xorg log

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #7 from GhostlyDeath <[email protected]> 2011-12-14 11:11:21 PST --- This only affects textures, whether they were created with image loading or if they were created with PBOs.

Anything that does not use textures, appear how they are supposed to appear.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #54302|application/octet-stream    |text/plain
          mime type|                            |
  Attachment #54302|0                           |1
           is patch|                            |
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #8 from Michel Dänzer <[email protected]> 2011-12-15 10:02:06 PST --- Created attachment 54470
--> https://bugs.freedesktop.org/attachment.cgi?id=54470
WIP endianness fixes

Here's some Mesa/Gallium endianness fixes I've been working on. Note that I'm serious about 'WIP'; at the very least, this will need to be split/cleaned up, and e.g. the util changes are just a quick'n'dirty hack which mixes driver specific requirements into driver independent code. Also, this will probably break colours with the r600g driver on big endian, but that should be easy to fix by disabling its use of GPU byte swapping for textures and render targets, and I think that's necessary anyway to work correctly in all cases possible with OpenGL.

I'm still seeing some wrong colours e.g. in gnome-shell and assaultcube, either I'm missing some more vital formats, or there could be similar issues with vertex colours.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #9 from GhostlyDeath <[email protected]> 2011-12-16 10:58:16 PST --- Hello, I tested the patch and most of the colors are correct now. However I spotted some rendering problems. Here's the summary of what I found.

Neverball: Everything looks correct now, all the colors are good and nothing seems wrong.
Adanaxisgpl: Everything renders correctly even with compiled shaders.
Openarena: Most of the colors are correct, HOWEVER there are serious rendering problems now. Most polygons just go *poof* and re-appear and just flicker like crazy. This varies the FPS by alot since some polygons in front of other polygons disappear causing everything behind it to render also. Color wise, textures are the correct colors and such. **Smoke, colored UI text, railguns, and my own character don't render colors correctly. The title screen rendered very badly and had about 1 frame every 5-7 seconds.
PrBoom: Colors are correct but it suffers from disappearing polygons that OpenArena suffers from.

Some misc OpenGL SuperBible 4th edition tests:

* C08/toon: Renders correctly
* C08/tunnel: Renders correctly
* C11/sphereworld: Renders correctly
* C11/thunderbird: Renders correctly
* C11/thundergl: Renders correctly (VBOs are not complete garbled messes anymore)
* C17/bumpmap: The bumpmap renders correctly now
* C18/fbodrawbuffers: Renders colors correctly

I'm going to check it out again with the as of current latest git and see if the problems are still around (they may have been fixed already).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

GhostlyDeath <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #54298|0                           |1

is obsolete| |

--- Comment #10 from GhostlyDeath <[email protected]> 2011-12-16 12:59:25 PST --- Created attachment 54516
--> https://bugs.freedesktop.org/attachment.cgi?id=54516
PrBoom with patch

Here is what PrBoom looks like (note I used IDBEHOLDL to set everything to full brightness).

Quoted 1 line

From what I can tell, only PrBoom and OpenArena have this problem.

However softpipe does not have polygons disappearing at all, so it would appear to be a r300g problem. PrBoom uses GL_TRIANGLE_STRIPs to draw the walls, so this is probably unrelated to this bug.

And another thing I noticed fixed. The OGLSB4th Edition chapter 16 vertexblend draws the shiny light correctly (before it was slightly garbled, it would be a bright white but with distorted red/white/pink in the middle).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #11 from Michel Dänzer <[email protected]> 2012-01-11 03:31:14 PST --- Created attachment 55416
--> https://bugs.freedesktop.org/attachment.cgi?id=55416
Adjust vertex format swizzles to compensate for the vertex fetcher byte swap

With this incremental patch, AssaultCube, gnome-shell and PrBoom look good here. Can't test OpenArena right now due to an issue with its current Debian powerpc build.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#13 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #12 from GhostlyDeath <[email protected]> 2012-01-16 12:36:30 PST --- I still get rendering errors with PrBoom with the patch applied. Do you have a complete patch that can be applied to a more recent git revision?

By the way, I rebuilt with:

# make clean
# make distclean
# patch -p1 < befixes1.patch
# patch -p1 < befixes2.patch
# ./configure --prefix=/opt/xorg --with-dri-driverdir=/opt/xorg/lib/dri/ 
--with-gallium-drivers=r300,r600,swrast  --enable-glx-tls --enable-gles1
--enable-gles2 --enable-openvg --enable-xorg --enable-gallium-egl --with-x
# make
# rm -rf /opt/xorg
# make install
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #13 from Joseph Spiros <[email protected]> 2012-08-24 08:34:33 UTC --- I'm running into this bug as well, with an iMac G5 containing a Radeon 9600 (rv350) chip. It's been a few months since this bug has seen any activity; is a fix still forthcoming? Is there anything I can do to help? I am not familiar with OpenGL or Mesa's codebase, but I can test on my hardware as needed. And, well, if this bug has been abandoned, I'm willing to spend some time trying to familiarize myself enough with the codebase to, at minimum, attempt an updated patch based on the patches provided previously.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #14 from GhostlyDeath <[email protected]> 2012-08-26 02:55:45 UTC --- (In reply to comment #13)

Quoted 7 lines

I'm running into this bug as well, with an iMac G5 containing a Radeon 9600 (rv350) chip. It's been a few months since this bug has seen any activity; is a fix still forthcoming? Is there anything I can do to help? I am not familiar with OpenGL or Mesa's codebase, but I can test on my hardware as needed. And, well, if this bug has been abandoned, I'm willing to spend some time trying to familiarize myself enough with the codebase to, at minimum, attempt an updated patch based on the patches provided previously.

Is this the latest code?

I have not tested my Powermac G4 in a long time and it uses out of date Mesa (but the colors are correct).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #15 from Joseph Spiros <[email protected]> 2012-08-29 05:36:56 UTC --- (In reply to comment #14)

Quoted 9 lines

(In reply to comment #13)

Quoted 7 lines

I'm running into this bug as well, with an iMac G5 containing a Radeon 9600 (rv350) chip. It's been a few months since this bug has seen any activity; is a fix still forthcoming? Is there anything I can do to help? I am not familiar with OpenGL or Mesa's codebase, but I can test on my hardware as needed. And, well, if this bug has been abandoned, I'm willing to spend some time trying to familiarize myself enough with the codebase to, at minimum, attempt an updated patch based on the patches provided previously.

Quoted 4 lines

Is this the latest code?

I have not tested my Powermac G4 in a long time and it uses out of date Mesa (but the colors are correct).

This is with version 8.0.4-2 as packaged by Debian, which is the most recent package available in the sid (unstable) distribution. So, it's the latest available in Debian. As far as this bug is concerned, no, I don't believe any changes have been made that would have fixed this yet.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#17 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #16 from [email protected] ---
Have these patches found their way up in the current codebase or is it still necessary to apply them on measa 11.2.x and beyond?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#18 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #17 from GhostlyDeath <[email protected]> ---
I do not believe the patches were ever applied upstream. Last time I tried about two years ago, the patches did not work against the latest mesa at the time.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#19 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|git |11.2

--- Comment #18 from [email protected] ---
Patch "fdo43698-vtxfmt-endianness.diff" applies against 11.2.2 via patch -p1, the others do not.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#20 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #19 from Alex Deucher <[email protected]> ---
Are things working any better with mesa from git without any patches? Oded has done a lot of fixes for r600g and Marek committed some fixes for r300g.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#21 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #20 from [email protected] ---
Compiled and using Mesa 11.3.0-devel (git-59156b2) now on my PowerMac G5 7,3 with an AGP Radeon 9600, rv350 class card.

Tested so far: AssaultCube, Extreme TuxRacer, RedEclipse, Sauerbraten. All installed from Ubuntu MATE 16.04 repositories.

Garbled textures: RedEclipse, Sauerbraten.

Extreme TuxRacer runs and is actually playable! However the colors are wrong and the backgrounnd sky is flickering constantly.

AssaultCube crashes after showing the "Loading..." window. See
https://bugs.launchpad.net/ubuntu/+source/assaultcube/+bug/1581805

Extreme TuxRacer and Sauerbraten have problems while changing the resolution. Both get REALLY sluggish then, hardware acceleration does not seem to work any longer. The console output starts showing "radeon 000:f0:10.0: ring 0 stalled for more than xxxx msec" messages during these resolution change problems in Extreme TuxRacer.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#22 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #21 from [email protected] --- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Micheal I tried to apply the patch to the git mesa source and I got these errors. Am I doing something wrong?

rican-linux@lubuntu-powerbook:~/Build/mesa/src$ patch -p2 --dry-run <
~/Downloads/wip.patch
checking file gallium/auxiliary/util/u_index_modify.c
Hunk #1 FAILED at 35.
Hunk #2 FAILED at 44.
Hunk #3 FAILED at 66.
Hunk #4 FAILED at 88.
Hunk #5 FAILED at 97.
Hunk #6 FAILED at 118.
6 out of 6 hunks FAILED
checking file gallium/drivers/r300/r300_render_translate.c
Hunk #1 FAILED at 51.
1 out of 1 hunk FAILED
checking file mesa/main/colormac.h
Hunk #1 succeeded at 65 with fuzz 2 (offset -27 lines).
Hunk #2 FAILED at 119.
1 out of 2 hunks FAILED
checking file mesa/main/compiler.h
Hunk #1 FAILED at 226.
1 out of 1 hunk FAILED
can't find file to patch at input line 184
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/mesa/main/depthstencil.c b/src/mesa/main/depthstencil.c
|index af5c12f..67553a4 100644
|--- a/src/mesa/main/depthstencil.c
|+++ b/src/mesa/main/depthstencil.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
21 out of 21 hunks ignored
can't find file to patch at input line 432
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/mesa/main/format_pack.c b/src/mesa/main/format_pack.c
|index 390b494..b04663f 100644
|--- a/src/mesa/main/format_pack.c
|+++ b/src/mesa/main/format_pack.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 484
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c
|index 4f23f3d..ebd17fb 100644
|--- a/src/mesa/main/format_unpack.c
|+++ b/src/mesa/main/format_unpack.c
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
25 out of 25 hunks ignored
checking file mesa/main/formats.c
Hunk #1 FAILED at 312.
Hunk #2 FAILED at 330.
Hunk #3 FAILED at 348.
Hunk #4 FAILED at 402.
Hunk #5 FAILED at 429.
Hunk #6 FAILED at 438.
Hunk #7 FAILED at 456.
Hunk #8 FAILED at 474.
Hunk #9 FAILED at 638.
Hunk #10 FAILED at 1314.
Hunk #11 FAILED at 2062.
Hunk #12 FAILED at 2093.
Hunk #13 FAILED at 2121.
Hunk #14 FAILED at 2131.
Hunk #15 FAILED at 2141.
Hunk #16 FAILED at 2185.
Hunk #17 succeeded at 1186 (offset -1075 lines).
Hunk #18 FAILED at 2598.
Hunk #19 FAILED at 2620.
Hunk #20 FAILED at 2668.
Hunk #21 FAILED at 2778.
20 out of 21 hunks FAILED
checking file mesa/main/formats.h
Hunk #1 FAILED at 92.
Hunk #2 FAILED at 146.
Hunk #3 FAILED at 242.
3 out of 3 hunks FAILED
checking file mesa/main/texformat.c
Hunk #1 FAILED at 103.
Hunk #2 FAILED at 135.
Hunk #3 FAILED at 149.
Hunk #4 FAILED at 163.
Hunk #5 FAILED at 195.
Hunk #6 FAILED at 213.
Hunk #7 FAILED at 322.
Hunk #8 FAILED at 333.
Hunk #9 FAILED at 344.
Hunk #10 FAILED at 355.
Hunk #11 FAILED at 367.
Hunk #12 FAILED at 759.
Hunk #13 FAILED at 786.
13 out of 13 hunks FAILED
checking file mesa/main/texstore.c
Hunk #1 succeeded at 142 (offset -837 lines).
Hunk #2 FAILED at 1126.
Hunk #3 succeeded at 287 (offset -859 lines).
Hunk #4 FAILED at 1166.
Hunk #5 succeeded at 1271 with fuzz 2 (offset -870 lines).
Hunk #6 FAILED at 2282.
Hunk #7 FAILED at 2297.
Hunk #8 FAILED at 2402.
Hunk #9 FAILED at 2472.
Hunk #10 FAILED at 2514.
Hunk #11 FAILED at 2529.
Hunk #12 FAILED at 2573.
Hunk #13 FAILED at 3328.
Hunk #14 FAILED at 3547.
Hunk #15 FAILED at 3567.
Hunk #16 FAILED at 3598.
Hunk #17 FAILED at 4514.
Hunk #18 FAILED at 4550.
Hunk #19 FAILED at 4576.
16 out of 19 hunks FAILED
checking file mesa/state_tracker/st_cb_clear.c
Hunk #1 FAILED at 389.
Hunk #2 FAILED at 445.
2 out of 2 hunks FAILED
checking file mesa/state_tracker/st_format.c
Hunk #1 succeeded at 53 with fuzz 1 (offset -94 lines).
Hunk #2 FAILED at 203.
Hunk #3 succeeded at 177 with fuzz 2 (offset -88 lines).
Hunk #4 FAILED at 299.
Hunk #5 FAILED at 334.
Hunk #6 FAILED at 475.
Hunk #7 FAILED at 526.
Hunk #8 succeeded at 660 with fuzz 2 (offset 67 lines).
Hunk #9 succeeded at 697 with fuzz 2 (offset 66 lines).
Hunk #10 FAILED at 666.
Hunk #11 FAILED at 804.
Hunk #12 FAILED at 1570.
Hunk #13 FAILED at 1586.
Hunk #14 FAILED at 1602.
10 out of 14 hunks FAILED
rican-linux@lubuntu-powerbook:~/Build/mesa/src$

-----BEGIN PGP SIGNATURE-----
Version: Mailvelope v1.4.0
Comment: https://www.mailvelope.com

wsFcBAEBCAAQBQJXN//JCRBZfgHS2LQxKAAAdnwP/RacNj1k5rQWFJ50RxSC DoFeJCxPXspbhXiNXQpCON87ZKWXpphwwXS+/a/BPfi/rfQyLyaK6W34Gmv+ 9eMzTOeteLSzo9H5vHs+GUj48bJsitrsXTZ8yjxrExYdKsqXk5AfOjKVBtOk waic8mN4k+JughYpTVLvVnqtbslDm9ov4iP+h5u/hF/oIERnzzcKA2UhBHxn G6zociCVFlWWE/4/tCaWg9CJk0DOkez0Hk83jdMfaiYK4yCseqIktctlA3TM XI0npSG3zUi0etMwNcmcz6gMQToTYjqoeJTk0ZIi4BeVDgUW858F0OqSkwMm g3a3+GysP495puqo+UdrJOGVAWzGbPEq8dS8l4k37BHA80znl+KO8jS4TR5V l7fB3lvrC/h/CP/788vESIDNtQeXH+Zy87EHkoX+7x9+Jg2R7CbAYjacp5rx qwXEj+CDOW44sqmGldEqgT7gmxhK1EuVuvSqaue5G0XQVTfse1ogzQOz0zGk GSXuNFeoJLysVX27pDElJ1igY7wX/hliz1Vjcv1Ps9FlwF2Y43FS/1uXagg9 hiCQ6E+AgFVSiOWQIXHFmUArOM2r44lQF+Fh2vkAqPdp0AgOkGwEATDdJRdK K4PaXEBodQnXsNLZ5z24KVIpImP+hz76nriGQUE3iS1TVT6E9tXGG7h/6Ssa 6jFM
=rjrD
-----END PGP SIGNATURE-----

Quoted 29 lines · On Sat, May 14, 2016 at 6:26 AM, <[email protected]> wrote:

*Comment # 20 <https://bugs.freedesktop.org/show_bug.cgi?id=43698#c20> on bug 43698 <https://bugs.freedesktop.org/show_bug.cgi?id=43698> from [email protected] <[email protected]> *

Compiled and using Mesa 11.3.0-devel (git-59156b2) now on my PowerMac G5 7,3 with an AGP Radeon 9600, rv350 class card.

Tested so far: AssaultCube, Extreme TuxRacer, RedEclipse, Sauerbraten. All installed from Ubuntu MATE 16.04 repositories.

Garbled textures: RedEclipse, Sauerbraten.

Extreme TuxRacer runs and is actually playable! However the colors are wrong and the backgrounnd sky is flickering constantly.

AssaultCube crashes after showing the "Loading..." window. Seehttps://bugs.launchpad.net/ubuntu/+source/assaultcube/+bug/1581805

Extreme TuxRacer and Sauerbraten have problems while changing the resolution. Both get REALLY sluggish then, hardware acceleration does not seem to work any longer. The console output starts showing "radeon 000:f0:10.0: ring 0 stalled for more than xxxx msec" messages during these resolution change problems in Extreme TuxRacer.

------------------------------
You are receiving this mail because:

- You are on the CC list for the bug.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#23 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #22 from Marek Olšák <[email protected]> --- The patch won't apply, because it's too old.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#24 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

--- Comment #23 from [email protected] --- ok thanks!

Quoted 12 lines · On Tue, May 24, 2016 at 2:17 PM, <[email protected]> wrote:

*Comment # 22 <https://bugs.freedesktop.org/show_bug.cgi?id=43698#c22> on bug 43698 <https://bugs.freedesktop.org/show_bug.cgi?id=43698> from Marek Olšák <[email protected]> *

The patch won't apply, because it's too old.

------------------------------
You are receiving this mail because:

- You are on the CC list for the bug.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#25 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

Mathieu Malaterre <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #54470|0                           |1

is obsolete| |

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#26 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

Mathieu Malaterre <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #55416|0                           |1

is obsolete| |

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#27 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

Mathieu Malaterre <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #54302|1                           |0

is patch| |

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#28 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

Mathieu Malaterre <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #123755|0                           |1

is obsolete| |

--- Comment #24 from Mathieu Malaterre <[email protected]> --- Comment on attachment 123755
--> https://bugs.freedesktop.org/attachment.cgi?id=123755
attachment-31027-0.html

Quoted 211 lines

<div dir="ltr"><pre>-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Micheal I tried to apply the patch to the git mesa source and I got these errors. Am I doing something wrong?

rican-linux@lubuntu-powerbook:~/Build/mesa/src$ patch -p2 --dry-run &lt; ~/Downloads/wip.patch 
checking file gallium/auxiliary/util/u_index_modify.c
Hunk #1 FAILED at 35.
Hunk #2 FAILED at 44.
Hunk #3 FAILED at 66.
Hunk #4 FAILED at 88.
Hunk #5 FAILED at 97.
Hunk #6 FAILED at 118.
6 out of 6 hunks FAILED
checking file gallium/drivers/r300/r300_render_translate.c
Hunk #1 FAILED at 51.
1 out of 1 hunk FAILED
checking file mesa/main/colormac.h
Hunk #1 succeeded at 65 with fuzz 2 (offset -27 lines).
Hunk #2 FAILED at 119.
1 out of 2 hunks FAILED
checking file mesa/main/compiler.h
Hunk #1 FAILED at 226.
1 out of 1 hunk FAILED
can&#39;t find file to patch at input line 184
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/mesa/main/depthstencil.c b/src/mesa/main/depthstencil.c
|index af5c12f..67553a4 100644
|--- a/src/mesa/main/depthstencil.c
|+++ b/src/mesa/main/depthstencil.c
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
21 out of 21 hunks ignored
can&#39;t find file to patch at input line 432
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/mesa/main/format_pack.c b/src/mesa/main/format_pack.c
|index 390b494..b04663f 100644
|--- a/src/mesa/main/format_pack.c
|+++ b/src/mesa/main/format_pack.c
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
3 out of 3 hunks ignored
can&#39;t find file to patch at input line 484
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c
|index 4f23f3d..ebd17fb 100644
|--- a/src/mesa/main/format_unpack.c
|+++ b/src/mesa/main/format_unpack.c
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
25 out of 25 hunks ignored
checking file mesa/main/formats.c
Hunk #1 FAILED at 312.
Hunk #2 FAILED at 330.
Hunk #3 FAILED at 348.
Hunk #4 FAILED at 402.
Hunk #5 FAILED at 429.
Hunk #6 FAILED at 438.
Hunk #7 FAILED at 456.
Hunk #8 FAILED at 474.
Hunk #9 FAILED at 638.
Hunk #10 FAILED at 1314.
Hunk #11 FAILED at 2062.
Hunk #12 FAILED at 2093.
Hunk #13 FAILED at 2121.
Hunk #14 FAILED at 2131.
Hunk #15 FAILED at 2141.
Hunk #16 FAILED at 2185.
Hunk #17 succeeded at 1186 (offset -1075 lines).
Hunk #18 FAILED at 2598.
Hunk #19 FAILED at 2620.
Hunk #20 FAILED at 2668.
Hunk #21 FAILED at 2778.
20 out of 21 hunks FAILED
checking file mesa/main/formats.h
Hunk #1 FAILED at 92.
Hunk #2 FAILED at 146.
Hunk #3 FAILED at 242.
3 out of 3 hunks FAILED
checking file mesa/main/texformat.c
Hunk #1 FAILED at 103.
Hunk #2 FAILED at 135.
Hunk #3 FAILED at 149.
Hunk #4 FAILED at 163.
Hunk #5 FAILED at 195.
Hunk #6 FAILED at 213.
Hunk #7 FAILED at 322.
Hunk #8 FAILED at 333.
Hunk #9 FAILED at 344.
Hunk #10 FAILED at 355.
Hunk #11 FAILED at 367.
Hunk #12 FAILED at 759.
Hunk #13 FAILED at 786.
13 out of 13 hunks FAILED
checking file mesa/main/texstore.c
Hunk #1 succeeded at 142 (offset -837 lines).
Hunk #2 FAILED at 1126.
Hunk #3 succeeded at 287 (offset -859 lines).
Hunk #4 FAILED at 1166.
Hunk #5 succeeded at 1271 with fuzz 2 (offset -870 lines).
Hunk #6 FAILED at 2282.
Hunk #7 FAILED at 2297.
Hunk #8 FAILED at 2402.
Hunk #9 FAILED at 2472.
Hunk #10 FAILED at 2514.
Hunk #11 FAILED at 2529.
Hunk #12 FAILED at 2573.
Hunk #13 FAILED at 3328.
Hunk #14 FAILED at 3547.
Hunk #15 FAILED at 3567.
Hunk #16 FAILED at 3598.
Hunk #17 FAILED at 4514.
Hunk #18 FAILED at 4550.
Hunk #19 FAILED at 4576.
16 out of 19 hunks FAILED
checking file mesa/state_tracker/st_cb_clear.c
Hunk #1 FAILED at 389.
Hunk #2 FAILED at 445.
2 out of 2 hunks FAILED
checking file mesa/state_tracker/st_format.c
Hunk #1 succeeded at 53 with fuzz 1 (offset -94 lines).
Hunk #2 FAILED at 203.
Hunk #3 succeeded at 177 with fuzz 2 (offset -88 lines).
Hunk #4 FAILED at 299.
Hunk #5 FAILED at 334.
Hunk #6 FAILED at 475.
Hunk #7 FAILED at 526.
Hunk #8 succeeded at 660 with fuzz 2 (offset 67 lines).
Hunk #9 succeeded at 697 with fuzz 2 (offset 66 lines).
Hunk #10 FAILED at 666.
Hunk #11 FAILED at 804.
Hunk #12 FAILED at 1570.
Hunk #13 FAILED at 1586.
Hunk #14 FAILED at 1602.
10 out of 14 hunks FAILED
rican-linux@lubuntu-powerbook:~/Build/mesa/src$ 

-----BEGIN PGP SIGNATURE-----
Version: Mailvelope v1.4.0
Comment: <a href="https://www.mailvelope.com">https://www.mailvelope.com</a>

wsFcBAEBCAAQBQJXN//JCRBZfgHS2LQxKAAAdnwP/RacNj1k5rQWFJ50RxSC
DoFeJCxPXspbhXiNXQpCON87ZKWXpphwwXS+/a/BPfi/rfQyLyaK6W34Gmv+
9eMzTOeteLSzo9H5vHs+GUj48bJsitrsXTZ8yjxrExYdKsqXk5AfOjKVBtOk
waic8mN4k+JughYpTVLvVnqtbslDm9ov4iP+h5u/hF/oIERnzzcKA2UhBHxn
G6zociCVFlWWE/4/tCaWg9CJk0DOkez0Hk83jdMfaiYK4yCseqIktctlA3TM
XI0npSG3zUi0etMwNcmcz6gMQToTYjqoeJTk0ZIi4BeVDgUW858F0OqSkwMm
g3a3+GysP495puqo+UdrJOGVAWzGbPEq8dS8l4k37BHA80znl+KO8jS4TR5V
l7fB3lvrC/h/CP/788vESIDNtQeXH+Zy87EHkoX+7x9+Jg2R7CbAYjacp5rx
qwXEj+CDOW44sqmGldEqgT7gmxhK1EuVuvSqaue5G0XQVTfse1ogzQOz0zGk
GSXuNFeoJLysVX27pDElJ1igY7wX/hliz1Vjcv1Ps9FlwF2Y43FS/1uXagg9
hiCQ6E+AgFVSiOWQIXHFmUArOM2r44lQF+Fh2vkAqPdp0AgOkGwEATDdJRdK
K4PaXEBodQnXsNLZ5z24KVIpImP+hz76nriGQUE3iS1TVT6E9tXGG7h/6Ssa
6jFM
=rjrD
-----END PGP SIGNATURE-----
<pre></pre></pre></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 14, 2016 at 6:26 AM, <span dir="ltr">&lt;<a href="mailto:[email protected]" target="_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>
<p>
</p><div>
<b><a title="NEW - On PPC, OpenGL programs use incorrect texture colors." href="https://bugs.freedesktop.org/show_bug.cgi?id=43698#c20" target="_blank">Comment # 20</a>
on <a title="NEW - On PPC, OpenGL programs use incorrect texture colors." href="https://bugs.freedesktop.org/show_bug.cgi?id=43698" target="_blank">bug 43698</a> from <span><a href="mailto:[email protected]" title="[email protected]" target="_blank">[email protected]</a>
</span></b>

       <pre>Compiled and using Mesa 11.3.0-devel (git-59156b2) now on my PowerMac G5 7,3

with an AGP Radeon 9600, rv350 class card.

Tested so far: AssaultCube, Extreme TuxRacer, RedEclipse, Sauerbraten. All installed from Ubuntu MATE 16.04 repositories.

Garbled textures: RedEclipse, Sauerbraten.

Extreme TuxRacer runs and is actually playable! However the colors are wrong and the backgrounnd sky is flickering constantly.

AssaultCube crashes after showing the &quot;Loading...&quot; window. See
<a href="https://bugs.launchpad.net/ubuntu/+source/assaultcube/+bug/1581805" target="_blank">https://bugs.launchpad.net/ubuntu/+source/assaultcube/+bug/1581805</a>

Extreme TuxRacer and Sauerbraten have problems while changing the resolution. Both get REALLY sluggish then, hardware acceleration does not seem to work any longer. The console output starts showing &quot;radeon 000:f0:10.0: ring 0 stalled for more than xxxx msec&quot; messages during these resolution change problems in Extreme TuxRacer.</pre>

       </div>
     <p></p><span class="">


     <hr>
     <span>You are receiving this mail because:</span>

     <ul>
         <li>You are on the CC list for the bug.</li>
     </ul>

</span></div>
</blockquote></div><br></div>

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#29 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

Mathieu Malaterre <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #124066|0                           |1

is obsolete| |

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#30 lore raw

[Bug 43698] On PPC, OpenGL programs use incorrect texture colors.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=43698

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #25 from [email protected] ---
Fix for this bug result in regression:
https://bugs.freedesktop.org/show_bug.cgi?id=98869

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel