[Wayland/KMS] 4K@160/240 Hz HDMI 2.1 mode stalls (flip event timeout) when 3+ displays are active — RTX 5070 Ti, 620.70.06

Abierto
#1,554 5 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
8/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c, linux

Línea de trabajo

The failure surfaces in nv_drm_atomic_commit in the nvidia-drm modeset code, where the flip-event timeout is logged; start by reading that path alongside the atomic-check/TEST_ONLY handling, since the report's core complaint is that TEST_ONLY accepts a configuration the hardware cannot scan out. The reporter's suspicion is that high-pixel-clock modes need two heads (2Heads1OR) and head assignment fails once three or more displays are active — verify that against the head/bandwidth allocation logic rather than assuming it. Reproduce with the gdctl set commands given and the attached nvidia-bug-report.log.gz; done means either the multi-head assignment works or TEST_ONLY rejects the mode. This needs deep KMS and driver-internals knowledge; it is not a newcomer task.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
NVIDIA Open GPU Kernel Modules Version

620.70.06

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 Linux (rolling, Arch-based), kernel 7.3.4-1-cachyos

Kernel Release

7.3.4-1-cachyos

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

NVIDIA GeForce RTX 5070 Ti

Describe the bug

Title: [Wayland/KMS] 4K@160/240 Hz HDMI 2.1 mode stalls (flip event timeout) when 3+ displays are active — RTX 5070 Ti, 620.70.06

Summary

On an RTX 5070 Ti with 4 monitors, a 3840x2160 mode above ~1.2 GHz pixel clock
(160 Hz or 240 Hz) on the HDMI 2.1 output works when at most one other display
is active, but stalls as soon as two or more other displays are active. The
atomic modeset is accepted (TEST_ONLY passes, the compositor reports the new
mode as current), then page flips time out on heads 0 and 1 (160 Hz and 240 Hz),
or every flip is rejected with EINVAL (240 Hz with all 4 displays on).

It depends only on the number of displays, not on total bandwidth: two
2560x1440@60 displays trigger it just like a 2560x1440@185 one. The same
hardware, cable and monitors run 4K@240 with all 4 displays active on Windows.
Earlier driver versions on Linux showed the same limit (never worked here).

System
  • GPU: NVIDIA GeForce RTX 5070 Ti (PCI ID 10de:2c05), VBIOS 98.03.4F.00.1C
  • Driver: 620.70.06, open kernel modules (nvidia-drm.modeset=1 nvidia-drm.fbdev=1)
  • Kernel: 7.3.4 (CachyOS)
  • Compositor: GNOME Shell / Mutter 51.1, Wayland (atomic KMS)
  • Displays (all four GPU outputs in use):
    • HDMI-A-1: 3840x2160 QD-OLED, HDMI 2.1. EDID advertises FRL 4×12 Gbps, DSC 1.2a (also over FRL 4×12), VRR 48–240 Hz. Mode timings from the driver:
      • 3840x2160 240.00 3840 3952 3984 4096 2160 2210 2215 2352 2312110 kHz
      • 3840x2160 160.00 3840 3888 3920 4224 2160 2163 2168 2188 1478740 kHz
      • 3840x2160 119.88 3840 4016 4104 4400 2160 2168 2178 2250 1186810 kHz (works in every configuration)
    • DP-1: 2560x1440@185
    • DP-4: 2560x1440@60
    • DP-5: 2560x1440@60 (rotated 270°)
  • Cable: certified HDMI 2.1 (48G) cable, same one used for the working Windows setup.
Results

The HDMI display was set to 4K@160 or 4K@240 with different subsets of the other displays enabled. Each test ran non-persistently through Mutter (gdctl set), and the kernel log was watched for 7 s afterwards.

Active outputs besides HDMI-A-1 4K@160 / 4K@240 on HDMI-A-1
none OK, no errors
DP-1 (1440p185) OK, no errors
DP-4 (1440p60) OK, no errors
DP-1 + DP-4 Flip event timeout on head 0, then head 1
DP-4 + DP-5 (both 1440p60) Flip event timeout on head 0, then head 1
DP-1 + DP-4 + DP-5 160 Hz: same flip timeouts. 240 Hz: every flip fails with drmModeAtomicCommit: Invalid argument

Kernel log (3 displays, 4K@240 on HDMI):

[drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 0
[drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Flip event timeout on head 1

Compositor log (4 displays, 4K@240 on HDMI):

gnome-shell: Page flip failed: drmModeAtomicCommit: Invalid argument
gnome-shell: Failed to post KMS update: drmModeAtomicCommit: Invalid argument

The TEST_ONLY atomic commit (gdctl set --verify) passes for every failing
configuration, so the driver accepts a configuration it then can't scan out.

Expected

4K@160/240 on the HDMI output with all four displays active, as on Windows
with the same hardware. If the hardware can't do it, the TEST_ONLY commit
should fail, so the compositor never offers or applies the configuration.

Notes
  • The behaviour suggests high-pixel-clock modes need two heads (2Heads1OR) and the head assignment fails once three or more displays are active, but that's a guess from the outside.
  • Unrelated: nvidia-modeset: WARNING: GPU:0: HDMI FRL link training failed. appears on every display wake/unlock at [email protected], with no visible effect.
  • nvidia-bug-report.log.gz attached, captured after reproducing the failure.
To Reproduce
Reproduce

With 4 displays connected (one HDMI 2.1 4K@240-capable panel plus three others):

# OK: HDMI 4K@240 plus one other display
gdctl set -L -M HDMI-1 --mode [email protected] --primary -x 0 -y 0 \
          -L -M DP-4  --mode [email protected] -x 3840 -y 0

# Fails: HDMI 4K@240 plus two other displays
gdctl set -L -M HDMI-1 --mode [email protected] --primary -x 0 -y 0 \
          -L -M DP-4  --mode [email protected] -x 3840 -y 0 \
          -L -M DP-5  --mode [email protected] -x 6400 -y 0
journalctl -k -f   # -> Flip event timeout on head 0 / head 1
Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

No response

Lenguaje dominante
C
Estrellas
17.7k
Forks
2k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NVIDIA/open-gpu-kernel-modules

Todos los issues de NVIDIA/open-gpu-kernel-modules

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.