[Bisected][RADV] Rendering issues and performance drop with GFX10 on RPCS3
System information
System: Host: glitcher Kernel: 5.10.21-131-tkg-upds x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: KDE Plasma 5.21.2
tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM Distro: Arch Linux
CPU: Info: 6-Core model: Intel Core i7-8086K bits: 64 type: MT MCP arch: Kaby Lake note: check rev: A L2 cache: 12 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 95999
Speed: 3727 MHz min/max: 800/5200 MHz Core speeds (MHz): 1: 3727 2: 3370 3: 4456 4: 2631 5: 4269 6: 3961 7: 4584
8: 2652 9: 3487 10: 3754 11: 3907 12: 3394
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
vendor: Sapphire Limited driver: amdgpu v: kernel bus ID: 03:00.0 chip ID: 1002:731f
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: amdgpu resolution: 2560x1440~144Hz
s-dpi: 75
OpenGL: renderer: AMD Radeon RX 5700 XT (NAVI10 DRM 3.40.0 5.10.21-131-tkg-upds LLVM 11.1.0)
v: 4.6 Mesa 21.0.0-devel (git-9339ed2f85) direct render: Yes
Description of the issue
Rendering anomalies and performance drop on some games (notably "the last of us") using RPCS3's vulkan renderer with a 5700XT. It affects both ACO and LLVM.
Regression
The issue starts with 9339ed2f and persists on current HEAD. Using the commit right before it (18ddd48e) leads to correct rendering.
Screenshots
Commit 9339ed2f:
Commit 18ddd48e:
Renderdoc: https://drive.google.com/file/d/1auGodMSX8BQ260eFRHsMEa6o4P5n-rif/view?usp=sharing
Edited by Etienne Juvigny