Technical Support Ticket: Regression in Hibernation Power Management (RTX 4060 Ti)
System Environment
-
OS: Ubuntu (using X11 Desktop Session)
-
Kernel:
6.17.0-1020-oem -
Driver Version:
580.126.09 -
CUDA Version:
13.0 -
GPU: NVIDIA GeForce RTX 4060 Ti (16GB)
-
Storage Setup: 36GB Swap file (
/swap.img) on ext4 partition (/dev/nvme0n1p5)
Problem Description
The system successfully initiates hibernation and saves the memory image to disk. However, upon resuming from hibernation, the kernel successfully loads and decompresses the image data from the swap file, but the resume operation aborts at the final stage because the NVIDIA driver fails to freeze/quiesce. This forces a fallback to a fresh cold boot, losing the user’s session.
Direct invocation via the kernel interface (echo disk | sudo tee /sys/power/state) immediately fails with an Input/output error.
Relevant Kernel Logs (dmesg)
Plaintext
[ 12.449952] PM: hibernation: Read 5453596 kbytes in 3.20 seconds (1704.24 MB/s)
[ 12.450571] PM: Image successfully loaded
[ 12.458850] nvidia 0000:05:00.0: PM: pci_pm_freeze(): nv_pmops_freeze [nvidia] returns -5
[ 12.459178] nvidia 0000:05:00.0: PM: dpm_run_callback(): pci_pm_freeze returns -5
[ 12.459183] nvidia 0000:05:00.0: PM: failed to quiesce async: error -5
[ 12.982944] PM: hibernation: Failed to load image, recovering.
[ 13.160812] PM: hibernation: Basic memory bitmaps freed
[ 13.161318] PM: resume failed (-5)
Troubleshooting Steps Already Taken
To isolate the driver as the single point of failure, the following configurations were applied and verified:
-
VRAM Preservation Enabled: Verified
PreserveVideoMemoryAllocations: 1is active in/proc/driver/nvidia/params. -
Dedicated Temp Paths: Set
NVreg_TemporaryFilePath=/var/tmpwith ample disk space to prevent memory allocation drops. -
Early Module Loading: Added
nvidia,nvidia_modeset,nvidia_uvm, andnvidia_drmdirectly to the initramfs modules to guarantee availability during early boot phases. -
Kernel Parameters: Modified GRUB to include exact
resume=UUIDandresume_offsetcoordinates. Verified/sys/power/resumesuccessfully points to the root block device device mapping (259:5). -
ASPM and Secure Boot Disabled: Confirmed
mokutil --sb-statereports Secure Boot is disabled. Motherboard PCIe Active State Power Management (ASPM) has been disabled to prevent bus-level timing drops. -
Isolated Environment Isolation: The failure persists with the exact same
-5 (EIO)error code even when initiating hibernation cleanly from a virtual terminal console (TTY3) with minimal VRAM utilization (~1.4GB used by basic Xorg/GNOME processes).
Request
Please advise if this nv_pmops_freeze failure (error -5) is a known regression with the 580.x driver branch on 6.17+ OEM Linux kernels, and if there is a specific module parameter configuration required to prevent the asynchronous driver freeze timeout on Ada Lovelace architecture GPUs.
nvidia-bug-report.log.gz (1.2 MB)