Grid Autosport via proton/vulkan: glitches on the grass on amdgpu, fine on amdgpu-pro
Description
I'm trying grid autosport via steam/proton(dxvk). (to start it you need to disable esync, or it hangs shortly after starting) The issue i'm seeing is that the grass flickers badly when the setting "ground cover" is set to "ultra". It happens everytime. i tried with aco compiler and llvm one but things did not changed. switching to amdgpu-pro, instead, makes the issue to disappear.
Screenshots/video files
Glitch on amdgpu (aco or llvm): amdgpu-x264 No glitch with amdgpu-pro: amdgpu-pro-x264
Steps to reproduce
Start grid autosport, windows version via steam/proton 5.13 (i've tested other versions too) Please, use the following steam startup options to make it run: PROTON_NO_ESYNC=1 LC_ALL=C %command%
Start a race on a track with some grass, the firs one on the first campaign should be fine. put shaders and ground cover settings manually to ultra. after two or tre turns you should see the sun lighting the grass, and the flicker. You have to move your car for the grass to flicker.
System information
- OS: Archlinux packages
- GPU: Radeon RX 5600
- Kernel version: 5.9.10
- Mesa version: 3.0 Mesa 20.3.4
- Desktop environment: KDE
- Xserver version: X.Org X Server 1.20.9
- DXVK version: (i don't remember what was shipped with proton 5.13)
- Wine/Proton version: 5.13
Regression
I don't know, but i can say it is presnt even with mesa 20.2.3
API captures (if applicable, optional)
gfxrecon-capture-grid-autosport_20210204T165239.7z
I hardly tried to make a capture file, my first time (gfxreconstruct) Triggering doesn't seems to work in steam, and also it didn't worked with proton, so i used system wine with steam and managed to make one. Since even with LZ4 the capture file exceeded 4GB, i recompressed it via 7zip and now it is "just" about 500MB (!?) Unfortunately, shaders went crazy when capturing, so i putted every setting down and managed to reproduce the issue even in the capture. Please, watch till the end, when the car walks on the grass, the grass itself "flashes" from dark to bright constantly as the car moves forward, that's the glitch.
Further information (optional)
The issue is present with aco and llvm, but not with amdgpu-pro
Somebody reported something very similar that happens on windows with older amd drivers, but not nvidia: https://steamcommunity.com/app/255220/discussions/0/1697221160905391858/