[3.10.0 Preview] ROCm/KFD process hangs forever in amdgpu_vm_validate on RX 9070 XT (regression from 3.9.6, kernel 7.2.7)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- linux
调研方向
Compare SteamOS 3.9.6 (kernel 7.2.7) with 3.10.0 Preview (kernel 7.3.1) and begin with the reported amdgpu_vm_validate → amdgpu_amdkfd_gpuvm_map_memory_to_gpu stack in the AMDGPU/KFD kernel code. Reproduce with the listed RX 9070 XT, ROCm workload, and rootless Podman device setup; confirm the process blocks during its first GPU memory mapping and identify the regression before proposing a fix.
由索引模型根据 Issue 内容生成。
描述
Your system information
- Steam client version: not relevant (kernel-level issue, reproduced over SSH without Steam involved)
- SteamOS version: 3.10.0 Preview, build 20261113.101, kernel 7.3.1-valve2-1-neptune-73
- Opted into Steam client beta?: not relevant
- Opted into SteamOS beta?: Yes (preview channel)
- Have you checked for updates in Settings > System?: Yes
Hardware (not a Steam Deck):
- GPU: Radeon RX 9070 XT 16 GB (1002:7550), plus iGPU Radeon 610M (1002:164e)
- CPU / board: Ryzen 9 8945HX, Minisforum BD895i SE, 92 GB RAM
Please describe your issue in as much detail as possible:
Regression between SteamOS 3.9.6 and 3.10.0 Preview:
- Works: SteamOS 3.9.6 (beta, build 20261112.101), kernel 7.2.7-valve2-2-neptune-72
- Broken: SteamOS 3.10.0 Preview (build 20261113.101), kernel 7.3.1-valve2-1-neptune-73
- Same container image, model and settings on both; only the OS update changed.
Expected: a ROCm compute workload in a container starts and uses the GPU, as on 3.9.6.
Actual: the ROCm process blocks forever in the kernel on its first GPU memory mapping. It sits in state D (uninterruptible) in amdgpu_vm_validate, uses 0% CPU and cannot be killed. Because of it the container never stops and a normal shutdown or reboot never finishes; only a hard power reset helps. Reproduced on 3 of 3 starts. Graphics (desktop, HDMI 2.1 4K120 with VRR available) keep working at the same time, and there are no amdgpu errors or GPU resets in the kernel log before the hang.
Kernel log, hung task report (partial; the full trace was lost to the hard resets, I can capture it again if needed):
INFO: task strata:9308 blocked for more than 122 seconds.
? __pfx_amdgpu_amdkfd_validate_vm_bo+0x10/0x10 [amdgpu]
amdgpu_vm_validate+0x297/0x470 [amdgpu]
amdgpu_amdkfd_gpuvm_map_memory_to_gpu+0x21b/0x420 [amdgpu]
kfd_ioctl_map_memory_to_gpu+0xe6/0x2f0 [amdgpu]
kfd_ioctl+0x2ea/0x5c0 [amdgpu]
Ruled out: the iGPU. With ROCR_VISIBLE_DEVICES=0 (RX 9070 XT only) the process hangs in the same place.
Steps for reproducing this issue:
- On SteamOS 3.10.0 Preview with an RX 9070 XT, run a ROCm/HIP workload in rootless Podman with
--device /dev/kfd --device /dev/dri. Here: imageghcr.io/niko1221/strata:0.2.13-rocm-gfx120x(an LLM inference engine built on ROCm). - Start the container. The engine process hangs within the first seconds, before loading any model data (about 0.9 GB of VRAM in use).
- Check
ps: the process is in state D waiting inamdgpu_vm_validate; after about 2 minutes the kernel logs the hung task report above. Stopping the container or shutting down then hangs as well.
- 主要语言
- 没有语言数据
- 星标
- 2.7k
- 派生
- 89
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ValveSoftware/SteamOS 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
ValveSoftware/SteamOS#3037 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
ValveSoftware/SteamOS#2983 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
ValveSoftware/SteamOS#2927 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
ValveSoftware/SteamOS#2875 · 1 条评论 ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repair未关闭
难度 2/5 1-3 小时 新手友好度 80/100
ValveSoftware/SteamOS#2829 ·
查看 ValveSoftware/SteamOS 的全部 Issue
相似的 Issue
-
bug compatibility
难度 2/5 1-3 小时 新手友好度 62/100
omacom/omarchy#20525 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
SMP: secondary cores read RUNNING_THREADS without synchronization (READY_CORES is incremented with Relaxed)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
vivoblueos/kernel#591 ·
维护者通常 1 天内回复
-
area: bindings bug
难度 2/5 1-3 小时 新手友好度 72/100
olafurjohannsson/kjarni#165 ·
-
documentation follow-up x86
难度 1/5 1 小时以内 新手友好度 88/100
carrick-sh/carrick#3156 ·
维护者通常 1 天内回复