[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)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- linux
- Área
- operating-systems
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 2.7k
- Forks
- 89
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ValveSoftware/SteamOS
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
ValveSoftware/SteamOS#3037 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ValveSoftware/SteamOS#2983 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ValveSoftware/SteamOS#2927 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ValveSoftware/SteamOS#2875 · 1 comentario ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repairAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
ValveSoftware/SteamOS#2829 ·
Todos los issues de ValveSoftware/SteamOS
Issues similares
-
bug compatibility
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
omacom/omarchy#20525 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
SMP: secondary cores read RUNNING_THREADS without synchronization (READY_CORES is incremented with Relaxed)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
vivoblueos/kernel#591 ·
Los mantenedores suelen responder en 1 día
-
area: bindings bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
olafurjohannsson/kjarni#165 ·
-
documentation follow-up x86
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
carrick-sh/carrick#3156 ·
Los mantenedores suelen responder en 1 día