Bug 110370

Summary: Rendering artifacts in Enter The Gungeon on Both RX 590 and Radeon 7
Product: Mesa Reporter: Ryan Houdek <Sonicadvance1>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Ryan Houdek 2019-04-09 12:32:53 UTC
I have rendering artifacts in Enter the Gungeon with RadeonSI.
Bug was reproduced on both a Radeon 7 and an RX590 using Mesa git versions
The game rendering is fairly simple and may not be too hard to track down.
The rendering artifact is the shimmering around texture edges in the video I will provide.
I've also attached a renderdoc capture of a frame in the game where the artifacting is occurring.

Additionally the game is running very slowly due to massive amounts of futex usages, but I can trace back if those are coming game side or driver side.

Video: https://drive.google.com/file/d/1NNA_lCY5FqzxpYtf1DIreZ8i7BKATTn9/view?usp=sharing
RenderDoc capture: https://drive.google.com/file/d/1P1Dr2g4L8LpC7CBfVmriWX8X7F-mLx0w/view?usp=sharing
Comment 1 Ryan Houdek 2019-04-09 13:32:14 UTC
Some additional information.
If you change their lighting model from High to Low in the video settings then the corruption goes away, but this is obviously less than ideal.
Definitely something to do with that shading pass though.
Comment 2 andrew.m.mcmahon 2019-04-10 18:04:07 UTC
I don't seem to suffer with poor performance even on an obsolete Phenom II x4 955. But now that you've mentioned when I notice a very slight bit of this shimmering effect on my R9 285, admittedly not to the same degree as you.
It's quite noticeable on the first red step at the beginning of the game and seems to shift around with the position of the game camera:
https://imgur.com/a/IBmHmhd

Using the GOG v2.1.5 release on:
> Debian Testing
> Linux-drm-fixes-5.1
> Mesa 19.1.0-devel (git-53f715fafb)
> Device: AMD Radeon R9 200 Series (TONGA, DRM 3.30.0, 5.1.0-rc1+, LLVM 8.0.0)
Recorded a trace running the x86 & x86_64 build of the game:
https://drive.google.com/drive/folders/10lYHjPXwkxVyUCQM2lJgKES_l2_HNKLg
Comment 3 GitLab Migration User 2019-09-25 18:49:16 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/1386.

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.