[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)

Abierto
#3,091 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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

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:
  1. 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: image ghcr.io/niko1221/strata:0.2.13-rocm-gfx120x (an LLM inference engine built on ROCm).
  2. Start the container. The engine process hangs within the first seconds, before loading any model data (about 0.9 GB of VRAM in use).
  3. Check ps: the process is in state D waiting in amdgpu_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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ValveSoftware/SteamOS

Todos los issues de ValveSoftware/SteamOS

Issues similares

Más issues de Operating Systems

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.