radv: Hi-Fi Rush incorrectly rendering face shadows with DCC on 7900 XTX
Original report here: https://github.com/ValveSoftware/Proton/issues/6493#issuecomment-1412457534
Description
When playing Hi-Fi Rush on a 7900 XTX, the face LOD models seem to be interfering with proper shadow rendering. Certain distances from the camera look fine but most others look garbled or completely dark.
Screenshots/video files
Steps to reproduce
Play the game and look at models in the main menu. 808's (the robot cat's) face is easiest to see random verts being shaded badly on when pressing "Continue". Other character faces will usually be darkened or show similar bad verts being shaded at particular distances when moving the camera around, visible from the very start of the game.
System information
- OS: Gentoo
- GPU: 0f:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] [1002:744c] (rev c8)
- Kernel version: Linux gentoo 6.1.9-zen1-znver3-o3-pds #1 (closed) ZEN SMP PREEMPT_DYNAMIC Wed Feb 1 13:15:11 EST 2023 x86_64 AMD Ryzen 7 5800X 8-Core Processor AuthenticAMD GNU/Linux
- Mesa version: 4.6 (Compatibility Profile) Mesa 23.0.0-rc4; Mesa 23.1.0-devel (git-60d7e15a) also has the same behavior
- Desktop environment: i3
- Xserver version: X.Org X Server 1.21.1.6
- DXVK version: 2.1 (System); The game uses VKD3D with current Proton version showing 2.8.0/1.3.230.
- Wine/Proton version: Proton GE-Proton7-48, Proton Experimental (Bleeding-Edge), Proton 7.0-5, Proton 7.0-6
Further information (optional)
The issue seems to go away when using RADV_DEBUG=nodcc,nohiz
, per a suggestion on the issue I made under Proton.
I have RADV_PERFTEST=rt,sam,gpl
, but the issue remains the same when removing these values.