https://bugs.freedesktop.org/show_bug.cgi?id=60963
Priority: medium Bug ID: 60963 Assignee: dri-devel@lists.freedesktop.org Summary: [r300g] Anno1701: some models are red Severity: normal Classification: Unclassified OS: All Reporter: pavel.ondracka@email.cz 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
https://bugs.freedesktop.org/show_bug.cgi?id=60963
--- Comment #1 from Tom Stellard tstellar@gmail.com --- Could you post a dump with RADEON_DEBUG=noopt,vp,fp
https://bugs.freedesktop.org/show_bug.cgi?id=60963
--- Comment #2 from Pavel Ondračka pavel.ondracka@email.cz --- Created attachment 76840 --> https://bugs.freedesktop.org/attachment.cgi?id=76840&action=edit RADEON_DEBUG=noopt,fp,vp output
(In reply to comment #1)
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 brianp@vmware.com 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.
Reviewed-by: Matt Turner mattst88@gmail.com
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.
https://bugs.freedesktop.org/show_bug.cgi?id=60963
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED
--- Comment #3 from GitLab Migration User gitlab-migration@fdo.invalid --- -- 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.
dri-devel@lists.freedesktop.org