[RADV] The Last Of Us Part 1: artifacting in the menu (with workaround)
The Last Of Us Part 1 has some annoyances on RADV.
If we just run the game as is, it complains about the driver being out of date and then incorrectly detects the amount of VRAM causing texture streaming issues especially at higher resolutions.
If we launch the game with WINEDLLOVERRIDES="amd_ags_x64=b"
the game no longer complains about drivers and detects the correct amount of VRAM, but the menu shows artifacting on the curtains. Ingame, it renders correctly and has no texture streaming issues.
Adding RADV_DEBUG=nonggc
gets rid of the artifacting in the menu and doesn't seem to cause any performance or stability issues so far.
This is on a 6900XT with the latest Mesa 23.1 commit.
System information
inxi -GSC -xx
output:
System:
Host: Ascension Kernel: 6.2.10-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.8 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: 2684 high: 3586 min/max: 2200/4850 boost: enabled
cores: 1: 3552 2: 2200 3: 2200 4: 2200 5: 2671 6: 2850 7: 2200
8: 3583 9: 3586 10: 2874 11: 2855 12: 2200 13: 2865 14: 2200
15: 2715 16: 2200 bogomips: 121639
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.1.0-devel (git-4ac56e3e5a) renderer: AMD
Radeon RX 6900 XT (navi21 LLVM 15.0.7 DRM 3.49 6.2.10-arch1-1)
direct-render: Yes
- DXVK version: latest master (git af0009c5debe33cffd5e412d0ff3d8adcd064c55)
- VKD3D-proton version: latest master (git 42e3adc29f5b522161e20d08a1dd230b650c59bb)
- Wine/Proton version: Wine-GE-Proton7-42
Screenshots/video files (if applicable)
Game with amd_ags_x64 enabled (complains about the driver version and incorrectly detects the amount of VRAM):
Game with amd_ags_x64 disabled (artifacting in the menu):
Game with amd_ags_x64 disabled and RADV_DEBUG=nonggc (renders correctly):