Repository navigation
Description
NVIDIA Open GPU Kernel Modules Version
615.78.08 (release tag; main @ ca2d03e is identical in the affected code). Packaged by CachyOS as nvidia-utils 615.78.08-2 + linux-cachyos-nvidia-open 7.3.0-4 (open kernel modules built against the distribution kernel).
Please confirm this issue does not happen with the proprietary driver (of the same version).
- I confirm that this does not happen with the proprietary driver package.
Not tested with the proprietary package. The affected code is the kernel interface layer (kernel-open/nvidia/nv-pci.c, nv_get_pci_sysfs_config() / nv_pci_probe()), which is the same source in both packages, so the proprietary package is almost certainly affected too. Reporting here because the fix is in the open source part of the tree.
Operating System and Version
CachyOS (Arch-based), systemd 262
Kernel Release
Broken: Linux 7.3.0-4-cachyos x86_64 (CachyOS build of the 7.3.0 stable release)
Works: Linux 6.18.55-2-cachyos-lts x86_64 (same driver build)
Please confirm you are running a stable release kernel (e.g. not a -rc).
- I am running on a stable kernel release.
Hardware: GPU
GPU 0: NVIDIA RTX 2000 Ada Generation Laptop GPU (UUID: GPU-bd9a8ec0-c232-97f4-599c-a7dcadc0a7ac), 01:00.0 [10de:28b8] in a Dell Precision 5480 (BIOS 1.27.0), hybrid graphics; root port 00:01.0 Intel Raptor Lake PEG010 [8086:a70d] with ACPI _PR3 (\_SB.PC00.PEG1.PG01). iGPU drives all displays.
Describe the bug
With 615.78.08 (open kernel modules) on Linux 7.3.0, /proc/driver/nvidia/gpus/<bdf>/power reports
Runtime D3 status: Not supported (or Disabled by default with the default NVreg_DynamicPowerManagement)
on a notebook that fully supports RTD3. The dGPU never leaves D0.
Root cause: nv_pci_probe_body() runs from the nv-probe-<bdf> kthread during module load.
nv_get_pci_sysfs_config() there calls filp_open("/sys/bus/pci/devices/<bdf>/config"), which returns
-ENOENT because, since Linux 7.3 ("fs,kthread: start all kthreads in nullfs"), kernel threads no longer
share init's fs_struct and resolve paths in an empty nullfs root. nvl->sysfs_config_file stays NULL,
nv_dynamic_power_available() returns false, and rm_init_dynamic_power_management() disables RTD3 without
any error-level log message.
The same driver build on Linux 6.18 enables RTD3 normally. A manual unbind/bind after module load
(synchronous probe in process context) enables RTD3 on 7.3 as well, which confirms the task context is the
only difference.
To Reproduce
- Boot Linux 7.3.x with 615.78.08 on an RTD3-capable notebook. Observe
Runtime D3 status: Not supported. - Re-probe synchronously:
Now:
modprobe -r nvidia_drm nvidia_modeset nvidia_uvm echo 0000:01:00.0 > /sys/bus/pci/drivers/nvidia/unbind echo 0000:01:00.0 > /sys/bus/pci/drivers/nvidia/bind modprobe nvidia_drmRuntime D3 status: Enabled (fine-grained),power/runtime_status=suspended, root port in D3cold, video memory off. - Boot Linux 6.18 with the same driver version: RTD3 is enabled without any workaround.
Bug Incidence
Always (every module load on Linux 7.3)
nvidia-bug-report.log.gz
Attached below (collected on 7.3.0-4-cachyos right after a fresh module load, with RTD3 reported "Not supported").
More Info
Evidence
/proc/driver/nvidia/gpus/0000:01:00.0/power on 7.3 (default settings and with 0x02):
Runtime D3 status: Not supported
Video Memory Self Refresh: Supported
Video Memory Off: Supported
Driver debug output (NVreg_ResmanDebugLevel=0 NVreg_RmMsg=dynamic), showing the regkey read succeeded
(error (0)) and no _PR3 evaluation failure was logged:
NVRM: rm_init_dynamic_power_management: Disabling dynamic power management either due to lack of system support or due to error (0) in reading regkey.
kprobe trace of filp_open during modprobe nvidia (the task is the driver's probe kthread; the firmware
loads in the same thread succeed because kernel_read_file_from_path_initns() resolves against init's root):
nv-probe-0000:0-249170 fo: (filp_open+0x4/0xf0) filename="/sys/bus/pci/devices/0000:01:00.0/config" flags=0x0
nv-probe-0000:0-249170 fr: (nv_pci_probe_body+0xd61/0x1510 [nvidia] <- filp_open) ret=0xfffffffffffffffe # -ENOENT
nv-probe-0000:0-249170 fo: (filp_open+0x4/0xf0) filename="/lib/firmware/nvidia/615.78.08/gsp_ga10x.bin" flags=0x0
nv-probe-0000:0-249170 fr: (kernel_read_file_from_path_initns+0x5c/0xb0 <- filp_open) ret=0xffff8c46aad67a40
The file exists and is on sysfs from any process:
$ stat -f -c %T /sys/bus/pci/devices/0000:01:00.0/config
sysfs
Kernel 7.3 headers carry the nullfs change (include/linux/fs_struct.h: extern struct fs_struct *userspace_init_fs;
and scoped_with_init_fs()); 6.18 headers do not.
Runtime proof with a minimal test module
A 40-line test module that, from a kernel thread, opens the sysfs path with filp_open() and then with file_open_root() against userspace_init_fs (the proposed fix). Output on 7.3.0-4-cachyos:
[ 362.608071] kthread filp_open(/sys/bus/pci/devices/0000:01:00.0/config) -> -2
[ 362.608091] kthread file_open_root(userspace_init_fs, /sys/bus/pci/devices/0000:01:00.0/config) -> 0 (on sysfs)
Test module source (build with the kernel's compiler, add -DHAVE_USERSPACE_INIT_FS on kernels that have it)
// SPDX-License-Identifier: GPL-2.0
/*
* Test module: from a kernel thread, open a sysfs path (a) with filp_open()
* using the kthread's own fs root and (b) via file_open_root() against
* userspace_init_fs. Logs both results. Reproduces the NVIDIA nv-probe
* failure on Linux >= 7.3 and validates the proposed fix.
*/
#include <linux/module.h>
#include <linux/kthread.h>
#include <linux/fs.h>
#include <linux/fs_struct.h>
#include <linux/path.h>
#include <linux/completion.h>
static char *path = "/sys/bus/pci/devices/0000:01:00.0/config";
module_param(path, charp, 0444);
static DECLARE_COMPLETION(done);
static int worker(void *unused)
{
struct file *f;
struct path root;
f = filp_open(path, O_RDONLY, 0);
pr_info("kthread filp_open(%s) -> %ld\n", path, IS_ERR(f) ? PTR_ERR(f) : 0L);
if (!IS_ERR(f))
filp_close(f, NULL);
#ifdef HAVE_USERSPACE_INIT_FS
get_fs_root(userspace_init_fs, &root);
f = file_open_root(&root, path, O_RDONLY, 0);
path_put(&root);
pr_info("kthread file_open_root(userspace_init_fs, %s) -> %ld%s\n", path,
IS_ERR(f) ? PTR_ERR(f) : 0L,
(!IS_ERR(f) && f->f_inode && f->f_inode->i_sb &&
!strcmp(f->f_inode->i_sb->s_id, "sysfs")) ? " (on sysfs)" : "");
if (!IS_ERR(f))
filp_close(f, NULL);
#else
(void)root;
pr_info("kernel has no userspace_init_fs (pre-7.3): kthreads share init's root\n");
#endif
complete(&done);
return 0;
}
static int __init t_init(void)
{
struct task_struct *k = kthread_run(worker, NULL, "sysfs-open-test");
if (IS_ERR(k))
return PTR_ERR(k);
wait_for_completion(&done);
return -EAGAIN; /* never stay loaded */
}
module_init(t_init);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("kthread sysfs path open test (NVIDIA RTD3 nv-probe bug)");Workaround
A oneshot systemd unit that performs the unbind/bind above after module load (ordered before nvidia-powerd and
the display manager). It must run after nv_pci_register_driver() has finished so the probe is synchronous.
Suggested fix
Resolve the sysfs path against the userspace init root when the kernel exports userspace_init_fs
(EXPORT_SYMBOL_GPL on 7.3; the module is Dual MIT/GPL), exactly as the kernel does for firmware loading:
struct path root;
get_fs_root(userspace_init_fs, &root);
file = file_open_root(&root, filename, O_RDONLY, 0);
path_put(&root);falling back to filp_open() on older kernels, plus
NV_CONFTEST_SYMBOL_COMPILE_TESTS += is_export_symbol_present_userspace_init_fs in nvidia.Kbuild.
Patch attached. Moving the open into nv_pci_probe() would not be enough, because with
PROBE_PREFER_ASYNCHRONOUS the probe callback itself already runs in a PCI-core kworker.
Independently of the fix, rm_init_dynamic_power_management() logging "lack of system support" at
LEVEL_NOTICE only, and nv_get_pci_sysfs_config() logging nothing at all, made this very hard to find.
An NV_DBG_ERRORS message when the sysfs open fails would help.
Patch: nv-pci: resolve the sysfs PCI config path against the userspace init root
From: Philip Prstojevic <[email protected]>
Subject: [PATCH] nv-pci: resolve the sysfs PCI config path against the userspace init root
Since Linux 7.3 ("fs,kthread: start all kthreads in nullfs") kernel
threads no longer share init's fs_struct and resolve paths in an empty
nullfs root. nv_pci_probe_body() runs from the nv-probe-<bdf> kthread
during module load, so its filp_open() of
/sys/bus/pci/devices/<bdf>/config fails with -ENOENT. The failure is
silent: nv_dynamic_power_available() returns false and
rm_init_dynamic_power_management() disables RTD3, which /proc reports
as "Runtime D3 status: Not supported" (or "Disabled by default" with
the default NVreg_DynamicPowerManagement). The dGPU then never enters
D3cold.
Open the path through file_open_root() against userspace_init_fs when
the kernel exports it, the same approach the kernel uses in
kernel_read_file_from_path_initns() for firmware. Older kernels keep
using filp_open(), which works there because kthreads share init's
root.
Observed on a Dell Precision 5480 (RTX 2000 Ada Laptop GPU) with
615.78.08 on Linux 7.3.0: kprobe trace of filp_open from task
nv-probe-0000:0 returned -2; the same driver on Linux 6.18 enables RTD3.
A manual unbind/bind (synchronous probe in process context) enables RTD3
on 7.3, confirming the task context is the only difference.
---
--- a/kernel-open/nvidia/nvidia.Kbuild
+++ b/kernel-open/nvidia/nvidia.Kbuild
@@ -237,6 +237,7 @@
NV_CONFTEST_SYMBOL_COMPILE_TESTS += is_export_symbol_present_wait_for_device_probe
NV_CONFTEST_SYMBOL_COMPILE_TESTS += is_export_symbol_gpl_dma_iova_try_alloc
NV_CONFTEST_SYMBOL_COMPILE_TESTS += is_export_symbol_present_shmem_kernel_file_setup
+NV_CONFTEST_SYMBOL_COMPILE_TESTS += is_export_symbol_present_userspace_init_fs
NV_CONFTEST_TYPE_COMPILE_TESTS += vmf_insert_pfn_prot
NV_CONFTEST_TYPE_COMPILE_TESTS += sysfs_slab_unlink
--- a/kernel-open/nvidia/nv-pci.c
+++ b/kernel-open/nvidia/nv-pci.c
@@ -36,6 +36,8 @@
#include <linux/completion.h>
#include <linux/iommu.h>
#include <linux/kthread.h>
+#include <linux/fs_struct.h>
+#include <linux/path.h>
#include <linux/clk.h>
#include <linux/device.h>
@@ -422,6 +424,38 @@
#endif
}
+/*
+ * Open the sysfs path with a root that can actually resolve it.
+ *
+ * nv_pci_probe_body() runs from the nv-probe-<bdf> kthread during module
+ * load (and from the PCI core's async probe worker with
+ * PROBE_PREFER_ASYNCHRONOUS). Since Linux 7.3 ("fs,kthread: start all
+ * kthreads in nullfs") kernel threads no longer share init's fs_struct and
+ * see an empty nullfs root, so a plain filp_open("/sys/...") from a kthread
+ * fails with -ENOENT. That silently made nv_dynamic_power_available() false
+ * and disabled RTD3 ("Runtime D3 status: Not supported") on affected
+ * systems.
+ *
+ * Resolve the path against the userspace init root instead, like the
+ * kernel's own kernel_read_file_from_path_initns() does for firmware.
+ * Kernels without userspace_init_fs share init's root with kthreads, so
+ * filp_open() keeps working there.
+ */
+static struct file *nv_open_sysfs_path(const char *filename)
+{
+#if NV_IS_EXPORT_SYMBOL_PRESENT_userspace_init_fs
+ struct path root;
+ struct file *file;
+
+ get_fs_root(userspace_init_fs, &root);
+ file = file_open_root(&root, filename, O_RDONLY, 0);
+ path_put(&root);
+ return file;
+#else
+ return filp_open(filename, O_RDONLY, 0);
+#endif
+}
+
static void nv_get_pci_sysfs_config
(
struct pci_dev *pci_dev,
@@ -439,7 +473,7 @@
NV_PCI_SLOT_NUMBER(pci_dev));
if (ret > 0 && ret < sizeof(filename))
{
- struct file *file = filp_open(filename, O_RDONLY, 0);
+ struct file *file = nv_open_sysfs_path(filename);
if (!IS_ERR(file))
{
#if defined(NV_SEQ_READ_ITER_PRESENT)Status of the patch: applies to main; the open path (get_fs_root(userspace_init_fs) + file_open_root()) is compile- and runtime-tested against 7.3 headers via the test module above, and the fallback path against 6.18. I have not yet built the full kernel-open tree with it. Happy to open a PR if this approach is acceptable.
Activity
milescoviello commentedon Nov 3, 2026
Confirming this on a second machine and distro, in case another data point helps.
System: Lenovo Legion Pro 7 16IAX10H (83F5), RTX 5090 Laptop GPU
[10de:2c58]at02:00.0, hybrid graphics (iGPU drives the panel), root port00:06.0(\_SB.PC00.RP01, has_PR3). Gentoo (OpenRC), self-built 7.3.0 kernel,nvidia-drivers615.78.08 (open kernel modules), initramfs boot.Same symptom: with
NVreg_DynamicPowerManagement=0x02,Runtime D3 status: Not supported, whileVideo Memory Self RefreshandVideo Memory Offboth saySupported.Checks that match your analysis:
/proc/kcore(offsets fromobjdumpof this build):nvl->sysfs_config_fileis NULL andpr3_acpi_method_presentis 1. So the_PR3check passes and only the sysfs open fails.configfile passes all of the sanity checks innv_get_pci_sysfs_config(). I replicated them with a kprobe onpci_read_config:s_idis"sysfs",seq_file->opis NULL, and both back-pointers match.stat -c '%d %i' /proc/2/root/ /proc/1/root/gives4 1vs33 256, and/proc/2/root/sys/bus/pci/devices/0000:02:00.0/configdoesn't exist.Workaround confirmed: unbind/bind from process context after the module loads gives
Enabled (fine-grained). The GPU then reaches D3cold (power_stateD3cold on the GPU and the root port,Video Memory: Off) and wakes in 1–4 s. I've had three clean off/wake cycles so far, including withnvidia_drm modeset=1 fbdev=0loaded and a Wayland compositor holding the device.nvidia isn't in my initramfs, so to make it persistent I use a modprobe
installhook:The helper unbinds and rebinds any GPU whose
/proc/driver/nvidia/gpus/<bdf>/powersaysNot supported. It runs beforenvidia_modeset/nvidia_drmload, so nothing holds the device yet.+1 for the
userspace_init_fsapproach (#1512 implements it), and for an error-level message when the sysfs open fails. The silent failure took a lot of digging to find.(I investigated this with an AI assistant's help; all the numbers above are from my machine.)
Ogtoad commentedon Nov 3, 2026
Thanks for the second data point. The
/proc/2/rootcomparison is a nice direct confirmation that kthreadd's root is a separate empty filesystem, and the modprobeinstallhook is a cleaner persistence mechanism than my systemd oneshot for setups wherenvidiais not in the initramfs.For anyone landing here: #1512 implements the same fix (
scoped_with_init_fs()around the open, plus skipping the probe kthread when there is no async probe). I have checked it against the patch in this issue; the approaches are equivalent, so I am not opening a separate PR. On my machine a test module confirmed the core of it on 7.3.0: from a kthread,filp_open()of the sysfs config path returns -ENOENT, while the same open throughuserspace_init_fssucceeds and lands on sysfs.Open question for NVIDIA: the proprietary build cannot use
userspace_init_fs(GPL-only export), so for it the kthread path stays broken on 7.3 unless the probe thread is dropped, which #1512 does for the non-async case.fschmutz commentedon Nov 3, 2026
Another data point, Ampere on Alder Lake, Ubuntu:
[10de:25a0](GA107M, VBIOS 94.07.5b.00.8a) at01:00.0, hybrid graphics, iGPU drives the panel (GNOME Wayland)00:01.0(\_SB.PC00.PEG1),_PR0/_PR3present at runtime,d3cold_allowed=17.3.0-10-generic,nvidia-driver-615-open615.71.09 (Ubuntu-signedlinux-modules-nvidia-615-open),NVreg_DynamicPowerManagement=2Same symptom:
Runtime D3 status: Not supported, whileVideo Memory Self RefreshandVideo Memory Offboth reportSupported. GPU stays in D0 at P8 (~4 W idle).Firmware side checked from an ACPI dump: the JT
_DSM(cbeca351-…) returns fun0 mask0x1Band JT_FUNC_CAPS withJTEN=1,GC6V=2,JTRV=0x200, and implements JT_FUNC_POWERCONTROL (GC6I/GC6O). So nothing on the platform side explains the refusal, consistent with the sysfs-open root cause here.Also worth flagging for Ubuntu users: there is no closed 615 kernel module package (
nvidia-driver-615is a transitional package depending on-open), so switching to the proprietary build isn't an option on this branch.+1 for #1512.
fschmutz commentedon Nov 3, 2026
Follow-up on my earlier comment: the workaround works on this GA107M.
After a reboot on 7.3.0-10-generic with 615.71.09, using a modprobe
installhook like the one above:Runtime D3 status: Enabled (fine-grained), GPU and root port00:01.0in D3cold,Video Memory: Off. PRIME offload wakes the GPU in about 1 s and it was back tosuspended21 s later.Two traps with that hook, seen in the journal on this boot:
unbind.flockaround the re-probe fixes it in a simulation with 3 parallel runs (1 re-probe with the lock, 3 without). I have not confirmed the lock across a real boot yet.nvidia-powerdgets killed. Here it started before the hook ran, loggedERROR! Failed to allocate GPU device handle 0x59at the moment of the unbind, and exited with success, soRestart=on-failuredoes not bring it back. It stayed inactive until started again by hand. After a manual start the GPU was awake on and off for about 2.5 minutes (cause not identified), then stayed suspended for a full 10-minute measurement withnvidia-powerdactive, so the hook can start it again after the re-probe.nvidia-open: keep RTD3 working under Linux 7.3's kthread nullfs root
fschmutz commentedon Nov 4, 2026
Update: the
flockaround the re-probe and thenvidia-powerdrestart both held on a real boot of 7.3.0-10-generic with 615.71.09. One re-probe and no failure in the journal,nvidia-powerdactive again, and the GPU and root port in D3cold.lucasdemarchi commentedon Nov 6, 2026
Thanks for the report and investigation. I opened an internal bug 7039712 to fix this.
william8000 commentedon Nov 13, 2026
To add yet another data point, I had the same problem, and the modprobe -r / unbind / bind / modprobe sequence worked for me with kernel 7.3.3-200.fc44.x86_64 and nvidia driver 620.70.06. The problem started when Fedora updated from kernel 7.2.15 to 7.3.3.
I have a Lenovo ThinkPad T15p Gen 3, Intel Core i7-12800H, Fedora 44, Mate Desktop, Xorg, Nvidia GA107M [GeForce RTX 3050 Mobile], Intel Alder Lake-P GT2 (i915), PRIME render offload.
https://bugzilla.redhat.com/show_bug.cgi?id=2572845
seryogakovalyov commentedon Nov 13, 2026
Another data point: Lenovo Legion Pro 5 16IAX10H, RTX 5070 Ti Laptop GPU, Arch Linux, NVIDIA open DKMS modules 620.70.06.
With Linux 7.3.4-zen2-1-zen, the GPU never runtime-suspended: the default DynamicPowerManagement=3 reported
Disabled by default; explicitly setting 0x02 changed this toNot supportedwithout restoring suspend.After rolling back and then updating userspace and NVIDIA back to 620.70.06 while retaining Linux 7.2.15-zen1-1-zen and its matching headers, RTD3 works again after reboot with the default DynamicPowerManagement=3:
Thus, on this machine, NVIDIA 620.70.06 fails to enable RTD3 on Linux 7.3.4 without the patch, but works on 7.2.15. After applying the patch from PR #1512 to 620.70.06, RTD3 also works on 7.3.4-zen2-1-zen with the default DynamicPowerManagement=3: the driver reports Enabled (fine-grained), video memory is Off, and the GPU reaches suspended.
victus: work around the Linux 7.3 RTD3 regression, keep glvnd off the…
fix: work around NVIDIA RTD3 on Linux 7.3 and oomd losing the user se…
revert(nitro): drop the NVIDIA RTD3 workaround, wait for a driver fix
synapse-homeroot commentedon Nov 14, 2026
Another data point, plus a note for anyone applying #1512 to 620.70.06.
System: Dell XPS 15 9530, RTX 4070 Laptop GPU
[10de:2820]at01:00.0, Raptor Lake-P iGPU (i915) drives the panel, KDE Plasma Wayland. Arch Linux, kernel 7.3.4 (custom build of the Arch config),nvidia-open-dkms620.70.06, defaultNVreg_DynamicPowerManagement(3). nvidia is not in the initramfs.Symptom: worked on 7.2.15 (
Enabled (fine-grained),Video Memory: Off); on 7.3.4Runtime D3 status: Disabled by default, GPU stays in D0. The manual unbind/bind from process context restores it, as described above.Fix: #1512 applied to the DKMS source (
/usr/src/nvidia-620.70.06) and rebuilt. After a cold boot, with no rebind:Runtime D3 status: Enabled (fine-grained),power/runtime_status: suspended,Video Memory: Off.Trap when applying #1512 to 620.70.06: hunk 1 (the
#include <linux/fs_struct.h>block) doesn't match the context in 620.70.06'snv-pci.c. Withpatch --fuzz=3it gets placed after theNV_TDISP_AER_TDI_STATEmulti-line macro's continuation line, i.e. inside the macro, and the build fails with'#' is not followed by a macro parameter/'#endif' without '#if'. Applying hunks 2-3 normally and inserting the include block by hand directly after#include <linux/kthread.h>builds and works. The Kbuild hunk applies cleanly.william8000 commentedon Nov 15, 2026
On Fedora 44, you can set the unbind/bind to run as a oneshot with systemd after setting up udev and before setting up the display manager when the Runtime D3 status shows as "Not supported" or "Disabled by default". The advantage is that you don't have to keep rebuilding custom kernels and/or nvidia drivers after every update until it is fixed.
It will probably work on any Linux distribution with systemd.
Install the script to /usr/local/sbin/nvidia-rtd3-rebind and use systemd to install the service file to /etc/systemd/system/nvidia-rtd3-rebind.service
After the nvidia driver is fixed, remove the scripts with
sudo systemctl disable nvidia-rtd3-rebind.service
sudo rm /etc/systemd/system/nvidia-rtd3-rebind.service /usr/local/sbin/nvidia-rtd3-rebind
sudo systemctl daemon-reload
nvidia-rtd3-rebind.service.txt
nvidia-rtd3-rebind.txt
11 remaining items
agustux commentedon Nov 23, 2026
Another data point, the first Turing one here it seems:
00:01.0[10de:1fb8]at01:00.0nvidia-open-dkms620.73.04,NVreg_DynamicPowerManagement=0x02,power/control=autoruntime_statusSame driver, module options and cmdline on both kernels. No processes hold the dGPU open on 7.3.5.
#1512 seems to fix
ArgyRad commentedon Nov 23, 2026
Hi, I would like to add another data point.
I'm seeing the same thing on a Lenovo ThinkPad P1 Gen 4i (RTX 3080 Mobile, GA104M, hybrid with Intel Tiger Lake graphics), BIOS 1.34.
With the default settings, /proc/driver/nvidia/gpus/0000:01:00.0/power shows "Runtime D3 status: Disabled by default". When I forced NVreg_DynamicPowerManagement=0x02, it changed to "Not supported", same as described above. There are no errors in the logs.
Because of this, the RTX never powers off. It stays in D0/P8 and uses around 13 W even when nothing is running on it. I checked that nothing else was keeping it awake (no apps using it, measured without nvidia-smi).
Thanks for looking into this, and +1 for getting a fix like #1512 merged.
docs(power): the dGPU's RTD3 failure is Linux 7.3 vs nvidia-open's probe
fix(nixos-rog): follow nixpkgs for the NVIDIA driver and let the RTX …
xps: pin kernel to 6.18 LTS until nvidia-open fixes RTD3 on 7.3
xps: pin kernel to 6.18 LTS until nvidia-open fixes RTD3 on 7.3
xps: pin kernel to 6.18 LTS until nvidia-open fixes RTD3 on 7.3
xps: pin kernel to 6.18 LTS until nvidia-open fixes RTD3 on 7.3
busybox11 commentedon Nov 25, 2026
Seeing the same issue on my laptop with an RTX 5070 Mobile (
10de:2d18):0000:64:00.0)Linux chaeri 7.3.5 #1-NixOS SMP PREEMPT_DYNAMIC @1794910461 x86_64 GNU/Linux615.78.08(open kernel modules)NVreg_DynamicPowerManagement=0x02,NVreg_EnableS0ixPowerManagement=1,NVreg_PreserveVideoMemoryAllocations=1,NVreg_UseKernelSuspendNotifiers=1/proc/driver/nvidia/gpus/0000:64:00.0/power:Currently, I am booted using my laptop using its internal display exclusively, which is driven by the iGPU. The NVIDIA dGPU was disabled by cardwire on boot (integrated mode) and I haven't changed this since.
I have put the laptop to sleep once and reopened it. Not sure if dGPU was going to D3cold before but I believe it never did since kernel 5.3
Boot log shows
pci 0000:00:03.1: PME# supported from D0 D3hot D3coldandpci 0000:64:00.0: PME# supported from D0 D3hotagustux commentedon Nov 25, 2026
Switching to Arch LTS Kernel (6.18) allows D3cold, so this seems to be a more recent regression than that.
william8000 commentedon Nov 25, 2026
That has happened to me for years, and after putting my laptop to sleep and reopening it, the only way I have found to put the nvidia GPU back to sleep was running
powertop --auto-tune. I never figured out a way to do it through /sys/ files. It might require a combination of settings. Sometimes powertop disables the usb port on my mouse, I have a script that runs powertop and some other things and then echoes 'on' to the /sys/bus/usb/devices/*/power/control file for my mouse.haxxordan commentedon Nov 25, 2026
Follow-up to my earlier comment on the severe variant (dGPU fails init on 7.3, BAR1 256 MiB at enumeration): another Legion 5 Pro (82RF, RTX 3060 GA106M) is hitting the identical signature, tracked in zen-kernel/zen-kernel#427 (also reported as Fedora https://bugzilla.redhat.com/show_bug.cgi?id=2577519 for an RTX 3070 Ti on the same chassis).
Their latest update confirms it is not zen-specific: stock
7.3.4-arch1-2also fails intermittently withkbusVerifyBar2_GM107: MMUTest BAR0 window offset 0x70e000 returned garbage 0x0→RmInitAdapter failed! (0x24:0x72:1357), followed byBad page map/ mm warnings, same as on my machine.Their PASS vs FAIL
lspci -vvvon the same kernel is interesting: on failing boots the root port 00:01.0 still has the full 8 GiB prefetchable window, and the GPU's Resizable BAR capability still reports current size 8 GB, yet Linux assigns BAR 1 as 256 MiB. So the BAR sizing goes wrong in the kernel at PCI enumeration, before nvidia.ko loads. That suggests this variant is a separate 7.3 PCI-side regression from the nullfs/RTD3 issue fixed by #1512 (which would not help it). Logs: https://gist.github.com/panadaxx/a8fc9fffe0aef562ca6fcca48c9b3076larsschellhas commentedon Nov 27, 2026
Another data point, with two differences from most reports here: the proprietary module of the 595 branch, and the failure shows up after a hotplug, not at boot.
10de:2191). The GPU sits in the detachable base, so it is removed and added again at runtime.nvidia-driver-595595.99.02 (proprietary)Runtime D3 statusEnabled (fine-grained), the GPU reaches D3coldNot supported, the GPU stays in D0 until a rebootI saw the same on 7.3.4-2-surface with a 595 driver. With the 7.2 surface kernels, repeated detaching worked on this machine.
595.99.02 has no
nv-probekthread and setsPROBE_FORCE_SYNCHRONOUS, butnv_get_pci_sysfs_config()uses the same plainfilp_open(). My reading is that at boot the probe runs in the process that loads the module, and after a re-attach in the kernel thread that handles the hotplug event, where the lookup ends up in the empty root.The unbind/bind workaround supports this. In the same boot, with the GPU still
Not supportedafter a re-attach, I stopped everything that held it, removednvidia_uvm,nvidia_drmandnvidia_modeset(nvidiastayed loaded), then unbound and bound the GPU from a root shell. After loading the three modules again it reportedEnabled (fine-grained)and reached D3cold. So the same loaded module gets runtime D3 when the probe comes from a process. I have not traced the context of the hotplug probe itself.If that reading is right, a fix has two things to cover: probes that come from a hotplug kernel thread (not only the probe at module load), and the proprietary module, which cannot use the GPL-only
userspace_init_fs.nvidia: re-enlaza la GPU al cargar el driver para que RTD3 funcione c…
chennin commentedon Nov 28, 2026
@busybox11 for you - and anyone else with Ampere (30x0) or later, that should be
NVreg_DynamicPowerManagement=0x03, not 2 (source). However due to this bug, that will just change you from "Not supported" to "Disabled by default".I'm having the same issue with a GeForce RTX 4070 Max-Q on a Legion Pro 5 16ARX8 82WM.