HDMI FRL training ends with no lane locked, no error, head reported active (RTX 5080, 615.78.08, LG OLED G4)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 52/100
Piste de recherche
Start by reading PR #1505 and issue #1369, which cover lost-link retraining after restore; then trace the HDMI FRL training path in the kernel module and identify where SCDC status is checked. Compare the existing restore check with the reported post-training state in SCDC 0x40. Done means a rate-5 training with no locked lanes is retried or reported as failed; the report offers repeatable mode-step runs to verify it.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
NVIDIA Open GPU Kernel Modules Version
615.78.08 (CachyOS package, nvidia-open; /proc/driver/nvidia/version: NVIDIA UNIX Open Kernel Module for x86_64 615.78.08 Release Build, Sat Oct 31 2026)
Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
- I confirm that this does not happen with the proprietary driver package.
Operating System and Version
CachyOS (rolling), lsb_release -d: CachyOS
Kernel Release
Linux 7.3.1-1-cachyos #1 SMP PREEMPT_DYNAMIC Sat, 31 Oct 2026 06:43:52 +0000 x86_64 GNU/Linux (distribution kernel, not self-built)
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
- I am running on a stable kernel release.
Hardware: GPU
GPU 0: NVIDIA GeForce RTX 5080
Describe the bug
Summary
About 3 % of HDMI FRL link trainings at FRL rate 5 (10 Gbps x 4 lanes) end with the sink reporting no lane locked, while the
driver logs nothing (nvidia_modeset debug=1), the modeset returns success and the head is reported as HDMI FRL, active. The
screen stays black until user space does another modeset through a different mode. Trainings at FRL rate 3 on the same link
never failed (0 of 300). After a TV wake from standby the same end state is reached more often (14 of 60 wakes), because the TV
makes the driver train twice.
The request: after an FRL training, check the sink's lane-lock status (SCDC 0x40) and retry or report failure. PR #1505 adds a
similar check ("lost-link retrain") after a restore; this data says the check is needed after every FRL training.
System
| GPU | GeForce RTX 5080 |
| Driver | NVIDIA Open Kernel Module 615.78.08 (nvidia_modeset debug=1) |
| Kernel | Linux 7.3.1 (CachyOS), x86_64 |
| Compositor | sway 1.12 / wlroots 0.20.2 on a DRM lease of the HDMI connector (KWin is the DRM master and leases it) |
| Sink | LG OLED65G4 (webOS 11.2.0, firmware 43.21.73 as last read on 2026-10-20), HDMI input 3 |
| Cable | 20 m active optical HDMI cable, sold as 48 Gbps; not Ultra High Speed certified |
| Modes | [email protected] and @100, 10-bit RGB, HDR: FRL rate 5 (SCDC 0x31 = 0x35). 3840x2160@60: FRL rate 3 (0x31 = 0x33) |
The cable may well be why a training fails now and then. The report is about what happens next: neither a retry nor an error.
How the sink was read
SCDC registers of the TV (I2C address 0x54) through the GPU's own DDC adapter (/dev/i2c-N, "NVIDIA i2c adapter"), one SMBus
read-byte-data per register, read-only. (A plain two-message read ignores the register offset on this TV.)
Observation 1: mode steps on a TV that has been on for minutes
600 modesets through sway (output HDMI-A-1 mode ...), alternating 3840x2160@60 with [email protected] (240 times) or @100
(60 times), 2 s apart, TV on for 1.5 to 15 minutes.
| Training | Count | No lane locked afterwards |
|---|---|---|
| FRL rate 5 (4K119.88 and 4K100) | 300 | 9 (7 at 119.88, 2 at 100) |
| FRL rate 3 (4K60) | 300 | 0 |
| Good training | Failed training (all 9 identical) | |
|---|---|---|
| Modeset call returns after | 0.14-0.83 s | 0.49-0.73 s |
| SCDC 0x10 (update flags) | 0x01 | 0x00 |
| SCDC 0x31 (FRL rate / FFE) | 0x35 | 0x35 |
| SCDC 0x40 (status) | 0x5e (FLT_ready, 4 lanes locked) | 0x40 (FLT_ready, no lane locked) |
| SCDC 0x41 / 0x42 (LTP requests) | 0x00 / 0x00 | 0x00 / 0x00 |
Kernel log, debug=1 |
nothing | nothing |
| TV picture | yes | none |
- The failed state did not change for the 8 s each step was watched (in wakes: 18 s and more, until the next modeset).
- Setting the same mode again does nothing (0 of 8; the commit takes 2-10 ms and no register changes).
- Setting 3840x2160@60 and then the high mode again locked 9 of 9 times.
- One further rate-5 training read the failed bytes 0.5 s after the modeset and was locked 4.8 s after it, with no hot-plug
event and no log line in between. - The driver's only FRL message in these runs,
HdmiPacketLibrary: ERROR - RM call to set HDMI FRL failed, appeared once,
on a training that ended locked.
Read every ~5 ms during the modeset (150 of the steps, 3 failures):
- Good:
0x31goes 0x33 -> (sometimes 0x00 for a few ms) -> 0x35, and0x40reads 0x5e in the same or the next sample. - Failed:
0x31= 0x35 appears while0x40= 0x40;0x10goes from 0x01/0x03 to 0x00 11-17 ms later; nothing changes after
that. Bits 4 (FRL_start) and 5 (FLT_update) of 0x10 were not seen set at this sampling rate in either case.
To Reproduce
- Sink: LG OLED65G4 on HDMI, a mode that needs FRL rate 5: [email protected] 10-bit RGB HDR (SCDC 0x31 = 0x35).
- Alternate modesets 3840x2160@60 (FRL rate 3) and [email protected] (FRL rate 5), 2 s apart, through the compositor (here:
swaymsg output HDMI-A-1 mode ...on a DRM lease). - After each rate-5 modeset, read SCDC 0x40 (status flags) once the modeset has returned: about 1 in 30 trainings ends with FLT_ready set and NO lane locked (0x40 = 0x40, 0x10 = 0x00), while the modeset reports success, the kernel log (nvidia_modeset debug=1) is silent and the head is reported active as HDMI FRL. The screen stays black.
- Setting the same mode again does not recover it (0 of 8); setting 3840x2160@60 and then the high mode again does (9 of 9).
- More often (about 1 wake in 4): wake the sink from deep standby so that it hot-plugs; the driver's second FRL training of the wake ends in the same state.
- Important: read SCDC only AFTER the modeset call has returned. Reading it in a tight loop DURING the modeset wedged nvidia-modeset (filed separately).
Bug Incidence
Sometimes
nvidia-bug-report.log.gz
nvidia-bug-report.log.gz will be attached in a follow-up comment (EDID serial numbers redacted), or sent to [email protected] on request.
More Info
Expected
After writing the FRL rate, the source confirms that the sink's lanes are locked (or that FRL_start was signalled) before it
treats the link as up, and otherwise retrains, falls back, or at least reports the failure.
Workaround in use
User space reads SCDC 0x40 a few seconds after the last hot-plug event of a wake and, when no lane is locked, sets a lower
mode and then the high mode again.
What we can provide
The raw register timelines (JSON lines), kernel logs with debug=1 for any of the cases, and test runs of a patched module:
the mode-step test reproduces the failure in about ten minutes (about 1 failure per 30 rate-5 trainings).
Related: issue #1369 and PR #1505 ("lost-link retrain" after a restore). This data suggests the lane-lock check is needed after every FRL training, not only after a restore.
The RTX 5080 is supported only by the open kernel modules, so the proprietary driver package could not be tested.
- Langage dominant
- C
- Étoiles
- 17.7k
- Forks
- 2k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de NVIDIA/open-gpu-kernel-modules
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
Les mainteneurs répondent en général sous 1 jour
-
nvidia-drm: NULL dereference in nv_drm_create_sync_file() when sync_file_create() fails (kernel oops when fs.file-max is exhausted)Peut-être à nouveau libre Une pull request pour cette issue a été fermée sans être fusionnée. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
NVIDIA/open-gpu-kernel-modules#1601 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
NVIDIA/open-gpu-kernel-modules#1479 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
PlatformRequestHandler: missing !bInit guard on bSystemParamLimitUpdate causes NV_ERR_INVALID_DATA at bootPeut-être pris @SammyTourani l’a pris il y a 69 jours. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
NVIDIA/open-gpu-kernel-modules#1360 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
NVIDIA/open-gpu-kernel-modules#1343 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de NVIDIA/open-gpu-kernel-modules
Issues similaires
-
iOS: the "Edit controls" button never hides, even with a controller connected, and covers the gameOuvertegame: 010065A014024000 ios
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
seedds/nxnative#3714 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
area/docdb kind/enhancement mvu-pg15-pg19 priority/low
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
yugabyte/yugabyte-db#40355 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
Jstar269/nakagawa-recomp#3753 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
ly05010419/MacNativeGames#2474 ·
Les mainteneurs répondent en général sous 1 jour