DP monitor never picked up by nvidia-drm after a failed initial probe (no DRM hotplug uevent) while NVIDIA X driver sees it toggling every ~4 s — 615.78.08 and 620.73.04, regression vs 580 (RTX 4060)
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/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
- desktop-dev, operating-systems
Hướng nghiên cứu
Start by tracing the nvidia-drm initial connector probe and later hotplug path in the C source, using the reported nvidia-drm and Xorg logs side by side. Reproduce with the open module and inspect /sys/class/drm/card0-DP-1/status plus udevadm monitor --kernel --subsystem-match=drm. Done means a connector that appears after initialization becomes connected and emits the expected DRM uevent without requiring shutdown.
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.73.04 (Arch nvidia-open-dkms 620.73.04-1). Also reproduced on 615.78.08 (Arch nvidia-open-dkms 615.78.08-1). Not seen with 580.95.05 (proprietary nvidia-dkms); see the regression table below.
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.
I have not tested the proprietary 615/620 packages. The proprietary 580.95.05 package on the same machine recovered from the same condition every time; see the table below.
Operating System and Version
Arch Linux
Kernel Release
Linux geraldpc 6.18.66-1-lts #1 SMP PREEMPT_DYNAMIC Mon, 30 Nov 2026 14:39:36 +0000 x86_64 GNU/Linux (distribution kernel linux-lts; also seen on 6.18.55-lts and 6.18.60-lts)
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 4060 (AD107, VBIOS 95.07.31.00.D3)
Describe the bug
Setup: desktop, single monitor ASUS PA278QV (2560x1440@60) connected directly over DisplayPort to the RTX 4060. There is no MST, dock, adapter or DSC. The motherboard is an ASUS PRIME Z790-P WIFI (BIOS 0809) with an i9-12900K, and the iGPU is not used. Login is SDDM on Xorg 21.1.26 (NVIDIA X driver), and the user session is Hyprland (Wayland). The nvidia_drm options are the defaults (modeset=Y, fbdev=Y).
Symptom: on about half of cold boots, the monitor never gets a picture. It shows a green screen / no signal. The rest of the system boots normally and is reachable over SSH. Powering the machine off and on several times eventually gives a working boot.
On every failing boot, nvidia-drm cannot find the monitor at init:
[5.146678] [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 0
[5.146793] nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes
After that, the DRM connector stays disconnected for the rest of the boot. The NVIDIA X driver, however, keeps seeing the monitor appear and disappear. The monitor is detected and its EDID is read, so the AUX channel works. Xorg log from a failing boot on 620.73.04 (Dec 1, 12:34):
[ 6.181] (II) NVIDIA dlloader X Driver 620.73.04 Sat Nov 14 00:08:55 UTC 2026
[ 6.333] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 6.344] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 6.359] (II) NVIDIA(0): Setting mode "NULL"
[ 7.168] (--) NVIDIA(GPU-0): Asustek Computer Inc PA278QV (DFP-1): connected
[ 10.926] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 33.742] (--) NVIDIA(GPU-0): Asustek Computer Inc PA278QV (DFP-1): connected
[ 41.657] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 45.923] (--) NVIDIA(GPU-0): Asustek Computer Inc PA278QV (DFP-1): connected
[ 50.420] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 54.688] (--) NVIDIA(GPU-0): Asustek Computer Inc PA278QV (DFP-1): connected
[ 59.188] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 63.459] (--) NVIDIA(GPU-0): Asustek Computer Inc PA278QV (DFP-1): connected
[ 67.954] (--) NVIDIA(GPU-0): DFP-1: disconnected
...
The pattern repeats indefinitely: about 4.5 s connected, then about 4.3 s disconnected. On one 615.78.08 boot (Nov 28) it ran for the whole 8 minutes of the boot, 108 events.
Live checks over SSH in the failing state (615.78.08, Nov 28):
/sys/class/drm/card0-DP-1/status=disconnected(all four connectorsdisconnected, EDID 0 bytes, 0 modes).udevadm monitor --kernel --subsystem-match=drmshowed 0 DRM events in 15 s. In the same window, Xorg loggedDFP-1: connected(469.662 s),disconnected(474.158 s) andconnected(478.428 s). The NVIDIA side sees the hotplug, but no DRM hotplug event reaches userspace and the DRM connector never changes state.nvidia-smi:Display Attached: No(live check) andYes(in the bug-report snapshot taken later), withDisplay Active: Disabledin both cases.- Unplugging and replugging the DP cable, and power-cycling the monitor, do not recover the picture.
Re-probe at shutdown finds the monitor. On several failing boots, nvidia-drm found the monitor 0.7–2.5 s after poweroff started (power button). It never found it while the system was running. Example on 620.73.04 (Dec 1, 12:31):
[ 5.093482] nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes
[102.997133] systemd-logind: Power key pressed short.
[103.793409] fbcon: nvidia-drmdrmfb (fb0) is primary device
[106.900715] systemd: Shutting down.
Regression. These numbers come from parsing the systemd journal for every boot with an NVIDIA module loaded:
| Driver | Boots | Boots where nvidia-drm found no monitor at init (Cannot find any crtc) |
…monitor found again while running | …found only after shutdown began | …never found |
|---|---|---|---|---|---|
580.95.05 (proprietary nvidia-dkms), Sep 4 – Oct 12 |
31 | 6 | 6 (0.62–1.06 s after the message) | 0 | 0 |
| 615.78.08 (open), Oct 12 – Dec 1 | 72 | 23 | 0 | 6 | 17 |
| 620.73.04 (open), Dec 1 | 3 | 2 | 0 | 1 | 1 |
With 580.95.05 the same "no monitor at init" condition happened, but nvidia-drm picked the monitor up within about 1 s every time (fbcon: nvidia-drmdrmfb (fb0) is primary device). With 615 and 620 it never does while the system is running.
Note that the switch from 580 to 615 (Oct 12) also moved the kernel from 6.12.53-lts to 6.18.55-lts.
What triggers it: all 31 boots where the monitor was missing at init were boots where the platform firmware also did not light the display. On those boots there is no simple-framebuffer/simpledrm handed over by the firmware, and the firmware stage of systemd-analyze is consistently about 2.4 s longer (e.g. 17.9 s vs 15.4 s). The firmware succeeds on about 50% of cold boots, independent of how long the machine was off. Fast Boot is disabled. So the monitor is not present or ready at the moment of the initial probe. The bug is that the driver never recovers when it shows up a moment later.
Additional observation (615.78.08, Dec 1): the same no-recovery behaviour also happened after a good boot, with no reboot involved. The SDDM greeter was displayed on DP-1. About 13 min later, while idle, Xorg logged DFP-1: disconnected (monitor sleep). About 9 min after that the monitor came back (connected), and the same about-4.4 s connect/disconnect loop started, with the screen dark. In that state, sysfs showed status=connected, enabled=disabled, dpms=Off, and again 0 DRM uevents in 12 s while Xorg logged 3 connect/disconnect events. The only display client at that point was SDDM on Xorg.
To Reproduce
- Use an RTX 4060 (AD107) with a single DisplayPort monitor (ASUS PA278QV),
nvidia-open-dkms620.73.04 (or 615.78.08), and defaultnvidia_drmoptions. - Cold-boot repeatedly. On boots where the system firmware does not bring up the display (about 50% here),
nvidia-drmlogsCannot find any crtc or sizesat init. - Observe that the monitor stays dark for the rest of the boot. The DRM connector stays
disconnectedand no DRM hotplug uevents are emitted, while the Xorg log shows DFP-1 alternatingconnected/disconnectedevery ~4.4 s. - Unplug/replug the cable or power-cycle the monitor: no recovery.
- Press the power button: the monitor is detected (
nvidia-drmdrmfb (fb0)) 1–2 s after shutdown starts. - Expected behaviour, as with 580.95.05: the monitor is picked up as soon as it appears, within about 1 s.
Bug Incidence
Sometimes
nvidia-bug-report.log.gz
Attached in a comment below. It was captured over SSH while in the failing state on 615.78.08 (Nov 28), and shows DFP-1 cycling in the Xorg log, card0-DP-1/status disconnected, and Cannot find any crtc or sizes. MAC addresses, serial numbers, UUIDs and a home-directory path are redacted; nothing else was changed. I will add a 620.73.04 log captured in the failing state the next time it happens.
More Info
- Possibly related: #1405 (615.x: DP sink stays black after unplug/replug;
dpPreModeset()drops the detach while unplugged), #1323 (redundant long-HPD loop on DP), #1357 (615.x DP output produces no signal; 610 works). Here the DRM connector never even becomesconnectedafter the initial failed probe. - Not yet tested: forcing a re-probe with
echo detect > /sys/class/drm/card0-DP-1/status, a VT switch (chvt) in the failing state, the proprietary 615/620 packages, and a newer motherboard BIOS. I can test any of these, or capture logs withnvidia-modesetdebug enabled, if that helps. - Module options: only
NVreg_TemporaryFilePath=/var/tmp. Kernel command line has no NVIDIA-specific parameters.
- 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ự
-
Độ 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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Life-Framework/Life-Framework#7017 ·
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
gjrtimmer/jetson-nvmpi#170 ·