[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
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c, linux
- 領域
- backend, embedded-iot
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- 言語のデータがありません
- スター
- 2.7k
- フォーク
- 89
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ValveSoftware/SteamOS のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
ValveSoftware/SteamOS#3037 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ValveSoftware/SteamOS#2983 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ValveSoftware/SteamOS#2927 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ValveSoftware/SteamOS#2875 · コメント 1 件 ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repairオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
ValveSoftware/SteamOS#2829 ·
ValveSoftware/SteamOS の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
OpenPrinting/cups#1833 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
Task retarget keeps the old host in task scope and adds the new host in a form that matches nothing対応中かも @chaitanya0305 が今日担当しました。 オープンbug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
BaaRai/ARTEX#652 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug effort:S P3
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
nightscout/nocturne#4563 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信