RADV: Resident Evil Village needs invariantgeom when NGG culling is enabled
Description
Running Resident Evil Village with RADV_PERFTEST=nggc
makes vegetation in the game flicker. The game works normally without nggc.
Also, RADV_DEBUG=invariantgeom
makes the flickering go away.
Screenshots/video files
Steps to reproduce
- Start the game with
RADV_PERFTEST=nggc %command%
- Find some vegetation and you will observe the same flickering as in the video above.
System information
- OS: Arch Linux
- GPU: 2f:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [1002:73df] (rev c1)
- Kernel version: 5.13.0-173-tkg-pds
- Mesa version: Mesa 21.3.0-devel (git-19c82837)
- Desktop environment: Not applicable, I am using the i3 window manager.
If applicable
- X.Org X Server 1.20.12
- Wine/Proton version: Proton-6.10-GE-1
Edited by Timur Kristóf