Bug 105273

Summary: [r350] missing background, transparency not working & other glitches in ETR (AGP, ppc, mesa-18.1.2)
Product: Mesa Reporter: erhard_f
Component: Drivers/Gallium/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: PowerPC   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: ETR on ppc, pic 0
ETR on amd64, pic 0
ETR on ppc, pic 1
ETR on amd64, pic 0
ETR on ppc, pic 1

Description erhard_f 2018-02-27 18:27:50 UTC
Created attachment 137657 [details]
ETR on ppc, pic 0

I know, I know - yet another bug of something not working on ppc. But actually things have improved in the meantime. Since a complete system & kernel rebuild with gcc 7.3.0 my AGP Radeon 9650 and 9800 started working decently (see bug #105254). And mesa 18.0.0_rc4 certainly shows less glitches than 17.2.x and the versions before. Colors are right and Extreme Tux Racer runs smoothly.

What's not working is transparency and the background is missing too. Another thing is this strange misplacement of trees and the start/finish banner on the track (lying on the side instead of standing).

I'll add pictures, you will notice immediately what I mean.
Comment 1 erhard_f 2018-02-27 18:28:26 UTC
Created attachment 137658 [details]
ETR on amd64, pic 0
Comment 2 erhard_f 2018-02-27 18:29:10 UTC
Created attachment 137659 [details]
ETR on ppc, pic 1
Comment 3 erhard_f 2018-02-27 18:29:38 UTC
Created attachment 137660 [details]
ETR on amd64, pic 0
Comment 4 erhard_f 2018-02-27 18:30:11 UTC
Created attachment 137661 [details]
ETR on ppc, pic 1
Comment 5 erhard_f 2018-03-03 15:38:16 UTC
Just tried software rendering for comparison. Using softpipe ETR runs like on amd64 without any glitches. Albeith unuseable slow on a G5.

$ glxinfo | grep -i opengl
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: softpipe
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.0.0-rc4
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.0.0-rc4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 18.0.0-rc4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
Comment 6 erhard_f 2018-03-08 18:57:27 UTC
Tried a Radeon HD 6450 on my PCIe PowerMac G5 11,2 for another comparison. Graphics are rendered correctly! So it seems this bug is a specific r300 driver problem, not a generic Big Endian problem.

$ glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: AMD CAICOS (DRM 2.49.0 / 4.9.85-gentoo)
OpenGL core profile version string: 3.2 (Core Profile) Mesa 18.0.0-rc4
OpenGL core profile shading language version string: 1.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 18.0.0-rc4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.0.0-rc4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
Comment 7 erhard_f 2018-06-24 14:11:04 UTC
Tried mesa-18.1.2 but still no luck.

$ glxinfo | grep -i opengl
r300: DRM version: 2.50.0, Name: ATI R350, ID: 0x4e48, GB: 2, Z: 1
r300: GART size: 253 MB, VRAM size: 256 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: YES
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: ATI R350
OpenGL version string: 2.1 Mesa 18.1.2
OpenGL shading language version string: 1.20
OpenGL extensions:
r300: DRM version: 2.50.0, Name: ATI R350, ID: 0x4e48, GB: 2, Z: 1
r300: GART size: 253 MB, VRAM size: 256 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: YES
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 18.1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
Comment 8 erhard_f 2018-08-18 13:23:29 UTC
Tried mesa-18.2.0_rc2 but still no luck.

$ glxinfo | grep -i opengl
r300: DRM version: 2.50.0, Name: ATI R350, ID: 0x4e48, GB: 2, Z: 1
r300: GART size: 253 MB, VRAM size: 256 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: YES
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: ATI R350
OpenGL version string: 2.1 Mesa 18.2.0-rc2
OpenGL shading language version string: 1.20
OpenGL extensions:
r300: DRM version: 2.50.0, Name: ATI R350, ID: 0x4e48, GB: 2, Z: 1
r300: GART size: 253 MB, VRAM size: 256 MB
r300: AA compression RAM: YES, Z compression RAM: YES, HiZ RAM: YES
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 18.2.0-rc2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
Comment 9 GitLab Migration User 2019-09-18 18:54:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/385.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.