[ACO] [RADV] Flickering squares in some areas in The Last of Us Part 1 (with workaround)
I just finished playing TLOU Part 1 and found another couple of rendering issues, one is being investigated by the vkd3d devs, the other one is mesa related.
In some areas there are flickering squares visible on some objects (see video below), and the problem is fixed by using ACO_DEBUG=noopt
. I played the rest of the game with this setting and it didn't cause any performance issue, at least on my system.
I found this glitch in several areas, some worse than others, always related to a "1-bit" transparency.
System information
System:
Host: Ascension Kernel: 6.2.11-arch1-1 arch: x86_64 bits: 64 compiler: gcc
v: 12.2.1 Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.9 wm: kwin_x11
dm: SDDM Distro: Arch Linux
CPU:
Info: 8-core model: AMD Ryzen 7 5800X bits: 64 type: MT MCP arch: Zen 3+
rev: 0 cache: L1: 512 KiB L2: 4 MiB L3: 32 MiB
Speed (MHz): avg: 2444 high: 3599 min/max: 2200/4850 boost: enabled cores:
1: 3598 2: 2200 3: 3309 4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 3599
10: 2200 11: 2200 12: 2200 13: 2200 14: 2200 15: 2200 16: 2200
bogomips: 121640
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] driver: amdgpu
v: kernel arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports: active: DP-1
empty: DP-2,DP-3,HDMI-A-1 bus-ID: 2d:00.0 chip-ID: 1002:73bf
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_x11 driver: X: loaded: modesetting unloaded: vesa
alternate: fbdev dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 96
Monitor-1: DP-1 model: AOC Q2770 res: 2560x1440 dpi: 109 diag: 685mm (27")
API: OpenGL v: 4.6 Mesa 23.2.0-devel (git-d5871d21a5) renderer: AMD
Radeon RX 6900 XT (navi21 LLVM 15.0.7 DRM 3.49 6.2.11-arch1-1)
direct-render: Yes
If applicable
- Wine/Proton version: Wine-GE-Proton7-43
- VKD3D version: latest master
Regression
This is not a regression, Mesa 23.1 and 23.0.2 show the same problem.
Screenshots/video files (if applicable)
Renderdoc trace
Download: test_2023.04.20_10.20.05_frame13882.rdc