-
Notifications
You must be signed in to change notification settings - Fork 866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[d3d11] Halo: The Master Chief Collection - Shadow dithering in Halo: Reach #3341
Comments
sounds like depth bias memes at a first glance since D24S8 isn't natively supoorted on any AMD Vulkan driver, not really a bug and also not something we can reliably address in any way. |
Not that I would know either way, but the bug also happening on Nvidia (GTX 1070 & 1080) would suggest to me that that isn't quite the case 🐸 |
Depth bias is somewhat hardware- and driver-dependent either way so I don't really see why it wouldn't be just that. Shadow acne exactly like this has been a very common issue for us in D3D9 games, among other D3D9-specific problems related to depth bias. Not like DXVK randomly decides to make some of your pixels dark for no reason, it's happening because the math being done on shadow maps essentially results in "oh there's a shadow here". I guess we could add a workaround to multiply depth bias values by some factor for now which would default to 1. |
I see. I'm not fully sure I understand the correlation though...? MCC is a D3D11 game, so my assumption is that other depth bias problems seen on D3D9 wouldn't really matter here, or else I would've made the issue differently. Obviously though, I don't even know enough to know what I don't know 😁 |
All he was saying is that it's a common problem for D3D9 games. (#2892) |
I checked this ingame on Linux and i see the same lines with wined3d. Tested with a 7900xtx |
I guess the new EXT_depth_bias_control doesn't help here, since it's apparently depth bias related? |
@mbriar No, it doesn't. That's what prompted Bistos investigation. |
Verified on Windows the wall issue is not present with the native game but appears with dxvk. And the slope floor issue also when spoofing to nvidia with dxvk. Tho i noticed the native game itself had a single (or dual?) line on the floor a distance ahead of the player moving along with me. Semi cursed game with all of these small things hehe. |
After re-investigating this game for a YouTube video, I found some Windows users exhibiting the same issue shown in your footage here, and reproduced this exact artifact when forcing an Nvidia PCI ID in a modern build of DXVK, among others. The shadow issue that remains is more or less certainly a game bug based on what I discovered, and I even found and documented a workaround, so I'm going to go ahead and close the issue. Thanks! |
When playing Halo: Reach in The Master Chief Collection, you may notice a shadow dithering/banding artifact which appears mostly in one triangle in the top left area of the screen. (Imagine a viewport split into two tris, the artifact is primarily present on the left one.)
This problem reproduces on radv and amdvlk, and also Nvidia on Windows, though the dithering artifact is not limited to one triangle there.
Interestingly, or perhaps disconcertingly, the issue does not reproduce with a single apitrace. When launching the game with DXVK, the issue will always manifest. When launching it with native Nvidia Windows drivers, the issue will never manifest, even when replaying a recorded trace with DXVK.
System information
Pictured: A comparison between Nvidia Windows (left) and DXVK on Linux (right). You may need to zoom in to view the banding.
Apitrace file(s)
Inside, you will find two traces, mcc-reach-badshadows.trace (captured on Linux with DXVK) and mcc-reach-goodshadows.trace (captured on Windows with Nvidia native drivers).
Please let me know if I can provide any more information.
The text was updated successfully, but these errors were encountered: