[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
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 8/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- c, linux
- Domínio
- computer-graphics, operating-systems
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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 kHz3840x2160 160.00 3840 3888 3920 4224 2160 2163 2168 2188 1478740 kHz3840x2160 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°)
- 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:
- 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.gzattached, 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
More Info
No response
- Linguagem predominante
- C
- Estrelas
- 17.7k
- Forks
- 2k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NVIDIA/open-gpu-kernel-modules
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
Mantenedores costumam responder em até 1 dia
-
nvidia-drm: NULL dereference in nv_drm_create_sync_file() when sync_file_create() fails (kernel oops when fs.file-max is exhausted)Talvez livre de novo Um pull request para esta issue foi fechado sem ser mesclado. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
NVIDIA/open-gpu-kernel-modules#1601 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
NVIDIA/open-gpu-kernel-modules#1479 · 2 comentários ·
Mantenedores costumam responder em até 1 dia
-
PlatformRequestHandler: missing !bInit guard on bSystemParamLimitUpdate causes NV_ERR_INVALID_DATA at bootTalvez já em andamento @SammyTourani assumiu há 69 dias. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 88/100
NVIDIA/open-gpu-kernel-modules#1360 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
NVIDIA/open-gpu-kernel-modules#1343 · 3 comentários ·
Mantenedores costumam responder em até 1 dia
Todas as issues de NVIDIA/open-gpu-kernel-modules
Issues semelhantes
-
iOS: the "Edit controls" button never hides, even with a controller connected, and covers the gameAbertagame: 010065A014024000 ios
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
seedds/nxnative#3714 · 1 comentário ·
Mantenedores costumam responder em até 2 dias
-
HTTP/3
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
haskell/bytestring#730 · 1 comentário ·
-
bug ux/behavior
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
DeusData/codebase-memory-mcp#3191 ·
Mantenedores costumam responder em até 1 dia
-
area/docdb kind/enhancement mvu-pg15-pg19 priority/low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
yugabyte/yugabyte-db#40355 ·
Mantenedores costumam responder em até 1 dia