Hello Benjamin,

Thank you for your response and for taking the time to look into the
report.

I understand that, since the issue was reproduced on Linux Mint, it cannot
be investigated further through the Ubuntu kernel bug tracker. I will
report it to the Linux Mint team as suggested.

For completeness, I also tested the newly released kernel 7.0.0-31-generic
on the same machine, with the same NVIDIA 595.84 driver and the same
configuration. The hibernation/resume problem is now completely fixed.

My regression testing is therefore:

   -

   7.0.0-28-generic: hibernation/resume works correctly
   -

   7.0.0-30-generic: resume fails with nv_pmops_freeze [nvidia] returns -5
   -

   7.0.0-31-generic: hibernation/resume works correctly again, with the
   complete desktop session restored

This strongly suggests that the regression introduced in 7.0.0-30 was fixed
in 7.0.0-31.

Thank you again for your assistance and for pointing me toward the
appropriate channel for the Linux Mint-specific report.

Best regards,
Seghir

On Thu, 3 Sept 2026 at 19:25, Benjamin Wheeler <[email protected]>
wrote:

> Hello, thanks for the information. Unfortunately, since you are using
> Linux Mint, you will need to open a bug report with the Linux Mint team,
> or reproduce the issue on Ubuntu (https://ubuntu.com/download). I
> believe you can start here
> https://forums.linuxmint.com/viewforum.php?f=49
>
> Thank you and good luck!
>
> ** Changed in: linux (Ubuntu)
>        Status: Confirmed => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2165927
>
> Title:
>   Hibernation resume fails with nv_pmops_freeze returns -5 on kernel
>   7.0.0-30-generic (regression from 7.0.0-28-generic)
>
> Status in linux package in Ubuntu:
>   Invalid
>
> Bug description:
>   Ubuntu 26.04 LTS (Resolute Raccoon), kernel 7.0.0-30-generic (Ubuntu
>   7.0.0-30.30-generic / upstream 7.0.12) — running as Linux Mint 22.3.
>
>   System information:
>   - Distro: Linux Mint 22.3, based on Ubuntu 24.04 LTS (Noble Numbat),
> kernel 7.0.0-30-generic (Ubuntu 7.0.0-30.30~24.04.1-generic).
>   - Host: ASUS TUF Dash F15 FX517ZE (Optimus hybrid graphics)
>   - CPU: Intel 12th Gen i7-12650H
>   - GPU: NVIDIA GeForce RTX 3050 Ti Mobile + Intel Alder Lake-P UHD
> Graphics
>   - NVIDIA driver: 595.84 (Open Kernel Module)
>   - PRIME mode: on-demand
>   - Affected kernel: 7.0.0-30-generic (working: 7.0.0-28-generic, same
> driver)
>
>   Description:
>
>   Hibernation worked reliably until approximately three weeks ago. After
>   a kernel upgrade from 7.0.0-28-generic to 7.0.0-30-generic,
>   hibernation resume consistently fails.
>
>   The hibernation image is written successfully. On the next boot, the
>   kernel correctly detects and loads the saved image (100% progress,
>   "Image successfully loaded"), but immediately afterward the NVIDIA
>   driver fails to freeze the PCI device during the atomic restore step:
>
>   nvidia 0000:01:00.0: PM: pci_pm_freeze(): nv_pmops_freeze [nvidia]
> returns -5
>   nvidia 0000:01:00.0: PM: dpm_run_callback(): pci_pm_freeze 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)
>
>   The kernel then aborts the restore and boots fresh, discarding the
>   saved session entirely (all open applications are lost).
>
>   Steps to reproduce:
>   1. Open several applications (tested with ParaView, browser, terminal)
>   2. sudo systemctl hibernate
>   3. Power the machine back on
>   4. Observe: fresh boot instead of restored session; dmesg shows the
> error above
>
>   Regression testing performed:
>   - Kernel 7.0.0-28-generic + driver 595.84 -> hibernation/resume works
> perfectly, all windows restored
>   - Kernel 7.0.0-30-generic + driver 595.84 -> fails every time with the
> error above
>
>   Additional tests performed (none resolved the issue on kernel 30):
>   - NVreg_PreserveVideoMemoryAllocations=1 already set by default (via
> /lib/modprobe.d/nvidia-runtimepm.conf) -- no effect
>   - Disabling GPU firmware (NVreg_EnableGpuFirmware=0) -- no effect,
> identical error
>   - nvidia-hibernate.service, nvidia-resume.service,
> nvidia-suspend.service all confirmed enabled
>
>   Related bug (different symptom, same kernel/driver pair):
>   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2164816 --
> describes a hibernation write/poweroff failure on the same kernel
> 7.0.0-30-generic with a newer NVIDIA GPU (RTX 5060 Ti). My issue occurs
> during resume/restore instead, which may indicate a broader PM regression
> affecting the NVIDIA driver's PCI freeze/thaw callbacks introduced in this
> kernel version.
>
>   Full dmesg output attached showing the failure at the "nv_pmops_freeze"
> line.
>   ---
>   ProblemType: Bug
>   ApportVersion: 2.28.3-0ubuntu0.1
>   Architecture: amd64
>   AudioDevicesInUse:
>    USER        PID ACCESS COMMAND
>    /dev/snd/controlC2:  seghir     1566 F.... wireplumber
>    /dev/snd/controlC0:  seghir     1566 F.... wireplumber
>    /dev/snd/controlC1:  seghir     1566 F.... wireplumber
>    /dev/snd/seq:        seghir     1563 F.... pipewire
>   CRDA: N/A
>   CasperMD5CheckResult: unknown
>   CurrentDesktop: X-Cinnamon
>   DistroRelease: Linux Mint 22.3
>   HibernationDevice: RESUME=UUID=3413547b-d881-4439-990b-994ec8807450
>   MachineType: ASUSTeK COMPUTER INC. ASUS TUF Dash F15 FX517ZE_TUF517ZE
>   Package: linux (not installed)
>   ProcFB: 0 i915drmfb
>   ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-7.0.0-30-generic
> root=UUID=4b23724b-e789-4437-9b4e-ba97027762d7 ro quiet splash
> resume=UUID=3413547b-d881-4439-990b-994ec8807450
>   ProcVersionSignature: Ubuntu 7.0.0-30.30~24.04.1-generic 7.0.12
>   PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No
> PulseAudio daemon running, or not running as session daemon.
>   RelatedPackageVersions:
>    linux-restricted-modules-7.0.0-30-generic N/A
>    linux-backports-modules-7.0.0-30-generic  N/A
>    linux-firmware
> 20240318.git3b128b60-0ubuntu2.29
>   Tags: zena
>   Uname: Linux 7.0.0-30-generic x86_64
>   UpgradeStatus: No upgrade log present (probably fresh install)
>   UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo users
>   _MarkForUpload: True
>   dmi.bios.date: 12/15/2023
>   dmi.bios.release: 5.26
>   dmi.bios.vendor: American Megatrends International, LLC.
>   dmi.bios.version: FX517ZE.319
>   dmi.board.asset.tag: ATN12345678901234567
>   dmi.board.name: FX517ZE
>   dmi.board.vendor: ASUSTeK COMPUTER INC.
>   dmi.board.version: 1.0
>   dmi.chassis.asset.tag: No Asset Tag
>   dmi.chassis.type: 10
>   dmi.chassis.vendor: ASUSTeK COMPUTER INC.
>   dmi.chassis.version: 1.0
>   dmi.ec.firmware.release: 3.10
>   dmi.modalias:
> dmi:bvnAmericanMegatrendsInternational,LLC.:bvrFX517ZE.319:bd12/15/2023:br5.26:efr3.10:svnASUSTeKCOMPUTERINC.:pnASUSTUFDashF15FX517ZE_TUF517ZE:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnFX517ZE:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:sku:pfaASUSTUFDashF15:
>   dmi.product.family: ASUS TUF Dash F15
>   dmi.product.name: ASUS TUF Dash F15 FX517ZE_TUF517ZE
>   dmi.product.version: 1.0
>   dmi.sys.vendor: ASUSTeK COMPUTER INC.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2165927/+subscriptions
>
>

-- 
Abdelghani SEGHIR
*Research Laboratory of Applied Hydraulics and Environment (LRHAE), *
*University of Bejaia, Algeria *
blogue : a-seghir.blogspot.com/
tel : +213 667 98 47 08

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2165927

Title:
  Hibernation resume fails with nv_pmops_freeze returns -5 on kernel
  7.0.0-30-generic (regression from 7.0.0-28-generic)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2165927/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to