radeonsi: Minecraft + Sodium hangs on Vega 56/64 (bisected)
System information
- OS: Arch Linux
- GPU: AMD RX Vega 56 (Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64])
- Kernel version: 6.4.16-273-tkg-bore
- Mesa version: 23.1.0
- Xserver version: X.Org X Server 1.21.1.8
- Desktop manager and compositor: XFCE4
Describe the issue
Running minecraft with the sodium mod (performance improvement mod) immediately hangs as soon as the game loads into a world. It recovers briefly but then immediately hangs again. It also causes visible corruption (vertex data). Hangs are accompanied by kernel log messages (see below)
This is tracked in this sodium github issue.
I think this is closely related to my other issue #9593 (closed) affecting Euro Truck Simulator 2. Behavior and the version where the problems started seem to be the same.
Regression
I bisected this issue to commit: b5b0ded4. Before this commit there is no problem.
Log files as attachment
amdgpu 0000:0c:00.0: amdgpu: [gfxhub0] no-retry page fault (src_id:0 ring:24 vmid:3 pasid:32777, for process java pid 180280 thread java:cs0 pid 180412)
amdgpu 0000:0c:00.0: amdgpu: in page starting at address 0x0000800109bb1000 from IH client 0x1b (UTCL2)
amdgpu 0000:0c:00.0: amdgpu: VM_L2_PROTECTION_FAULT_STATUS:0x00301030
amdgpu 0000:0c:00.0: amdgpu: Faulty UTCL2 client ID: TCP (0x8)
amdgpu 0000:0c:00.0: amdgpu: MORE_FAULTS: 0x0
amdgpu 0000:0c:00.0: amdgpu: WALKER_ERROR: 0x0
amdgpu 0000:0c:00.0: amdgpu: PERMISSION_FAULTS: 0x3
amdgpu 0000:0c:00.0: amdgpu: MAPPING_ERROR: 0x0
amdgpu 0000:0c:00.0: amdgpu: RW: 0x0
Screenshots/video files
See Sodium github issue