Unreal Engine 5.2 virtual shadow maps have glitchy/lazy tile updates
Brief summary of the problem:
The original bug report can be found here with additional information: #9019 (closed)
With the newly released Unreal Engine 5.2, I've noticed that the virtual shadow maps implementation exhibits lazy tile glitching behaviour. I've tried both the latest RADV Mesa driver and a fairly recent AMDVLK driver, and both have the same behaviour - so I thought I'd place the bug here as it probably lives in the amdgpu drm implementation.
Hardware description:
- CPU: Threadripper 3990x
- GPU:
23:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c0)
- System Memory: 256GB
- Display(s): EVE Spectrum 4k @ 120hz + HP Dreamcolor LP2480zx @ 60hz
- Type of Display Connection: 2x DP
System information:
- Distro name and Version: Ubuntu 23.04
- Kernel version:
Linux TR-3B 6.2.0-20-generic #20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 6 07:48:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
- Custom kernel: N/A
- AMD official driver version: N/A
How to reproduce the issue:
Compile the latest UnrealEngine 5.2 with the git tag 5.2.0-release: https://github.com/EpicGames/UnrealEngine/tree/5.2.0-release
Launch the editor ./UnrealEditor, and create a project (I just use the Vehicle template under Games, most likely any would do this)
Hit the green play button and use WASD+mouse to drive and move around. Observe the shadows having a strange tiled lazy updating behaviour
Attached files:
N/A
Screenshots/video files
Log files (for system lockups / game freezes / crashes)
N/A