Bug 91588

Summary: [LLVM] (bisected) Unigine Valley: High + AA = incorrect rendering
Product: Mesa Reporter: smoki <smoki00790>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: VERIFIED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: blueish screenshot
good_vs_bad.diff
stderrs.7z

Description smoki 2015-08-09 03:30:26 UTC
Depending on mesa version artifacts are green or blue. To reproduce set it on at least High and enable any AA...it is actually "motion blur + AA" that triggers it. Bisected to llvm r242173:

 MachineRegisterInfo: Remove UsedPhysReg infrastructure
Comment 1 smoki 2015-08-09 04:01:10 UTC
Created attachment 117598 [details]
blueish screenshot
Comment 2 Michel Dänzer 2015-08-10 06:01:21 UTC
You know the drill. Please provide the stderr output with R600_DEBUG=vs,gs,ps from a good and bad LLVM commit.
Comment 3 smoki 2015-08-10 07:31:06 UTC
Created attachment 117602 [details]
good_vs_bad.diff


 Yeah, i attached good vs bad diff (v97 is good and v89 bad)
Comment 4 Michel Dänzer 2015-08-10 09:27:19 UTC
Please generate a unified diff with "diff -u" or even better just attach both versions.
Comment 5 smoki 2015-08-10 10:24:47 UTC
Created attachment 117611 [details]
stderrs.7z


 7z compressed both
Comment 6 Marek Olšák 2015-08-14 10:54:43 UTC
The problematic commit has been reverted in the release_37 LLVM branch. The exact fix for master has yet to be tackled, though Tom seems to have an idea what's wrong there.
Comment 7 Michel Dänzer 2015-08-20 03:18:24 UTC
Seems fixed by LLVM SVN r245329.
Comment 8 Kai 2015-08-20 13:42:38 UTC
I can confirm, that this bug is gone with a stack including a LLVM build of SVN revision 245329 or later.

My current stack (Debian testing as a base):
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/f6c622f584
libdrm: 2.4.63-1
LLVM: SVN:trunk/r245487 (3.8 devel)
X.Org: 2:1.17.2-1.1
Linux: 4.1.6
Firmware: <https://secure.freedesktop.org/~agd5f/radeon_ucode/hawaii/>
> 286640da3d90d7b51bdb038b65addc47  hawaii_ce.bin
> 161105a73f7dfb2fca513327491c32d6  hawaii_mc.bin
> d6195059ea724981c9acd3abd6ee5166  hawaii_me.bin
> ad511d31a4fe3147c8d80b8f6770b8d5  hawaii_mec.bin
> 63eae3f33c77aadbc6ed1a09a2aed81e  hawaii_pfp.bin
> 5b72c73acf0cbd0cbb639302f65bc7dc  hawaii_rlc.bin
> f00de91c24b3520197e1ddb85d99c34a  hawaii_sdma1.bin
> 8e16f749d62b150d0d1f580d71bc4348  hawaii_sdma.bin
> 7b6ca5302b56bd35bf52804919d57e63  hawaii_smc.bin
> 9f2ba7e720e2af4d7605a9a4fd903513  hawaii_uvd.bin
> b0f2a043e72fbf265b2f858b8ddbdb09  hawaii_vce.bin
libclc: Git:master/7958b0202b
DDX: Git:master/b6d871bf29

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.