Patch for the runtime D3 issue described above: nvidia- rtd3-kernel-7.3.patch
Opens the PCI sysfs config file through the userspace root on kernel >= 7.3, by wrapping filp_open() in scoped_with_init_fs() in nv_get_pci_sysfs_config() (nvidia/nv-pci.c). Without it, the lookup runs in the "nv-probe" kernel thread, which has an empty root on 7.3, fails with -ENOENT, and the driver reports "Runtime D3 status: Not supported". Origin: upstream-style patch by treshaun, as applied by CachyOS (PR #1096). I only adapted the paths (kernel-open/nvidia/ -> nvidia/) so it applies to /usr/src/nvidia-615.71.09: patch -d /usr/src/nvidia-615.71.09 -p1 < nvidia-rtd3-kernel-7.3.patch Status: applies cleanly (dry-run OK) on 615.71.09. NOT compile-tested, because the nvidia-kernel-source-615-open source does not build against 7.3.0-10 (dmem_cgroup_register_region signature change, see above). The original author reports it works on an RTX 5050 laptop with 7.3-rc6 and 615.78.08. ** Patch added: "nvidia-rtd3-kernel-7.3.patch" https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/2175014/+attachment/6019385/+files/nvidia-rtd3-kernel-7.3.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2175014 Title: nvidia 615 open: "Runtime D3 status: Not supported" on kernel 7.3, dGPU never suspends To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/2175014/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
