[Steam Frame] Panels stay dark after waking from standby when analogGain is below ~20%: MP3317 boost (DMSL=1) can't restart on short backlight pulses
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
- c, linux
- Área
- backend, embedded-iot
Línea de trabajo
Read drivers/gpu/drm/panel/panel-deckard.c around lpm026m648c_enable() and set_brightness, then inspect drivers/leds/leds-mp3317.c around mp3317_reg_enable() and mp3317_config(). Reproduce the dark wake at low analogGain and confirm the suggested minimum pulse restores the panels after standby. Done means low brightness reliably wakes the panels without disrupting normal brightness behavior; the report says no kernel fix has been built or tested.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Your system information
- Steam client version: arm64 public beta (package version 1794364160); SteamVR 2.19.1 (
driver_cv2.19.1) - SteamOS version: Steam Frame 0.5.7 (BUILD_ID 20261103.6153824), kernel
7.2.0-g9a8c8ea46950, BOE panels (Displays match ( B == B ), using B) - Opted into Steam client beta?: Yes
- Opted into SteamOS beta?: Yes
- Have you checked for updates in Settings > System?: Yes
Please describe your issue in as much detail as possible:
Expected: with steamvr/analogGain set to a low value that the HMD advertises as valid, taking the headset off and putting it back on turns the panels back on at that brightness.
Actual: if analogGain is set below about 0.03, the panels stay dark after waking from standby. Such values are only reachable through the settings API: the stock slider bottoms out at 40% (0.133, backlight 49), which wakes normally. SteamVR does leave standby (0 - leaving standby, cv: Set displays on), audio and haptics work, and every backlight-related sysfs value and MP3317 register is the same as when the panels are lit at that level. Raising brightness to 40% for about 1 s turns them back on, and dropping back to the low level afterwards keeps them lit.
SteamVR's own slider stops at 40% (DisplayMinUIAnalogGain_Float = 0.4), possibly for this reason, so stock users don't hit this. The HMD does advertise DisplayMinAnalogGain_Float = 0.005, though, and driver_cv accepts and applies values down to that. Third-party apps that offer a "very dim" level hit this; it was found while adding a 10% level to frame-aux-shortcuts, for use while falling asleep in the headset.
Measurements (percentages use the slider's mapping, analogGain = (% / 100)^2.2, extended below its 40% floor; backlight value from /sys/class/backlight/ae94000.dsi.0/brightness; pulse length from panel-deckard.c, RTN 59 × 32.5 MHz = 1.815 µs per row):
| analogGain (equivalent %) | Backlight | Pulse | Boost cycles per frame at FSW 625 kHz | After waking from standby |
|---|---|---|---|---|
| 0.0063 (10%) | 2 | 3.6 µs | ~2 | stays dark (every attempt) |
| 0.0154 (15%) | 6 | 11 µs | ~7 | stays dark (3 s and 9.6 s asleep); may survive a very short sleep |
| 0.029 (20%) | 11 | 20 µs | ~12 | relights after a few seconds |
| 0.047 (25%) | 17 | 31 µs | ~19 | relights |
| 0.133 (40%) | 49 | 89 µs | ~55 | relights; holding it for 0.3 s isn't enough, 1 s is |
Cause, as far as I can tell: the backlight value isn't an analog dimmer. set_brightness() writes it to the panel as the strobe pulse width (gpo1_tew1), and the panel drives the MP3317 PWM inputs with that pulse. Both backlight MP3317s are configured with mp3317,ovp-max = 0x9f, i.e. DMSL = 1. The MP3317 datasheet describes this as "Traditional PWM dimming mode. Switching at dimming on, and no switching at dimming off". On every wake, mp3317_reg_enable() drives EN high and reruns mp3317_config(), so the output capacitor starts from zero and the boost converter, after its soft start, only switches during the pulse. At a 2–6-row pulse it gets a handful of switching cycles per frame and never brings VOUT up to the LED forward voltage. Once VOUT is up, the same short pulse is enough to keep it there, which is why dimming to 10% while awake works.
Supporting evidence:
- After a dark wake at 10%, writing
OVP_IMAX = 0x1f(DMSL = 0, constant voltage mode, the chip's reset default) throughreg_dumprelights both panels immediately. (Writing0x9fback while lit made one panel drop out for a moment before both recovered, so this isn't a usable workaround.) - Manual boost (
BLMOD = 0) at the configured 18.0 V keeps 40% lit, but doesn't relight a dark 10% wake. So the VOUT setpoint isn't the problem; the charging is. FAULT1/FAULT2read 0 throughout. Everything tested is within the datasheet's ratings (PWM minimum on/off time 1 µs, VOUT < 34 V, OVP 32 V, ILED 100 mA of 160 mA).
Suggested fix: in lpm026m648c_enable() (or driver_cv on LeaveStandby), drive a minimum pulse (49 rows / the 40% level worked) for about 1 s after backlight_enable(), then apply the requested brightness. With DMSL = 1 that gives the boost enough on-time to charge VOUT after the cold start. I haven't built or tested a kernel with this. Raising the advertised DisplayMinAnalogGain would hide the problem but also remove the low levels, which work fine once the panel is lit.
Line references are from the sm8650-7.2 branch of the public kernel mirror (drivers/gpu/drm/panel/panel-deckard.c: set_brightness, lpm026m648c_enable; drivers/leds/leds-mp3317.c: mp3317_config, mp3317_reg_enable), not the exact commit running on the headset.
Steps for reproducing this issue:
- With SteamVR running on the Frame, set brightness below the slider minimum through the OpenVR settings API, e.g.
vr::VRSettings()->SetFloat("steamvr", "analogGain", 0.0063f, &err);from any background OpenVR app. The panels dim normally and stay lit. - Take the headset off and wait for the screens to turn off (
power/turnOffScreensTimeout, 5 s by default). - Put the headset back on. SteamVR logs
leaving standby/Set displays on, the backlight sysfs value is back to 2 and both MP3317s are enabled, but the panels stay dark. - Set
analogGainto 0.133 (40%) and leave it for about 1 s: the panels light. Set 0.0063 again: they stay lit until the next standby.
- 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
-
Send-Document has no job-state check, resurrects canceled jobs and re-prints processing jobsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
OpenPrinting/cups#1833 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Task retarget keeps the old host in task scope and adds the new host in a form that matches nothingPosiblemente ocupada @chaitanya0305 la tomó hoy. Abiertobug P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
BaaRai/ARTEX#652 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bug effort:S P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
nightscout/nocturne#4563 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día