RADV: Texture seams in The Evil Within 2 (regression)
Description
In The Evil Within 2 there are buggy seams visible on the texture of many surfaces with recent RADV/Mesa main. This is a regression very likely caused by 5ce4017a. I did not bisect this, but the issue is very similar to #5753 (closed) and indeed launching The Evil Within 2 with radv_disable_aniso_single_level=true
makes it look correct again.
Just for reference, this issues also occurs with RADV_DEBUG=llvm, AMDVLK and amdgpu-pro, but not on NVIDIA or when running the game on wined3d and radeonsi. However, running wined3d on zink and radv does show the issue.
Screenshots/video files
Steps to reproduce
Install the game from steam and run it. The seams are visible right on the main menu or the road texture after starting a new game.
System information
- OS: Arch Linux
- GPU: RX 6700 XT
- Kernel version: 5.16.8
- Mesa version:
main da8c2f5ed3
- Desktop environment: Gnome/x11
- Wine/Proton version: Proton Experimental
Regression
Yes, it works with 21.3.5
API captures (if applicable, optional)
D3D11 apitrace that reproduces the issue: https://drive.google.com/file/d/1-XV06E30tsqkXFJHkr9lt47goCgfkfc3/view?usp=sharing