Steam Machine (Fremont / Navi 33): unrecoverable display hang after TV power-off, GPU reset stalls in dm_suspend

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

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
6/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c, linux

Línea de trabajo

Start with the captured devcoredump from 2026-11-23 19:16:06 and the journal stacks, then read the HPD, atomic-commit and reset paths in drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c, where dm_suspend and the dm->dc_lock candidate live. Confirm whether the two stall reports share one lock owner before proposing anything; the issue does not yet establish a lock cycle. Done would mean an identified mutex identity or a reasoned explanation of why dm_suspend cannot complete, not a patch.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

System information

Item Value
Device Valve Steam Machine (Fremont), product revision 1, board revision 9
BIOS F7F0108 (2026-08-03)
SteamOS 3.9.5, BUILD_ID=20261023.100, stable
Kernel 7.2.7-valve2-2-neptune-72-g31504582a073
Desktop KDE Plasma / KWin 6.7.3, Wayland, Desktop Mode
GPU AMD Navi 33 [1002:7481] rev c7, subsystem [1e44:1717], 8176 MiB VRAM
VBIOS 113-D7461000-101, 022.003.001.037.000001 (2025-12-01)
SMU / DMUB firmware 0x00525c00 (82.92.0), driver interface 0x35 / firmware interface 0x40; DMUB 0x07002D00
Graphics stack Mesa 26.1.2.221562.radeonsi; vulkan-radeon 26.2.0_devel.222147; libdrm 2.4.134
Steam client steamdeck_stable, build 1794536281
Display HAIER TV, HDMI-A-1; EDID advertises 3840x2160@144 Hz, VRR 48–144 Hz, HDR and FRL capabilities
Other devices connected to the same TV Nintendo Switch 2 and Xbox Series S
Desktop mode after reboot [email protected] Hz; VRR Automatic; HDR disabled. Mode at failure not independently captured.
Selected kernel parameters amdgpu.lockup_timeout=5000,10000,10000,5000 ttm.pages_min=2097152 amdgpu.sched_hw_submission=4 amdgpu.dcdebugmask=0x20000
Selected module parameters hdmi_hpd_debounce_delay_ms=0; uni_mes=1; reset_method=-1

System information was collected after the forced reboot. The affected boot was logged from 2026-11-23 11:20:31 to 2026-11-24 00:18:47 UTC. The Steam client and SteamOS were on their stable channels. Update availability at the time of the incident was not recorded.

Problem description

During an overnight AI-video-generation workload (Wan 2.1, sd-cli, Vulkan compute) in Desktop Mode, the HDMI-connected TV was turned off. The system journal reports 44 display removal/addition cycles over approximately 15 minutes, with a median interval of 21 seconds between removals. All 132 DDCA connect notifications reported ddc working: false (three notifications per cycle). HDMI audio and the desktop output repeatedly disappeared.

The first logged SMU failure appeared at 2026-11-23 19:01:36. Subsequent hung-task reports show the HPD worker and, later, the GPU-reset worker waiting for a mutex likely owned by kwin_wayland, whose sampled stacks are inside AMD display atomic-commit code. A GFX job belonging to sd-cli timed out at 2026-11-23 19:16:06. The MES reset failed, full GPU recovery began, and the reset worker was subsequently reported blocked in dm_suspend.

The display did not recover. Other system activity continued for hours, until the machine was forcibly restarted. One incident has been observed; causal ordering inside the hardware/driver is not established.

Expected behavior

An HDMI disconnect/reconnect should not leave the display stack permanently unusable. If a display commit or GPU workload fails, the driver should report the failure and allow GPU recovery to progress, rather than leaving the recovery worker blocked indefinitely.

Actual behavior

  • Persistent black screen and unresponsive graphical session after the TV was turned back on.
  • 3,034 SMU hang messages reported in the journal analysis.
  • HPD and GPU-reset workers blocked on mutexes likely owned by the same kwin_wayland task.
  • MES reset failed; no MODE1 reset or successful GPU recovery was recorded.
  • Steam later stalled and terminated with a fatal assertion. A forced restart was required.

Timeline with exact timestamps

Timestamps are in UTC and come from the affected boot and the next boot.

Time Observation
2026-11-23 17:26:53 Separate earlier earlyoom termination of an sd-cli process during memory-intensive model loading.
2026-11-23 18:46:41–2026-11-23 19:01:42 44 display removal/addition cycles reported; 132 DDCA connect notifications, all with ddc working: false.
2026-11-23 19:01:25–2026-11-23 19:01:26 Last reported display removal and placeholder-screen message.
2026-11-23 19:01:35 CEC physical address changes from 65535 to 12288; another hotplug property notification.
2026-11-23 19:01:36 First logged SMU is in hanged state; CEC logical address also returns.
2026-11-23 19:01:42 Final PowerDevil display-added / DDCA connect notification.
2026-11-23 19:01:48 Steam fails to create browser window.
2026-11-23 19:05:24 HPD worker blocked for >122 s; likely owner kwin_wayland, sampled inside link_set_dpms_on / enc32_reset_fifo.
2026-11-23 19:06:41 REG_WAIT timeout 10us * 5000 tries - enc32_reset_fifo.
2026-11-23 19:15:57–2026-11-23 19:16:06 IP state dump; GPU devcoredump created at 2026-11-23 19:16:06; EDID read error; GFX timeout associated with sd-cli.
2026-11-23 19:16:09 MES reset fails; GPU reset begins; DF C-state operation fails.
2026-11-23 19:19:44 GPU-reset worker reported blocked in dm_suspend; likely owner kwin_wayland, sampled inside commit_planes_for_stream / optc3_get_otg_update_pending.
2026-11-23 19:20:41 earlyoom reports 2132 MiB available and 7330 MiB swap free; no kill at this timestamp.
2026-11-23 19:21:47–2026-11-23 19:25:53 Repeated hung-task reports; further reports subsequently suppressed.
2026-11-23 22:04:15–2026-11-23 22:04:16 Xwayland mode errors and Steam EGL failures.
2026-11-24 00:16:06–2026-11-24 00:18:47 Steam main-loop stall, DCN register timeouts, failure to blank CRTC, fatal Steam assertion; journal ends.
2026-11-24 00:20:42 Next boot starts; no clean shutdown was recorded for the affected boot.

The three other available boots had none of the reported SMU/GFX/reset/REG_WAIT errors or DDCA connect notifications. Their observation periods were much shorter; this does not establish a failure rate.

Relevant kernel and system logs

Selected messages and stack-frame names from the sanitized journal excerpts; the stacks below are abbreviated, not full verbatim traces.

HDMI and SMU:

2026-11-23 18:46:41 There are no outputs - creating placeholder screen
2026-11-23 18:46:41 Removing connected display on bus 5
2026-11-23 18:46:44 DDCA_EVENT_DISPLAY_CONNECTED, card0-HDMI-A-1, ... ddc working: false
2026-11-23 19:01:36 SMU is in hanged state, failed to send smu message!
2026-11-23 19:01:36 Failed to export SMU metrics table!

2026-11-23 19:05:24 — HPD worker and likely mutex owner:

INFO: task kworker/11:1H:587 blocked for more than 122 seconds.
Workqueue: events_highpri dm_irq_work_func [amdgpu]
 __mutex_lock.constprop.0+0x3dc/0x920
 handle_hpd_irq_helper+0x24b/0x2d0
INFO: task kworker/11:1H:587 is blocked on a mutex likely owned by task kwin_wayland:5996.
task:kwin_wayland state:R running task
 ? amdgpu_device_rreg
 ? generic_reg_wait
 ? enc32_reset_fifo
 ? enc32_enable_fifo
 ? link_set_dpms_on
 ? dc_commit_state_no_check
 ? dc_commit_streams
 ? amdgpu_dm_atomic_commit_tail
 ? drm_mode_atomic_ioctl

2026-11-23 19:16:06–2026-11-23 19:16:09 — GFX timeout and reset:

AMDGPU device coredump file has been created
EDID err: 2, on connector: HDMI-A-1
No EDID read
ring gfx_0.0.0 timeout, signaled seq=6331801, emitted seq=6331802
Process sd-cli pid 258049 thread sd-cli pid 258049
MES failed to respond to msg=RESET
reset via MES failed and try pipe reset -110
The CPFW hasn't support pipe reset yet.
Ring gfx_0.0.0 reset failed
GPU reset begin!. Source: 1
[SetDfCstate] failed!
Failed to disallow df cstate

2026-11-23 19:19:44 — GPU reset worker and likely mutex owner:

INFO: task kworker/u48:3:267021 blocked for more than 122 seconds.
Workqueue: amdgpu-reset-dev drm_sched_job_timedout [gpu_sched]
 __mutex_lock.constprop.0+0x3dc/0x920
 dm_suspend+0x225/0x400
 amdgpu_ip_block_suspend
 amdgpu_device_pre_asic_reset
 amdgpu_device_asic_reset
 amdgpu_device_gpu_recover.cold
 amdgpu_job_timedout.cold
 drm_sched_job_timedout
INFO: task kworker/u48:3:267021 is blocked on a mutex likely owned by task kwin_wayland:5996.
task:kwin_wayland state:R running task
 ? amdgpu_device_rreg
 ? generic_reg_get
 ? optc3_get_otg_update_pending
 ? dcn30_wait_for_all_pending_updates
 ? hwss_wait_for_outstanding_hw_updates
 ? commit_planes_for_stream
 ? dc_update_planes_and_stream
 ? amdgpu_dm_atomic_commit_tail
 ? drm_mode_atomic_ioctl

Late display failures:

2026-11-24 00:17:08 DC: failed to blank crtc!
2026-11-24 00:17:10 REG_WAIT timeout 10us * 10 tries - mpc3_power_on_ogam_lut
2026-11-24 00:18:41 REG_WAIT timeout 1us * 1000 tries - dcn32_hubp_pg_control

Steps to reproduce

Reliable reproduction is not known. The observed conditions were:

  1. Steam Machine in KDE Wayland Desktop Mode with an HDMI-connected television.
  2. A long-running Vulkan compute workload using sd-cli / Wan 2.1.
  3. The TV becomes unavailable and the OS reports repeated display removal/addition events with failed DDC communication.
  4. SMU errors, stalled display operations and an unsuccessful GPU reset follow. Turning the TV back on does not restore the desktop.

No deliberate reproduction has been attempted. It is unknown whether TV standby, the compute workload, link instability, or a combination is necessary.

Root-cause hypotheses

Strong inference, not lockdep-proven: dm->dc_lock is a candidate for the contended mutex. The supplied analysis of upstream 7.2 amdgpu_dm.c indicates that the stream and plane commit paths, the HPD handler and the reset-time dm_suspend path acquire this lock. The sampled stacks and likely owner reports are consistent with that explanation. The exact mutex identity and lock lifetime have not been verified in the Valve kernel build, and the log does not establish a formal lock cycle.

The leading hypothesis is that repeated HDMI/DDC/display power transitions interact with an SMU/DCN failure, leaving display atomic-commit code unable to finish and preventing GPU reset from progressing. The first register-poll timeout did return; later samples show a different stage of the display commit. Continuous ownership of the same mutex throughout the entire incident is not established.

An alternative is an initial GPU/SMU failure caused by the compute workload, with the display failures downstream. A combined load/display-transition race is also plausible. A TV standby behavior, cable or port problem could explain the repeated display events, without explaining why GPU recovery failed. Physical HPD electrical transitions were not measured; the repeated events are inferred from the OS/DDC/CEC journal. ddc working: false is not proof that every EDID read failed. An explicit EDID error was logged at 2026-11-23 19:16:06.

HDMI-CEC hypothesis, untested: A Nintendo Switch 2 and an Xbox Series S were also connected to the TV. The journal shows CEC address changes near the end of the hotplug sequence. CEC interactions between the TV and connected devices could affect power or input switching, but the consoles' activity was not recorded and no CEC-isolation test was performed.

No suspend/resume, OOM kill at the incident, thermal-warning, PCIe AER or kernel-taint evidence was reported in the reviewed journal. Thermal or memory-related contributions cannot be excluded from absent telemetry. An earlier earlyoom termination is noted separately.

Related issues

  • #2802 reports a MES reset failure on Fremont/Navi 33 with SteamOS 3.8.16 and kernel 6.16, followed by a MODE1 reset. Here the reset worker was reported blocked in dm_suspend.
  • #2730 reports black CEF surfaces after an HDMI link drop while the native Steam overlay remained responsive.

Questions for Valve/AMD developers

  1. Do the sampled stacks match a known display-commit / GPU-reset recovery issue on Fremont? Can the exact mutex be identified from the offsets in this kernel build?
  2. Can an in-flight display commit fail or be aborted safely when display hardware becomes unresponsive, allowing GPU recovery to continue?
  3. Is the SMU/MES firmware combination expected for this build, and are newer firmware or kernel fixes available?
  4. Would hdmi_hpd_debounce_delay_ms help with this pattern of events, or is the reconnect interval too long? Are there known HDMI/CEC/DDC standby interactions on Navi 33?
  5. What supported method should be used to preserve GPU devcoredump data and capture HPD/DC traces before a forced reboot?
  6. Should this be tracked separately from #2802?

Included diagnostics

This report includes the system summary, timeline, and abbreviated sanitized journal and stack excerpts.

Remaining unknowns
  • Exact physical cause of the repeated HDMI events and the display mode/link parameters at failure.
  • Exact mutex identity, ownership duration and whether a true lock cycle existed in the Valve kernel.
  • Whether SMU/DCN or compute failure was primary, or both contributed.
  • GPU devcoredump (created but lost after reboot), MES firmware version, HPD/DC debug traces, historical GPU load/temperatures.
  • Controlled reproduction, frequency of recurrence and effectiveness of any workaround.
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 Computer Graphics

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.