GPUOpen-Drivers / AMDVLK

AMD Open Source Driver For Vulkan
MIT License
1.7k stars 160 forks source link

Rendering issue in Battlefield 1 due to anisotropic filtering for single level images #267

Closed ms178 closed 1 year ago

ms178 commented 2 years ago

RADV and AMDVLK both now make use of anisotropic filtering for single level images according to a Mesa developer, leading to very noticeable texture rendering issue in Battlefield 1. I first reported this issue to Mesa right after their implementation landed in Mesa-git (see https://gitlab.freedesktop.org/mesa/mesa/-/issues/5753 with more screenshots and the comment from the Mesa dev), but during testing I found that AMDVLK is also affected. I tried DX11 and DX12 (via DXVK and VKD3D-Proton), both render pathes show the issue.

The Mesa dev thinks it is a bug of the game and works on a workaround. I hope it can also be worked around in AMDVLK.

Screenshot_20211216_165734

My GPU is a Vega 56. Tested with AMDVLK v-2021.Q4.3

ms178 commented 1 year ago

This still reproduces with the current AMDVLK. Is there an ETA for a fix?

WenqingLiAMD commented 1 year ago

This still reproduces with the current AMDVLK. Is there an ETA for a fix?

Could you help verify it with AMDVLK v-2022.Q4.2?

ms178 commented 1 year ago

@WenqingLiAMD I'd love to test that, but Battlefield 1 is broken right now on Linux due to an incompatibility between the new EA web app and Proton. Nevertheless, as the new AMDVLK release notes mentioned a fixed rendering issue in Battlefield 1, I thought that it meant this issue, but I will check that to make sure, once the mentioned issue with the EA web app is resolved.