[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
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 8/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c, linux
- Lĩnh vực
- computer-graphics, operating-systems
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C
- Star
- 17.7k
- Fork
- 2k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NVIDIA/open-gpu-kernel-modules
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
nvidia-drm: NULL dereference in nv_drm_create_sync_file() when sync_file_create() fails (kernel oops when fs.file-max is exhausted)Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NVIDIA/open-gpu-kernel-modules#1601 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NVIDIA/open-gpu-kernel-modules#1479 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PlatformRequestHandler: missing !bInit guard on bSystemParamLimitUpdate causes NV_ERR_INVALID_DATA at bootCó thể đã có người làm @SammyTourani đã nhận 69 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
NVIDIA/open-gpu-kernel-modules#1360 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
NVIDIA/open-gpu-kernel-modules#1343 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của NVIDIA/open-gpu-kernel-modules
Issue tương tự
-
iOS: the "Edit controls" button never hides, even with a controller connected, and covers the gameĐang mởgame: 010065A014024000 ios
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
seedds/nxnative#3714 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
area/docdb kind/enhancement mvu-pg15-pg19 priority/low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
yugabyte/yugabyte-db#40355 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Jstar269/nakagawa-recomp#3753 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
ly05010419/MacNativeGames#2474 ·
Maintainer thường phản hồi trong vòng 1 ngày