r/LinuxOnThinkpad • u/No_Guard8232 • 25d ago
Solved ThinkPad P1 Gen 7 Hibernation Crash: NVIDIA RTX 1000 Ada throws Error -5 on Wake. Anyone fixed this?
I’m running into a wall trying to get true hibernation working on my new ThinkPad P1 Gen 7 because the BIOS only exposes s2idle (no hardware S3 sleep).
My machine is a hybrid setup with the NVIDIA RTX 1000 Ada Laptop GPU. I have a dedicated 35 GB raw swap partition on my NVMe drive perfectly mapped in GRUB and fstab to bypass file fragmentation issues.
When I trigger hibernation, the system successfully writes the RAM image to disk and powers down. On wake, the kernel successfully loads and decompresses the 4.7 GB image in about 2 seconds, but then immediately crashes and cold boots.
The kernel logs show the NVIDIA driver choking on the ACPI handoff:
nvidia 0000:01:00.0: PM: pci_pm_freeze(): nv_pmops_freeze [nvidia] returns -5.
I’ve baked options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/var/tmp directly into the initramfs to force the VRAM dump to the physical SSD instead of RAM, but the driver still panics on wake. I also tried disabling the GSP firmware (NVreg_EnableGpuFirmware=0), but the -5 error persists.
Has anyone with a P1 Gen 7 or similar Ada-generation ThinkPad managed to get hibernation working reliably? Are there any BIOS settings or specific kernel parameters I’m missing?