Bug 96908

Summary: [radeonsi] MSAA causes graphical artifacts
Product: Mesa Reporter: Andrey Vaynberger <Platerx>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED 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: artifacts in The Talos Principle
Artifacts in Unigine Heaven
glxinfo64 output
dmesg output

Description Andrey Vaynberger 2016-07-12 20:26:03 UTC
Created attachment 125035 [details]
artifacts in The Talos Principle

When I enable MSAA (x2, x4 or x8) in the Unigine Heaven or in The Talos Principle (I haven't tried other games yet) I get graphical artifacts. You can see them on the attached screenshots.

GPU: AMD RX480
OS: Fedora 25
Mesa version:  git b479c47
LLVM version: svn 275001
Kernel version: 4.7.0-rc6
linux-firmware: git a141500
Comment 1 Andrey Vaynberger 2016-07-12 20:28:04 UTC
Created attachment 125036 [details]
Artifacts in Unigine Heaven
Comment 2 Andrey Vaynberger 2016-07-12 20:29:12 UTC
Created attachment 125037 [details]
glxinfo64 output
Comment 3 Andrey Vaynberger 2016-07-12 20:32:10 UTC
Created attachment 125038 [details]
dmesg output
Comment 4 Nicolai Hähnle 2016-07-13 09:05:46 UTC
Hi Andrey, thanks for the report.

I just tried Unigine Heaven with x8 on Tonga, and see no such problems. I'm also fairly certain that I tried MSAA in Heaven on Polaris10 and so no such problems, but I'll re-try when I get the change. I'll keep you posted.
Comment 5 Nicolai Hähnle 2016-07-13 09:07:10 UTC
Sorry, forgot to mention: could you provide an apitrace of The Talos Principle that shows the artifacts on your system? Upload e.g. to Google Drive since it's going to be fairly large.
Comment 6 Nicolai Hähnle 2016-07-13 09:26:00 UTC
Never mind, I see them in Unigine Heaven on Polaris10 as well. Must be a recent regression.
Comment 7 Andrey Vaynberger 2016-07-13 19:20:46 UTC
The apitrace of The Talos Principle: https://drive.google.com/open?id=0BzMT1H8Zl-hEeXBhSUxqQkM1dEk. Just in case.
Comment 8 Nicolai Hähnle 2016-07-16 18:45:24 UTC
The patch at https://patchwork.freedesktop.org/patch/99101/ fixes the problem for me.
Comment 9 Andrey Vaynberger 2016-07-17 18:09:21 UTC
I confirm. The patch fixes the problem for me as well.
Comment 10 Nicolai Hähnle 2016-07-23 13:41:23 UTC
Mesa master commit f755da0f2f8609e603b50424aa254358eb72fa25

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.