Bug 2572845
| Summary: | kernel 7.3 regression: with the same nvidia 620.70.06 driver, kernel 7.3.3 gives RTD3 "Not supported", 7.2.15 gave "Enabled (fine-grained)" | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | William Bader <williambader> | ||||||||||||||||||
| Component: | kernel | Assignee: | Justin M. Forbes <jforbes> | ||||||||||||||||||
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||
| Version: | 44 | CC: | acaringi, adscvr, airlied, arek.rusi, hans, hpa, jforbes, kernel-maint, linville, masami256, mchehab, nickolasjcarr, ptalbert, steved, suraj.ghimire7 | ||||||||||||||||||
| Target Milestone: | --- | Keywords: | Regression | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||
| OS: | Linux | ||||||||||||||||||||
| Whiteboard: | |||||||||||||||||||||
| Fixed In Version: | Doc Type: | --- | |||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||
| Last Closed: | Type: | --- | |||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||
| Embargoed: | |||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||
|
Description
William Bader
2026-11-12 21:58:14 UTC
Created attachment 2163451 [details]
dmesg-nohost-7.3.3.txt
Created attachment 2163452 [details]
nvidia-bug-report-7.3.3.log.gz
Created attachment 2163453 [details]
lspci-7.3.3.txt
Created attachment 2163454 [details]
nvrm-debug-7.3.3.txt
temporarily added NVreg_ResmanDebugLevel=0 to /etc/modprobe.d/nvidia-pm.conf, rebooted, and ran
sudo dmesg > ~/nvrm-debug.txt
grep -iE 'rtd3|gc6|_PR3|d3cold|dynamic power' ~/nvrm-debug.txt
Created attachment 2163455 [details]
dmesg-nohost-7.2.15.txt
Created attachment 2163456 [details]
nvidia-bug-report-7.2.15.log.gz
Created attachment 2163457 [details]
lspci-7.2.15.txt
Created attachment 2163458 [details]
nvrm-debug-7.2.15.txt
Here is more information. Let me know if there is anything else that I can test.
Hardware: Lenovo ThinkPad T15p Gen 3
GPU: GA107M [GeForce RTX 3050 Mobile] 10de:25a2 at 0000:01:00.0, behind root port 0000:00:01.0
iGPU: Intel Alder Lake-P GT2 (i915), PRIME render offload
Driver: NVIDIA open kernel module 620.70.06 (RPM Fusion akmod-nvidia)
Module option: NVreg_DynamicPowerManagement=0x02
OS: Fedora 44
Results with the same driver build, same module options, same firmware; only the kernel differs:
Kernel 7.2.15-200.fc44.x86_64, driver 620.70.06:
/proc/driver/nvidia/gpus/0000:01:00.0/power: Runtime D3 status: Enabled (fine-grained)
/sys/bus/pci/devices/0000:01:00.0/power/runtime_status: suspended
Kernel 7.3.3-200.fc44.x86_64, driver 620.70.06:
/proc/driver/nvidia/gpus/0000:01:00.0/power: Runtime D3 status: Not supported
/sys/bus/pci/devices/0000:01:00.0/power/runtime_status: active
With NVreg_DynamicPowerManagement left at the default (3), 7.3.3 reports "Disabled by default" instead.
Already ruled out on 7.3.3:
- The root port has ACPI _PR3 (power_resources_D3hot present in sysfs). With NVreg_ResmanDebugLevel=0 there is no "Failed to evaluate _PR3 object" message, and the NVRM debug output is identical on both kernels apart from addresses and timestamps.
- d3cold_allowed=1 on both the GPU and the root port; power/control=auto on both.
- A test module that replicates the sysfs config file checks in nv_get_pci_sysfs_config() (nv-pci.c) passes on both 7.2.15 and 7.3.3 with identical results, so nv_dynamic_power_available() should return true on both.
- The nvidia.ko builds for 7.2.15 and 7.3.3 import the same kernel symbols (apart from renamed allocator internals), including the runtime PM, ACPI and sysfs functions, so conftest results match.
- No hypervisor flag in /proc/cpuinfo.
- No relevant ACPI/PCI/PM kernel config differences between the two Fedora kernels.
The SBIOS PlatformRequestHandler assertions ("failed to get platform power mode from SBIOS") appear on both kernels and also appeared with 615.78.08 when RTD3 worked, so they do not appear to be related.
The open driver code paths I could check behave the same on both kernels, so the "Not supported" decision appears to come from the closed RM code, based on something that changed in kernel 7.3.
Workaround: booting kernel 7.2.15 with the same 620.70.06 driver built with `sudo akmods --kernels 7.2.15-200.fc44.x86_64 --force`
looks same as: https://github.com/NVIDIA/open-gpu-kernel-modules/issues/1507 it nothing can be done on kernel side. (In reply to ArekR from comment #10) Thanks, the fix on that page worked for me. |