radv: Resident Evil 4 Chainsaw Demo GPU hang with Navi 24
Description
RADV crashes when reaching the first wood cabin
Log files (for system lockups / game freezes / crashes)
Steps to reproduce
after skipping the intro cutscenes just run straightforward and after passing under a barbed wire fence you will be facing a wood cabin, game should crash just before being able to enter it, although it could vary, lower settings seems to delay but not prevent a crash, one time i was able to enter the cabin just before it crashed.
and as per usual RADV_DEBUG=hang or syncshaders prevents crashing at a massive performance cost, so no radv crash logs (same as with rdr2 and gotham knights) Edit RADV_DEBUG=nobinning also prevents crash but without much performance cost.
System information
System:
Host: ian-endeavour Kernel: 6.2.2-arch2-1 arch: x86_64 bits: 64
compiler: gcc v: 12.2.1 Desktop: KDE Plasma v: 5.27.2 tk: Qt v: 5.15.8
wm: kwin_x11 dm: SDDM Distro: EndeavourOS base: Arch Linux
CPU:
Info: quad core model: Intel Xeon E3-1230 V2 bits: 64 type: MT MCP
arch: Ivy Bridge rev: 9 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
Speed (MHz): avg: 1600 min/max: 1600/3700 cores: 1: 1600 2: 1600 3: 1600
4: 1600 5: 1600 6: 1600 7: 1600 8: 1600 bogomips: 52699
Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
Device-1: AMD Navi 24 [Radeon RX 6400/6500 XT/6500M]
vendor: Tul / PowerColor driver: amdgpu v: kernel arch: RDNA-2 pcie:
speed: 16 GT/s lanes: 16 ports: active: HDMI-A-1 empty: DP-1
bus-ID: 03:00.0 chip-ID: 1002:743f
Display: x11 server: X.Org v: 21.1.7 compositor: kwin_x11 driver: X:
loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa
dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: LG (GoldStar) FULL HD
res: 1920x1080 dpi: 102 diag: 551mm (21.7")
API: OpenGL v: 4.6 Mesa 23.1.0-devel (git-29be4e9e9b) renderer: AMD
Radeon RX 6500 XT (navi24 LLVM 15.0.7 DRM 3.49 6.2.2-arch2-1)
direct-render: Yes
- OS: (EndeavourOS)
- GPU: (03:00.0 VGA compatible controller[0300]:Advanced Micro Devices,Inc.[AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] [1002:743f] (rev c1)
- Kernel version: (endeavour 6.2.2-arch2-1 #1 (closed) SMP PREEMPT_DYNAMIC Wed, 08 Mar 2023 04:07:29 +0000 x86_64 GNU/Linux)
- Mesa version: (4.6 (Compatibility Profile) Mesa 23.1.0-devel (git-29be4e9e))
- Desktop environment: (KDE)
If applicable
- Xserver version: (X.Org X Server 1.21.1.7)
- DXVK version: 2.1
- VKD3D version: 2.8
- Wine/Proton version: ProtonGE7-49/Proton-Experimental/Proton-7.06/Proton-Hotfix
Regression
Tried using 22.3.6-1 which is the latest stable from arch repos, crashes all the same.
API captures (if applicable, optional)
captured with Proton Hotfix and VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_gfxreconstruct steam steam://rungameid/2231770
https://drive.google.com/file/d/1CIWgFlAsqzyfFKIX0vm6MdAVk1fBLVmK/view?usp=share_link
Further information (optional)
EDIT: RADV_DEBUG=nobinning prevents crashing with a minimum if any performance cost UPDATE AMDVLK does work 2022.Q4.4-3 (mesa-git 23.1.0_devel.168060.3d4f6a00-1)
RADV_DEBUG=llvm crashes, amdvlk also crashes, no RADV_DEBUG option prevents crashing or have any effect besides hang/syncshaders.
no RADV_PERFTEST option makes any difference.