DP Alt Mode: no picture in Desktop profile after USB-C replug while the DP output stays enabled
I maintainer di solito rispondono entro 1 giorno
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Setup
Flipper One rev F0B1C2, build 1317 (dev9e4efbe), kernel 7.4.0-rc1-g200bfc1cd911, direct USB-C cable. Dell S2725QC: PD 3.0 source, 5/9/15 V @ 3 A and 20 V @ 3.25 A (Flipper takes 20 V 3.25 A); SVID 0xFF01 only (DP, pin C/D/E, we pick D = 2 DP lanes + USB3). Sink DPCD 1.4, HBR3. The display requests DR_SWAP, so Flipper becomes DFP.
Problem
Cold plug works. In the TV Media Box profile, hot replug works in both orientations. In the Desktop profile, every replug ends in "No signal".
Details
Both profiles run the same kernel and DT. In both profiles PD and DP alt mode end the same way: Configure ACK, then Attention with HPD=1, pin D. The difference is the output on unplug: cage disables VOP2 VP0 within ~0.25 s, while KWin keeps VP0, and
with it dw-dp and the DP PHY, enabled. Two bugs show up only in that state:
- No link training on replug. DP-1 goes back to connected and DPCD/EDID read fine, but DPCD 0x100/0x101 stay 00 00
and there is no "full-training link" (file 1). dw-dp logs only "Get hpd irq - long". It appears to rely on a userspace
modeset, and KWin does none because the mode is unchanged. - AUX dead after a runtime orientation change. The PHY logs "cable orientation changed, PHY re-init required" and
reinits with the new flip, and sbu1-dc/sbu2-dc flip correctly. Then every AUX read fails (0x00102 AUX -> (ret=-110)) and
DP-1 stays disconnected even with HPD=1. This happens in both directions (files 3, 5). AUX works again once the plug is
back in the orientation the DP PHY was powered up in (file 6). It also works if the output is off during the replug (file
7). It looks like the AUX polarity / lane setup is only applied at DP PHY power-up.
Workaround
After a replug (bug 1):
export XDG_RUNTIME_DIR=/run/user/1000 WAYLAND_DISPLAY=wayland-0; kscreen-doctor --dpms off; sleep 2; kscreen-doctor --dpms on.
This forces full training and the picture comes back (file 2).
Avoid both bugs: run kscreen-doctor --dpms off before unplugging.
1_boot-rev_out-on_rev-to-rev_no-link-train.txt
2_boot-rev_out-on_dpms-toggle_link-trained.txt
3_boot-rev_out-on_rev-to-norm_aux-timeout.txt
4_boot-rev_out-on_rev-to-norm_tcpm-ok.log
5_boot-norm_out-on_norm-to-rev_aux-timeout.txt
6_boot-rev_out-on_norm-to-rev_aux-ok_no-link-train.txt
7_boot-rev_out-off_rev-to-norm_aux-ok_link-trained.txt
8_duplicate-hpd-bridge.txt
- Lingua principale
- Shell
- Stelle
- 84
- Fork
- 38
- Merge medio
- 1g 15m
- PR unite (30g)
- 7
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di flipperdevices/flipperone-linux-build-scripts
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
flipperdevices/flipperone-linux-build-scripts#211 ·
I maintainer di solito rispondono entro 1 giorno
-
Parallel kernel builds corrupt each other's outputForse già presa @stuartmhannon l’ha presa 128 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
flipperdevices/flipperone-linux-build-scripts#79 ·
I maintainer di solito rispondono entro 1 giorno
-
Shell-form ENTRYPOINT is a footgunForse già presa @nitroxit l’ha presa 137 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
flipperdevices/flipperone-linux-build-scripts#78 ·
I maintainer di solito rispondono entro 1 giorno
-
Onboarding toolApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
flipperdevices/flipperone-linux-build-scripts#205 ·
I maintainer di solito rispondono entro 1 giorno
-
Display loses input after a runtime mode change into a negative sync polarity modeForse già presa @alchark l’ha presa 14 giorni fa. Apertabug
flipperdevices/flipperone-linux-build-scripts#198 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di flipperdevices/flipperone-linux-build-scripts
Issue simili
-
good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
laaielichter/AgentHaven#72 ·
I maintainer di solito rispondono entro 1 giorno
-
type: cleanup
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
googleapis/google-cloud-swift#1626 ·
I maintainer di solito rispondono entro 1 giorno
-
os:Windows
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
awslabs/agentcore-samples#2317 ·
I maintainer di solito rispondono entro 3 giorni