Repository navigation
Description
Summary
When the NVIDIA modules are loaded from the initramfs (the default on Arch Linux, and
therefore on Arch-derived distributions), resume from hibernation fails 100% of the time
with nv_pmops_freeze returning -EIO, provided NVreg_PreserveVideoMemoryAllocations=1 —
which Arch's own packaging sets by default.
Writing the hibernation image always succeeds. Only the restore fails, and it fails one step
after the image has been read back correctly.
This is distinct from the Blackwell early-KMS hibernation hangs discussed in distribution
trackers: this reproduces on Turing, and it is a logic gap in the PM notifier that is visible
in the source rather than a modesetting problem.
Environment
| Driver | nvidia-open-dkms 610.57.04 |
| GPU | Quadro T2000 (Turing, TU117GLM), 0000:01:00.0 |
| Machine | Lenovo ThinkPad P53 (20QN), Optimus laptop |
| Kernel | 7.1.9-arch1-2 |
| Distro | Omarchy (Arch-based) |
| Display topology | Only connected output is eDP-1 on the Intel iGPU. nvidia-drm logs Cannot find any crtc or sizes. |
Relevant module parameters, all distro defaults:
PreserveVideoMemoryAllocations: 1 # /usr/lib/modprobe.d/gsr-nvidia.conf
UseKernelSuspendNotifiers: 1 # /usr/lib/modprobe.d/nvidia-sleep.conf
Modules early-loaded into the initramfs by /etc/mkinitcpio.conf.d/nvidia.conf:
MODULES+=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
Steps to reproduce
- Arch-based system,
nvidia-open-dkms, NVIDIA modules in the initramfsMODULESarray. NVreg_PreserveVideoMemoryAllocations=1(default ifgpu-screen-recorderis installed).- A working hibernation setup — valid
resume=andresume_offset=. systemctl hibernate.- Power the machine back on.
Expected: the session is restored.
Actual: the image is found and read back successfully, then the restore is abandoned and the
machine continues into a fresh boot.
Log
Run /init as init process
nvidia: loading out-of-tree module ... <- initramfs
[drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 1
nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizes
PM: Image signature found, resuming
PM: hibernation: Read 5563848 kbytes in 3.28 seconds (1696.29 MB/s)
PM: Image successfully loaded
NVRM: GPU 0000:01:00.0: PreserveVideoMemoryAllocations module parameter is set.
System Power Management attempted without driver procfs suspend interface. ...
nvidia 0000:01:00.0: PM: pci_pm_freeze(): nv_pmops_freeze [nvidia] returns -5
nvidia 0000:01:00.0: PM: failed to quiesce async: error -5
PM: hibernation: Failed to load image, recovering.
PM: hibernation: resume failed (-5)
Note that the image was read back at 1.7 GB/s with a valid signature — the hibernation setup
itself is entirely correct. The failure is strictly after Image successfully loaded.
Analysis
Restoring a hibernation image is a two-kernel operation. The freshly booted resume kernel
loads the image, then must quiesce its own devices —
hibernation_restore() → dpm_suspend_start(PMSG_QUIESCE) → each driver's .freeze —
before jumping into the restored image. Because the driver is in the initramfs, that resume
kernel has a live, initialised NVIDIA device to freeze.
kernel-open/nvidia/nv.c — nv_pmops_freeze() calls
nvidia_suspend(dev, NV_PM_ACTION_HIBERNATE, is_procfs_suspend=NV_FALSE), and
nvidia_suspend() contains:
if (nv->preserve_vidmem_allocations &&
nv_dev_needs_vidmem_preservation(nv) &&
!is_procfs_suspend)
{
...
status = NV_ERR_NOT_SUPPORTED;
goto done;
}All three conditions hold on the resume path:
preserve_vidmem_allocations— set, viaNVreg_PreserveVideoMemoryAllocations=1.nv_dev_needs_vidmem_preservation()(common/inc/nv.h) returns
!is_tegra_pci_igpu && !NV_IS_SOC_DISPLAY_DEVICE, true for a discrete PCI GPU.is_procfs_suspendisNV_FALSE, because this is the kernel PM callback.
NV_ERR_NOT_SUPPORTED → nv_pmops_freeze returns -EIO → the restore is abandoned.
Why the save path does not hit this. With NVreg_UseKernelSuspendNotifiers=1 the driver
registers nv_pm_notifier. On the way down the kernel fires PM_HIBERNATION_PREPARE, the
notifier runs nv_suspend_devices(), which calls nvidia_suspend(..., is_procfs_suspend=NV_TRUE)
— the permitted path — saves video memory and sets NV_FLAG_SUSPENDED. The subsequent
nv_pmops_freeze then short-circuits on that flag and returns success.
The gap. On the way back up, software_resume() fires PM_RESTORE_PREPARE, and
nv_pm_notifier's switch handles only:
case PM_SUSPEND_PREPARE:
case PM_HIBERNATION_PREPARE:
case PM_POST_SUSPEND:
case PM_POST_HIBERNATION:
default: return NOTIFY_DONE; /* PM_RESTORE_PREPARE lands here */PM_RESTORE_PREPARE falls through to default. Nothing pre-authorises the freeze,
NV_FLAG_SUSPENDED is clear, and the refusal above fires unconditionally.
This is deterministic, not intermittent.
Suggested fix
Handle PM_RESTORE_PREPARE in nv_pm_notifier alongside PM_HIBERNATION_PREPARE, so the
resume kernel's devices are quiesced through the same permitted path the suspend side uses.
Workaround
Keep the NVIDIA modules out of the initramfs, so the resume kernel has no NVIDIA device bound
and there is no .freeze callback to refuse:
# /etc/mkinitcpio.conf.d/zz-nvidia-no-early-load.conf (must sort last)
_mods=()
for _m in "${MODULES[@]}"; do
case $_m in nvidia|nvidia_modeset|nvidia_uvm|nvidia_drm) ;; *) _mods+=("$_m") ;; esac
done
MODULES=("${_mods[@]}")
unset _mods _m
Then rebuild the initramfs. On this machine that restored hibernation completely: entry at
11:06:39, resume at 11:07:53, no PM errors, same boot ID — a genuine restore rather than a
fresh boot.
This costs nothing on an Optimus laptop whose only connected display is on the iGPU. It would
not be acceptable on a system where NVIDIA drives the panel and early KMS is wanted, which is
why it is a workaround rather than a fix.
Impact
Any configuration that early-loads the NVIDIA modules with
NVreg_PreserveVideoMemoryAllocations=1 cannot resume from hibernation. On Arch that is the
default pairing: nvidia.conf puts the modules in the initramfs, and gsr-nvidia.conf
(shipped with gpu-screen-recorder) sets the flag.
Activity
tzalkind commentedon Sep 8, 2026
Driver: nvidia-open-dkms 610.57.04 (open modules), Ada.
Related: forum thread "PreserveVideoMemoryAllocations + systemd services causes resume from hibernate to fail" (forums.developer.nvidia.com/t/233643), omarchy #5554, open-gpu-kernel-modules #1080.
Summary
When the nvidia driver is loaded inside the initramfs (early KMS), resuming from a hibernate image fails at the driver freeze step with
-5, the session is lost, and the system falls back to a fresh boot. When the same driver loads afterswitch_root(no early KMS), resume completes cleanly. This is reproducible and the fix is local and verified.Failure mode with early KMS
Image writes fine. On the restore boot the initramfs resume hook loads the image, then:
Fresh boot follows, session gone.
With
PreserveVideoMemoryAllocations=0instead of the-5, the image restores and then the GPU dies ~20-55 s later with a Xid cascade (Xid 13 against the compositor, Xid 31 MMU fault charged to post-resumemodprobe, uvm global fatal 0x60, "OS Reboot"). Same early-KMS condition. Matches the open upstream reports on Blackwell; confirmed on Ada (RTX 4070 SUPER) here.Root cause hypothesis (from 610.57.04 source)
nv_pm_notifier()(nv.c) registers forPM_SUSPEND_PREPARE,PM_HIBERNATION_PREPARE,PM_POST_SUSPEND,PM_POST_HIBERNATIONand falls through toNOTIFY_DONEforPM_RESTORE_PREPARE/PM_POST_RESTORE, the two events the kernel fires on the restore path. The write side passesis_procfs_suspend = NV_TRUEand works; the restore side reaches.freeze->nv_pmops_freeze->nvidia_suspend(..., NV_FALSE)on a freshly loaded driver withNV_FLAG_SUSPENDEDclear, which trips a guard and returns-EIO(surfacing as-5).The initramfs load is the deciding factor: on a restore boot the driver is loaded before systemd runs, so the procfs/notifier suspend handshake cannot happen before
.freezeis called. Without early KMS, the driver loads post-switch_root and the resume path completes.Fix (verified on this box)
Remove nvidia from the initramfs. No early KMS.
sudo mv /etc/mkinitcpio.conf.d/nvidia.conf ~/nvidia.conf.bak sudo limine-mkinitcpioResult: the console during the initramfs is drawn by simpledrm on the firmware framebuffer (the LUKS prompt still renders), nvidia loads after
switch_root, and hibernate restore completes cleanly with no-5and no Xid cascade. Verified across multiple restore cycles, including after real power-off (S5) restores and platform-mode cycles.Note: this contradicts the Blackwell finding recorded in omarchy #5554 (Test 3: removing early KMS gave a black screen on a 5090). On this Ada system with a monitor attached to the dGPU and simpledrm available, removing early KMS is the fix, not a regression.
Ask
PM_RESTORE_PREPARE/PM_POST_RESTOREhandling innv_pm_notifier()intentional?Happy to attach
nvidia-bug-report.shoutput or test a candidate fix.tomaszstachera commentedon Sep 27, 2026
Confirming this on a discrete desktop GPU, in case the existing reports are all hybrid/laptop — this is not Optimus-specific.
Environment
GSP Firmware Version: 580.178.04)resume_offsetverified againstfilefragmem_sleep_default=deep, firmware reportsS0 S3 S4 S5lsinitramfs | grep -c nvidia→ 561 (Ubuntu's defaultMODULES=most)Behaviour
The hibernation image writes and reads back perfectly; only the device-freeze step on the resume side fails:
The machine then continues into a normal boot, discarding a valid image.
Ruled out
NVreg_PreserveVideoMemoryAllocations— identical failure at both1and0(only the image size changes, 7.3 GB → 6.6 GB)-5on bothNVreg_EnableS0ixPowerManagement— same either wayphysical_offsetmatchesresume_offsetexactly, and the image demonstrably loadsNVreg_UseKernelSuspendNotifiers(from [Bug]: Hibernation fails with error -5 (missing PM_RESTORE_PREPARE) and 0x11 (empty runlist) on hybrid graphics with NVreg_UseKernelSuspendNotifiers=1 #1335) — this parameter does not exist in 580.178.04, so that workaround isn't available on this branchStill to test: removing the driver from the initramfs, per the title of this issue. Will report back.
Worth noting this has been present for a while — I filed the same
nv_pmops_freeze ... -5signature against 580.126.09 on 6.17.0-1020-oem nine months ago and it's unchanged across both branches since.Separately (different bug, mentioning only so the logs aren't confusing): on Wayland the hibernate write path also deadlocks, with
nvidia-sleep.shblocking on an rw-semaphore held bygnome-shellinsidenv_drm_mmap→__nv_drm_gem_nvkms_map. Switching to a text VT before hibernating makes the compositor drop DRM master and avoids it, which is how I get far enough to hit the resume failure above.astiak commentedon Sep 29, 2026
Confirming this on a different setup: same failure, same workaround, and it also happens with
PreserveVideoMemoryAllocationsat its default of 2, not just=1.System
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)in/etc/mkinitcpio.conf0000:01:00.0)Parameters
NVreg_UseKernelSuspendNotifiers=1(from Arch'snvidia-utils.conf)NVreg_TemporaryFilePath=/var/tmpNVreg_PreserveVideoMemoryAllocations, and nothing in/etc/modprobe.dor/usr/lib/modprobe.dsets it./proc/driver/nvidia/paramsshowsPreserveVideoMemoryAllocations: 2.nvidia-suspend,nvidia-hibernateandnvidia-resumeservices are disabled.Behaviour
Hibernate entry succeeds every time; restore fails every time:
The machine then continues into a fresh boot, so the session is lost. This matches the analysis above about
PM_RESTORE_PREPARE, and it shows the guard is also hit with the default value 2.Workaround
Setting
MODULES=()in/etc/mkinitcpio.confand rebuilding the initramfs, so that no NVIDIA modules are present in it (lsinitcpioshows no nvidia.kofiles), makes hibernate resume work. NVIDIA loads after switch_root instead. This is on a system where NVIDIA drives an external monitor, so the workaround does not depend on NVIDIA having no connected display.Side observation (unconfirmed cause)
After the failed resume, the kernel TPM resource manager was left in a bad state until a full power-off:
tpm2_save_context: failed with a TPM error 0x0901, thenA TPM error (459) occurred flushing contextandtpm2_commit_space: error -14. I have not established whether the driver abort caused this.prior commentedon Oct 3, 2026
Additional data point from an Ada desktop. This does not replace the initramfs
-5report already in this issue. Two results differ from the RTX 4070 SUPER note.System
10de:2702, AD103). The only monitor is attached to that card's DisplayPort.1002:164e) on an MSI board. Nothing is plugged into the iGPU.nvidia-open610.57.04, kernel7.2.5-3-omarchy, Hyprland on Wayland.NVreg_UseKernelSuspendNotifiers=1.nvidia-suspend.service,nvidia-hibernate.service, andnvidia-resume.servicedisabled./proc/driver/nvidia/suspenddoes not exist.S3 works on the stock parameters, with the driver loaded from the initramfs. After a reboot onto
PreserveVideoMemoryAllocations=1, suspend-to-RAM (mem_sleep=deep) returned to the same session:No Xid, no modeset error, no compositor crash. This GPU can complete the suspend notifier path that
nv_pm_notifierdoes implement.S4 still kills the GPU after the image is restored, even when the driver is not in the initramfs. With
PreserveVideoMemoryAllocations=0, and with both the NVIDIA modules and thekmshook left out of the initramfs, resume loggedPM: hibernation: hibernation exitin the same boot, then:Hyprland crashed on the first frame. The driver required a reboot. On the 4070 SUPER, leaving the modules out of the initramfs produced a clean restore. It did not here.
This was not the combination reported working on an RTX 5070 Ti (early KMS removed,
PreserveVideoMemoryAllocationsleft at 1, and the three NVIDIA sleep services enabled). That combination was not tested on this machine.The same Xid 13, modeset
-11, Xid 154 sequence also happened on an S3 wake while the running kernel still hadPreserveVideoMemoryAllocations=0loaded from an earlier boot. After rebooting so the parameter was actually1, S3 was clean, as above.(authored by grok)
vnt-83 commentedon Oct 4, 2026
Confirming this on another setup, this time Ampere + EndeavourOS/dracut, with the current 615 branch. Same failure signature and the same workaround fixes it.
System
7.2.7-zen1-1-zennvidia-open-dkms 615.71.09262112_eos-1)resume=UUID=...configured correctly/proc/driver/nvidia/params:PreserveVideoMemoryAllocations: 2UseKernelSuspendNotifiers: 1nvidia-suspend.service,nvidia-hibernate.service, andnvidia-resume.serviceare disabled.Failure with NVIDIA in initramfs
Hibernate entry itself succeeds and the machine powers off normally.
On power-on, the image is found and completely read:
Immediately afterwards:
The system then continues with a fresh boot.
This confirms that the swap/resume setup is working; the failure happens after
Image successfully loaded.Workaround with dracut
I excluded NVIDIA from the initramfs:
Then rebuilt the images with:
Verified afterwards for both installed kernels:
After reboot the ordering changed as expected:
Result
A subsequent real S4 test succeeded.
After manually powering the laptop back on:
The boot ID remained unchanged, confirming a genuine image restore rather than a fresh boot.
The previous
nv_pmops_freeze ... returns -5/resume failed (-5)errors were absent, and the NVIDIA GPU remained functional afterwards:So this reproduces #1343 on Ampere / 615.71.09 / dracut, and keeping the NVIDIA modules out of the initramfs fixes hibernate resume on this machine as well.
thisfilipe commentedon Oct 18, 2026
Datapoint: reproduces on Pop!_OS 24.04 with the distribution's NVIDIA 595 branch
(595.104.02, open kernel modules, DKMS), and the deciding factor is the initramfs —
confirming the title of this issue, and showing the guard is also hit with
PreserveVideoMemoryAllocationsat its default of 2.Environment
10de:25a2), Optimusnvidia-driver-595/nvidia-dkms-595595.104.02 (open modules, DKMS)7.2.6-76070206-generic(fails) vs7.1.5-76070105-generic(works)resume=UUID=...; nothing custom in/usr/lib/systemd/system-sleep/PreserveVideoMemoryAllocations: 2(nothing in/etc/modprobe.dor/usr/lib/modprobe.dsets it),UseKernelSuspendNotifiers: 1,TemporaryFilePath: "/var/tmp",/proc/driver/nvidia/suspendabsentWith the modules in the initramfs (kernel 7.2.6) — fails 2/2, deterministic
Driver loaded early in that same boot:
Without the modules in the initramfs (kernel 7.1.5) — resumes 6/6, session restored
The distribution hook (
/usr/share/initramfs-tools/hooks/framebuffer-nvidia, fromnvidia-kernel-common-595) only copies files matchingnvidia*.ko. For 7.1.5, DKMSproduced
nvidia*.ko.zst(compressed), so nothing was copied; for 7.2.6 it produceduncompressed
nvidia*.koand the hook copied all five modules into the initramfs(initrd 137 MB → 225 MB). Real power-off cycles on 7.1.5 restored the same boot ID
(six cycles, including one right after the 7.2.6 failures).
Question
Given that the write path relies on
PM_HIBERNATION_PREPARE(handled) while the restorepath fires
PM_RESTORE_PREPARE(not handled): is handlingPM_RESTORE_PREPARE/PM_POST_RESTOREinnv_pm_notifier()still the planned fix, and is there anyrecommended mitigation for kernels/distributions that load the driver from the initramfs by
default? Happy to attach
nvidia-bug-report.shoutput or test a candidate fix.luke-pritch commentedon Oct 23, 2026
Additional report: RTX 4090 / NVIDIA open 615.78.08 / Omarchy. My observed failure matches the image-load-then-freeze-error sequence in this issue.
Environment
10de:2684), device0000:01:00.0.4.0.6-1(Arch-based), Hyprland/Wayland.7.2.8-9-omarchy.nvidia-open-dkms 615.78.08-1,nvidia-utils 615.78.08-1,gpu-screen-recorder 6.1.4-1./swap/swapfileon encrypted root, approximately 60.4 GiB.resume=/dev/mapper/root resume_offset=1928558.Relevant configuration
/proc/driver/nvidia/params:/etc/mkinitcpio.conf.d/nvidia.conf:/etc/mkinitcpio.conf.d/omarchy_resume.conf:PreserveVideoMemoryAllocations=1is explicitly set by/usr/lib/modprobe.d/gsr-nvidia.conf:Observed failure
On October 23, 2026 at 16:38:32 EDT, hypridle executed
systemctl hibernateafter 30 minutes of inactivity. The machine powered off. At the subsequent startup, the kernel found the hibernation image and read it completely, then NVIDIA's freeze callback failed. Startup continued into a fresh session rather than restoring my applications.Relevant kernel log from that startup:
This establishes that the resume device and offset were sufficient to locate and read the image; the logged failure happens afterward in the NVIDIA device-freeze step. The underlying notifier explanation in this issue appears consistent with my logs, but I have not independently verified the driver source-level cause.
Testing status
This report covers one observed failed restore. I have disabled automatic idle hibernation to prevent further session loss. I have not yet tested removing NVIDIA from the initramfs, changing video-memory preservation, or patching the driver.
michsob commentedon Nov 6, 2026
Another data point, from a Blackwell desktop where NVIDIA is the only GPU, plus a workaround that keeps early KMS on normal boots.
System
10de:2d04) at0000:0a:00.0; desktop, no iGPU, every monitor on the NVIDIA card7.1.8-arch1-3, now7.2.8-9-omarchynvidia-open-dkms610.57.04, now 615.78.08; modules in the initramfs via mkinitcpio (MODULES+=(nvidia nvidia_modeset nvidia_uvm nvidia_drm), busybox init)PreserveVideoMemoryAllocations: 1(fromgpu-screen-recorder'sgsr-nvidia.conf),UseKernelSuspendNotifiers: 1;nvidia-{suspend,hibernate,resume}.servicedisabled;/proc/driver/nvidia/suspendabsentresume=/dev/mapper/root resume_offset=...Failure (610.57.04), same signature as the issue:
I haven't re-run 615.78.08 without the workaround below, but the notifier is unchanged there, and the Omarchy / 615.78.08 report above shows the same failure.
Still unhandled in 620.70.06. At tag
620.70.06,nv_pm_notifier()inkernel-open/nvidia/nv.c(L4683-4694) still handles onlyPM_SUSPEND_PREPARE,PM_HIBERNATION_PREPARE,PM_POST_SUSPENDandPM_POST_HIBERNATION, as in 610.57.04 and 615.78.08.PreserveVideoMemoryAllocations=0doesn't work around it on Blackwell either. The image restored, then Hyprland hit a GL assertion about 65 s later, and restarting it producedXid 31(MMU fault) followed byXid 154(recovery action: OS Reboot). That matches the Ada reports above.Workaround: unload the driver in the resume kernel only. Taking the modules out of the initramfs works, but it costs early KMS on every boot. Only the resume kernel needs the driver gone, and that kernel is discarded once the image is loaded. So a mkinitcpio hook ordered right before
resumereads the swap signature atresume=/resume_offset=:S1SUSPEND(an image is waiting): quit Plymouth, thenrmmod nvidia_uvm nvidia_drm nvidia_modeset nvidia. With no NVIDIA device bound there is nothing for.freezeto refuse. The restored kernel still has its own driver, suspended throughPM_HIBERNATION_PREPAREwith VRAM preserved.Results: 25 clean restores on 610.57.04 (Aug 23 - Oct 16) and 13 on 615.78.08 (Oct 20 - Nov 6). Every hibernation entry/exit pair stayed in the same boot ID, with no Xid and no
nv_pmopserrors, and the GPU and Hyprland session came back intact. The only cost is an extra blank/modeset between the LUKS prompt and the restored session.My first version of the hook failed with the same
-5because the unload didn't happen, and withquietthere was nothing in the log to say so: mkinitcpio'smsg()is silent, and init runsresumeregardless of a hook's return value. The version below logs every step to/dev/kmsg, quits Plymouth withplymouth --wait quit(Plymouth holds/dev/dri/card0and thereforenvidia_drm), retriesrmmod, and unbinds fbcon from the nvidia-drm framebuffer ifnvidia_drmstays busy. I didn't isolate which of those changes was the one that mattered.Hook files (mkinitcpio, busybox init), as tested
/etc/initcpio/hooks/nvidia-resume-unload:/etc/initcpio/install/nvidia-resume-unload:/etc/mkinitcpio.conf.d/zz-nvidia-resume-unload.conf(places the hook directly beforeresume; must sort after the drop-in that addsresume):Then rebuild the initramfs. A dracut system would need the same logic in a pre-resume hook; I haven't tried that.
This is only a workaround. The fix is still to handle
PM_RESTORE_PREPARE/PM_POST_RESTOREinnv_pm_notifier()as proposed in the issue. I'm happy to test a candidate patch on this card.orium commentedon Nov 30, 2026
Same failure on a Blackwell laptop: RTX 5070 Ti Laptop GPU (GB205M,
10de:2f58) in an ASUS ROG Strix G16 (G614FR), with an AMD iGPU driving the panel. Arch Linux, kernel 7.2.15,nvidia-open615.78.08, parameters at their defaults (PreserveVideoMemoryAllocations: 2,UseKernelSuspendNotifiers: 1), modules in the initramfs. Same log as in the issue, fromPM: Image successfully loadedtoPM: hibernation: resume failed (-5).Two things that aren't in this thread yet:
systemctl hibernate: UPower ranhybrid-sleepat low battery (it does that instead of a configuredSuspendunlessAllowRiskyCriticalPowerAction=true). The image was written, the laptop didn't wake from the suspend part, and on the next boot the restore failed as above. Hybrid sleep writes that image for exactly this case, so with the driver in the initramfs, laptops lose the session in the one situation the image exists for.nv_pm_notifier()still only handlesPM_SUSPEND_PREPARE,PM_HIBERNATION_PREPARE,PM_POST_SUSPENDandPM_POST_HIBERNATION.Keeping the modules out of the initramfs (
MODULES=()) fixes it here too: on 620.73.04 and kernel 7.3.6, aftersystemctl hibernateand a power-on, the session is restored in the same boot, with nonv_pmopserrors.migbernsil commentedon Dec 1, 2026
Another data point: Ada laptop, 615.78.08, and
nv_pm_notifier()is still unchanged in 620.73.04.nvidia-open-dkms615.78.08, modules early-loaded from the initramfs (busybox mkinitcpio).PreserveVideoMemoryAllocations: 1,UseKernelSuspendNotifiers: 1,/proc/driver/nvidia/suspendabsent.Image successfully loaded, thennv_pmops_freeze returns -5andresume failed (-5), on every attempt.I compared
nv_pm_notifier()across tags 595.112.13, 610.57.04, 615.78.08, 620.70.06 and 620.73.04. None of them handlesPM_RESTORE_PREPAREorPM_POST_RESTORE.The workaround described above by michsob, unloading the modules before
resumeand only when the swap holds an image, works on this machine. I've proposed it to Omarchy (omacom/omarchy#21042). A driver-side fix would make it unnecessary. One way: onPM_RESTORE_PREPARE, letnv_pmops_freeze()quiesce without preserving video memory, since the boot kernel's GPU state is thrown away once the image is restored.