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)

Đang mở
#1,623 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

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 connectors disconnected, EDID 0 bytes, 0 modes).
  • udevadm monitor --kernel --subsystem-match=drm showed 0 DRM events in 15 s. In the same window, Xorg logged DFP-1: connected (469.662 s), disconnected (474.158 s) and connected (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) and Yes (in the bug-report snapshot taken later), with Display Active: Disabled in 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
  1. Use an RTX 4060 (AD107) with a single DisplayPort monitor (ASUS PA278QV), nvidia-open-dkms 620.73.04 (or 615.78.08), and default nvidia_drm options.
  2. Cold-boot repeatedly. On boots where the system firmware does not bring up the display (about 50% here), nvidia-drm logs Cannot find any crtc or sizes at init.
  3. Observe that the monitor stays dark for the rest of the boot. The DRM connector stays disconnected and no DRM hotplug uevents are emitted, while the Xorg log shows DFP-1 alternating connected/disconnected every ~4.4 s.
  4. Unplug/replug the cable or power-cycle the monitor: no recovery.
  5. Press the power button: the monitor is detected (nvidia-drmdrmfb (fb0)) 1–2 s after shutdown starts.
  6. 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 becomes connected after 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 with nvidia-modeset debug 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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NVIDIA/open-gpu-kernel-modules

Tất cả issue của NVIDIA/open-gpu-kernel-modules

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.