HDMI hotplug lost when the dGPU wakes from runtime D3cold (RTX 5070 Laptop, 615.78.08); detected from D3hot
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
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c, linux
- Lĩnh vực
- operating-systems
Hướng nghiên cứu
Start in the NVIDIA open kernel module’s runtime power-management and DRM hotplug paths, using the supplied reproduction to compare D3cold with D3hot. Run the steps while monitoring udevadm monitor --kernel --udev --subsystem-match=drm and inspect /sys/class/drm/card0-HDMI-A-1/status. Done means resuming from D3cold after an HDMI plug emits the expected DRM change event and updates the connector status to connected without a forced probe.
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
615.78.08. Seen with the Arch DKMS build (nvidia-open-dkms 615.78.08-1) and with the distribution's prebuilt module (linux-omarchy-nvidia-open 7.2.15-4).
Proprietary driver
Not tested. As far as I know, the RTX 50 series (Blackwell) is supported only by the open kernel modules, so I can't compare against the proprietary package.
Operating System and Version
Arch Linux (Omarchy 4.5.0-3), Hyprland 0.56.2 on Wayland
Kernel Release
Linux 7.2.15-4-omarchy #1 SMP PREEMPT_DYNAMIC Sun, 22 Nov 2026 15:33:45 +0000 x86_64 GNU/Linux (stable kernel, distribution build)
Hardware: GPU
NVIDIA GeForce RTX 5070 Laptop GPU (VBIOS 98.06.5D.00.CA). Hybrid graphics with an Intel Arrow Lake iGPU driving the internal panel. The HDMI port is wired to the dGPU. The laptop is a Lenovo Legion 5 15IAX11 (83QE) with BIOS UFCN29WW.
Describe the bug
Plugging in an HDMI monitor while the dGPU is runtime-suspended in D3cold wakes the GPU, but nvidia-drm never reports the hotplug. The connector stays disconnected and no DRM uevent is emitted, so the compositor never lights up the monitor. With the GPU in D3hot (d3cold_allowed=0), the same plug is detected normally.
| state before the plug | GPU after the plug | root port 0000:00:06.0 |
DRM uevent | card0-HDMI-A-1/status |
|---|---|---|---|---|
| D3cold (default) | D0 / active | D3cold → D0 | none | disconnected |
D3hot (d3cold_allowed=0) |
D0 / active | D0 | 2 × change about 1.8 s after the wake |
connected |
active (power/control=on) |
D0 / active | D0 | 2 × change |
connected |
In the D3cold case the kernel log at the plug shows only:
nvidia 0000:01:00.0: Enabling HDA controller
and udevadm monitor --kernel --udev --subsystem-match=drm records nothing. The HDA function 0000:01:00.1 goes from D3cold to D3hot.
In the D3hot case:
[1911.330199] nvidia 0000:01:00.0: Enabling HDA controller
KERNEL[1913.103481] change /devices/pci0000:00/0000:00:06.0/0000:01:00.0/drm/card0 (drm)
UDEV [1913.115028] change /devices/pci0000:00/0000:00:06.0/0000:01:00.0/drm/card0 (drm)
KERNEL[1913.204752] change /devices/pci0000:00/0000:00:06.0/0000:01:00.0/drm/card0 (drm)
UDEV [1913.206701] change /devices/pci0000:00/0000:00:06.0/0000:01:00.0/drm/card0 (drm)
[1913.205190] nvidia-modeset: WARNING: GPU:0: RLD advertized maximum pixel clock 240000 KHz violates maximum pixel clock constraint for HDMI
After a missed plug from D3cold, echo detect > /sys/class/drm/card0-HDMI-A-1/status detects the monitor right away. So the hardware is fine and the HPD that woke the GPU appears to be lost during the D3cold exit.
To Reproduce
- Use a hybrid laptop with HDMI wired to the dGPU and RTD3 enabled.
power/control=autoon0000:01:00.0,d3cold_allowed=1andNVreg_DynamicPowerManagementat its default. - Boot with HDMI unplugged and wait until
/sys/bus/pci/devices/0000:01:00.0/power_statereadsD3cold. - Plug in an HDMI monitor.
- Check
/sys/class/drm/card0-HDMI-A-1/status. It staysdisconnected, and no drmchangeuevent is emitted. - Set
d3cold_allowed=0, let the GPU suspend to D3hot, unplug and plug again. The monitor is detected.
Bug Incidence
Always
nvidia-bug-report.log.gz
Captured right after a missed plug from D3cold, before any forced probe (GPU back in D0, HDMI still disconnected). This redacted copy has firewall log lines removed and MAC addresses, serial numbers, UUIDs and the username masked:
nvidia-bug-report-redacted.log.gz
More Info
- Turning off D3cold is not a good workaround on this laptop. I measured idle battery draw over 4 rounds of 60 samples each: about 16.6 W in D3cold against 26.4 W in D3hot, roughly 9.7 W more.
- My current workaround keeps the GPU awake (
power/control=on) while on AC and forcesdetecton the connectors from a udev rule. - Full investigation in the distribution's tracker: https://github.com/omacom/omarchy/issues/20473
- 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