Steam Deck OLED: DisplayPort alt mode times out on live USB-C plug-in and is never retried (works on LCD); forced hotplug re-probe fixes it
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 18/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- linux
- Área
- operating-systems
Línea de trabajo
The failure is the amdgpu alt mode timeout logged as 'Alt mode has timed out after 504 ms' during USB-C DisplayPort negotiation on DP-1, and the reporter's workaround is the debugfs node /sys/kernel/debug/dri/0/DP-1/trigger_hotplug. Start by reading the amdgpu DP alt mode and hotplug handling in the kernel source, then reproduce with dmesg on a Deck OLED. Done would mean the display recovers after a timeout without the manual trigger, confirmed across repeated plug-ins.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hardware and software
Steam Deck OLED, SteamOS 3.9.5[Stable/Beta; tested on both], kernel 7.2.7-valve2-2-neptune-72-g31504582a073, BIOS [version]F7G0114
RayNeo Air 4 Pro AR glasses (USB ID 1bbb:af50), direct USB-C, the cable supplied with them
The same glasses and cable work instantly on my Steam Deck LCD
Problem
Plugging the glasses in while the Deck is awake gives a brief system stutter and no picture. dmesg shows:
amdgpu 0000:04:00.0: [drm] Alt mode has timed out after 504 ms
The USB bus then re-registers and the glasses appear only as a USB HID device. The display never appears, and the driver never tries again. It happens in both gaming mode and desktop mode. In desktop mode, KDE sometimes shows the output as disabled afterwards.
What works
Connecting the glasses before boot, or sleeping and waking the Deck with them connected, brings the display up.
A dock works fine on the same port.
Workaround and result
Running echo 1 > /sys/kernel/debug/dri/0/DP-1/trigger_hotplug after the glasses enumerate brings the display up. I automated it with a udev rule that runs this when the glasses' USB device appears. Across 9 consecutive plug-ins, the display never recovered on its own (the script found it still disconnected every time), and the trigger fixed it every time, with delays of 3, 1 and 0 seconds. No delay is needed. The retry only has to happen after the glasses enumerate.
Ruled out: different cables, Stable vs Beta, BIOS/firmware reset, HDR on/off, 90Hz vs lower refresh rate, USB/DeckMTP settings (identical on my LCD).
Related: #1322 shows the same Alt mode has timed out error with a different trigger (Wake-on-LAN through a dock), which suggests the cause is a race in alt mode detection and not something specific to my glasses.
Request: Could the driver retry display detection after an alt mode timeout?
- 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