Bug 110662 - shadow artifacts in Assassin's Creed: Unity
Summary: shadow artifacts in Assassin's Creed: Unity
Status: NEW
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/radeon (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-10 21:00 UTC by tempel.julian
Modified: 2019-06-21 07:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
renderdoc capture part 1 (180.00 MB, application/x-7z-compressed)
2019-05-10 21:04 UTC, tempel.julian
Details
renderdoc capture part 2 (180.00 MB, application/octet-stream)
2019-05-10 21:07 UTC, tempel.julian
Details
renderdoc capture part 3 (180.00 MB, application/octet-stream)
2019-05-10 21:11 UTC, tempel.julian
Details
renderdoc capture part 4 (180.00 MB, application/octet-stream)
2019-05-10 21:13 UTC, tempel.julian
Details
renderdoc capture part 5 (180.00 MB, application/octet-stream)
2019-05-10 21:16 UTC, tempel.julian
Details
renderdoc capture part 6/6 (169.31 MB, application/octet-stream)
2019-05-10 21:18 UTC, tempel.julian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tempel.julian 2019-05-10 21:00:12 UTC
Especially in interiors like this, there are "holes" and stripe artifacts in shadow maps:
https://abload.de/img/screenshot_20190510_24djhr.png

They also wander and change shape in motion, making the corruption quite perceivable.

The issue does not occur with proprietary amdvlk driver (open amdvlk hangs) and neither on Windows with DX11. Using Nvidia PCSS GameWorks effect mitigates or stops the issue, but it's very expensive.

Uploading renderdoc capture right now.

Latest git-master versions of dxvk and mesa were used.
Comment 1 tempel.julian 2019-05-10 21:04:02 UTC
Created attachment 144224 [details]
renderdoc capture part 1
Comment 2 tempel.julian 2019-05-10 21:07:56 UTC
Created attachment 144225 [details]
renderdoc capture part 2
Comment 3 tempel.julian 2019-05-10 21:11:00 UTC
Created attachment 144226 [details]
renderdoc capture part 3
Comment 4 tempel.julian 2019-05-10 21:13:15 UTC
Created attachment 144227 [details]
renderdoc capture part 4
Comment 5 tempel.julian 2019-05-10 21:16:06 UTC
Created attachment 144228 [details]
renderdoc capture part 5
Comment 6 tempel.julian 2019-05-10 21:18:15 UTC
Created attachment 144229 [details]
renderdoc capture part 6/6
Comment 7 tempel.julian 2019-06-09 11:32:44 UTC
The issue is still present with
mesa-git  19.2.0_devel.111622.f8f222ea364
llvm-libs-git  9.0.0_r318552.0d20969deaf

The game now works with the latest open amdvlk driver. Like amdgpu-pro, it doesn't show this issue.
Comment 8 Samuel Pitoiset 2019-06-11 17:00:07 UTC
How does it look with AMDVLK?
Comment 9 tempel.julian 2019-06-11 18:04:54 UTC
With amdvlk, the shadows look correct (no weird bright spots that wander with the camera).
There is an issue with amdvlk though related to the game's effect of the level's borders, but that seems totally unrelated to any shadow issues, I'd say.
Comment 10 tempel.julian 2019-06-11 18:12:58 UTC
A screenshot with amdvlk without the artifacts:
https://abload.de/img/screenshot_20190611_2elj3e.png

The issue is most prominent with radv when the sun is shining.
Comment 11 Samuel Pitoiset 2019-06-11 18:17:12 UTC
The artifacts with RADV are only with the minimap right?
Comment 12 tempel.julian 2019-06-11 18:53:33 UTC
After turning off the minimap in the game's options, the "shadowmap holes" are still there with radv (look a bit like drops in this screenshot):

https://abload.de/img/screenshot_20190611_28wkhv.png
Comment 13 Samuel Pitoiset 2019-06-11 18:57:51 UTC
I don't see what's wrong?
Comment 14 tempel.julian 2019-06-11 19:01:03 UTC
I've highlighted the artifacts:
https://abload.de/img/screenshot_20190611_2jqkx1.png

It looks quite worse in motion, as these bright spots shift their shape, wander etc.
Comment 15 Samuel Pitoiset 2019-06-11 19:04:44 UTC
Oh okay, I see :-)


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.