Skip to contentSkip to conversation

New: [r300g] Anno1701: some models are red

Bug 60963 [email protected] 1 participant 4 messages Feb 16, 2013 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 60963
Assignee: [email protected]
Summary: [r300g] Anno1701: some models are red
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: git
Component: Drivers/Gallium/r300
Product: Mesa

Created attachment 74948
--> https://bugs.freedesktop.org/attachment.cgi?id=74948&action=edit
RADEON_DEBUG=fp,vp

In Anno1701, some models are red, however they are rendered with correct colors when RADEON_DEBUG=noopt is used (or with glsl disabled in Wine).

Apitrace here http://pavel.ondracka.cz/Anno1701.trace (renders fine with proprietary NVIDIA drivers).

Wine: 1.5.23
GPU: RV530
Mesa: f1ab67c13ab97f19c08d99c6ba101edc7d7b80e6
Kernel: 3.7.3-101.fc17.i686

Signature · 2 lines
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

#1 lore raw

[Bug 60963] [r300g] Anno1701: some models are red

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

--- Comment #1 from Tom Stellard <[email protected]> --- Could you post a dump with RADEON_DEBUG=noopt,vp,fp

Signature · 2 lines
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

author Reviewed-by Matt Turner
#2 lore raw

[Bug 60963] [r300g] Anno1701: some models are red

In reply to [email protected]

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

--- Comment #2 from Pavel Ondračka <[email protected]> --- Created attachment 76840
--> https://bugs.freedesktop.org/attachment.cgi?id=76840&action=edit
RADEON_DEBUG=noopt,fp,vp output

(In reply to comment #1)

Quoted 1 line

Could you post a dump with RADEON_DEBUG=noopt,vp,fp

New log attached. However there is something bad going on. There are two bugs affecting this game. This one and bug 60965, however when I reported them, this bug used to disappeared with RADEON_DEBUG=noopt and bug 60965 didn't. Now when I use RADEON_DEBUG=noopt, the corruption from bug 60965 is much worse and is all over the place. The change did happened with f6c061261885fed0c83c437e9459ba79618f1b3a is the first bad commit commit f6c061261885fed0c83c437e9459ba79618f1b3a

Author: Brian Paul <[email protected]>
Date:   Fri Mar 1 15:16:15 2013 -0700

st/mesa: convert ir_triop_lrp to TGSI_OPCODE_LRP

AFAICT, all gallium drivers implement TGSI_OPCODE_LRP. Tested with softpipe, llvmpipe, svga drivers.

without RADEON_DEBUG=noopt the corruption is still the same, so my guess is that r300 compiler somehow doesn't like TGSI_OPCODE_LRP, optimizes is away a little bit, but not completely.

Signature · 2 lines
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

#3 lore raw

[Bug 60963] [r300g] Anno1701: some models are red

In reply to [email protected]

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

GitLab Migration User <[email protected]> changed:

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

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #3 from GitLab Migration User <[email protected]> --- -- 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/352.

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