7.0.14-15-pve: amdgpu SMU stops responding on Strix Point (Radeon 890M, KFD workload in LXC) about 3 minutes after boot, GPU reset never completes

vedragan

Well-Known Member
Jan 25, 2018
1
0
66
53
Since proxmox-kernel-7.0.14-15-pve (the 7.0.14+15 CVE cherry-pick release) a node with an AMD Ryzen AI 9 HX 370 / Radeon 890M (Strix Point, 1002:150e rev c1) hangs its GPU about three minutes after boot as soon as an inference workload runs. The workload is llama.cpp and Ollama over ROCm/KFD inside an unprivileged LXC with /dev/dri and /dev/accel bind-mounted. On 7.0.14-14-pve the same node and workload ran for weeks without a single amdgpu error.


Sequence on -15 (dmesg, from boot): 09:34:03 SMU: No response msg_reg: 12 resp_reg: 0, then Failed to retrieve enabled ppfeatures! and Failed to export SMU metrics table! every few seconds; 09:34:29 Failed to disable gfxoff!, device coredump written, ring sdma0 timeout, signaled seq=24, emitted seq=26, Ring sdma0 reset failed, GPU reset begin!. Source: 1; from 09:35:17 task kworker/3:1:210 blocked for more than 122 seconds in kfd_process_wq_release [amdgpu], repeating until a hard reset. The container becomes unreachable, pvestatd blocks so the node reads “unknown” in the GUI, and a graceful systemctl reboot stalls in systemd-shutdown because the blocked kworker cannot be killed.


Pinning 7.0.14-14-pve with proxmox-boot-tool restores full stability. The two REG_WAIT optc35_disable_crtc lines at boot appear on both kernels and look unrelated.


Is there a known amdgpu/SMU change between 7.0.14-14 and -15 that affects Strix Point gfxoff or power management? Happy to provide the devcoredump and the full journal. BIOS 1.06 (Minisforum AI Series), pve-manager 9.2.11, ZFS 2.4.4.
 
There was no commit between those kernel versions that would be a clear potential cause of this, but FWIW the pve-firmware package got updated recently to version 3.18-6 with newer linux-firmware updates included. As those get copied into the generated initramfs, it might explain why the older kernel works while the newer doesn't if just those firmware files are at fault for your symptoms here.

Could you post the output of pveversion -v and the full kernel journal from a working -14 boot and a failing -15 boot, including the boot-time firmware messages and complete blocked-task traces? Was pve-firmware updated between installing those two kernels, and are you using the stock amdgpu module on the host or an AMD DKMS package?
 
I am seeing very similar symptoms on a different AMD GPU, an AMD Radeon RX 6600 (Navi 23), running Proxmox with kernel 7.0.14-30-pve and pve-firmware 3.18-9.

Ollama runs in an LXC container, sharing the Proxmox host kernel and using the host's AMDGPU driver.

During GPU workloads, the LXC becomes unresponsive, and Proxmox management and other containers have also become inaccessible.

I have disabled automatic startup of the Ollama container while investigating.

Given the similarities, I wonder whether this could be related to the AMDGPU/SMU firmware or kernel issue being discussed here, rather than something specific to Strix Point.

Has anyone investigated this on Navi 23 or other discrete AMD GPUs?