radv: DCC artifacts in SwanStation (PS1 emulator) on RX 6700 XT
Description
Artifacts appear in the background of the game Rayman (USA) when playing on SwanStation with the Vulkan backend. The OpenGL backend is unaffected. The artifacts disappear when using RADV_DEBUG=nodcc
or switching to AMDGPU-PRO, so this seems similar to #6456 (closed).
Screenshots
gfxrecon replay -m rebind compressed.gfxr --screenshots 240
RADV (Mesa 23.1.0):
RADV (3867e91d):
RADV with nodcc
:
AMDGPU-PRO 22.40:
Steps to reproduce
- Download RetroArch and SwanStation (in the core updater or from a distro repository)
- Start the game: Rayman (USA)
- Create a new save file and select the first level
- Walk to the right and artifacts should appear in the level background
Or replay the API capture with GFXReconstruct.
System information
System:
Host: desktop Kernel: 6.3.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc
v: 13.1.1 Desktop: KDE Plasma v: 5.27.5 tk: Qt v: 5.15.9 wm: kwin_wayland
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: 2514 high: 3869 min/max: 550/4851 cores: 1: 3869 2: 3598
3: 550 4: 3831 5: 3706 6: 550 7: 550 8: 550 9: 3593 10: 3628 11: 3602
12: 550 13: 3813 14: 550 15: 3687 16: 3597 bogomips: 121600
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
vendor: ASUSTeK driver: amdgpu v: kernel arch: RDNA-2 pcie: speed: 16 GT/s
lanes: 16 ports: active: DP-1,HDMI-A-1 empty: DP-2,DP-3 bus-ID: 07:00.0
chip-ID: 1002:73df
Display: wayland server: X.org v: 1.21.1.99 with: Xwayland v: 21.1.99
compositor: kwin_wayland driver: X: loaded: modesetting dri: radeonsi
gpu: amdgpu d-rect: 3840x2160 display-ID: 0
Monitor-1: DP-1 pos: primary,top-left res: 1920x1080 size: N/A
Monitor-2: HDMI-A-1 pos: bottom-r res: 1920x1080 size: N/A
API: OpenGL v: 4.6 Mesa 23.2.0-devel (git-eb9bc0a3e2) renderer: AMD
Radeon RX 6700 XT (navi22 LLVM 15.0.7 DRM 3.52 6.3.4-zen1-1-zen)
direct-render: Yes
Regression
Not sure. All of the Mesa 23 releases are broken.