Fedora Account System
Red Hat Associate
Red Hat Customer
1. Please describe the problem: Something changed between the 7.3 and 7.2 kernel to break the 620.70.06 nvidia driver. On 7.3, the driver compiles, but gets an error loading. The nvidia chip remains powered, which makes my laptop run hot, but it is not accessible, and X11 and chrome fall back to using the slower built-in Intel GPU. 2. What is the Version-Release number of the kernel: 7.3.3-200.fc44.x86_64 3. Did it work previously in Fedora? If so, what kernel version did the issue *first* appear? Old kernels are available for download at https://koji.fedoraproject.org/koji/packageinfo?packageID=8 : It worked on the final 7.2.15-200.fc44.x86_64 kernel, with both the 615 and 620 drivers. I built the 620 driver into the 7.2.15 to check whether the problem was the driver or the kernel. 4. Can you reproduce this issue? If so, please provide the steps to reproduce the issue below: Booting with the 7.3.3 kernel makes the problem happen every time. The problem happens with both cold and warm boots, including warm boots after shutting down 7.2.15, so it is something that the 7.3.3 kernel is doing, and not something random or uninitialized. 5. Does this problem occur with the latest Rawhide kernel? To install the Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by ``sudo dnf update --enablerepo=rawhide kernel``: 6. Are you running any modules that not shipped with directly Fedora's kernel?: I have the nvidia driver. 7. Please attach the kernel logs. You can get the complete kernel log for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the issue occurred on a previous boot, use the journalctl ``-b`` flag. Reproducible: Always
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.