Skip to content

580.76.05 / 580.82.07 - Suspend & Hibernate Fails on Nvidia / Intel Hybrid Laptop #922

@sk0rabu

Description

@sk0rabu

NVIDIA Open GPU Kernel Modules Version

580.76.05 / 580.82.07

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.

  • I confirm that this does not happen with the proprietary driver package.

Operating System and Version

Arch Linux

Kernel Release

6.16.4-arch1-1

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.

  • I am running on a stable kernel release.

Hardware: GPU

NVIDIA GeForce RTX 5000 Laptop GPU

Describe the bug

Recently decided to do a fresh install (Linux + Wayland) and stick with hybrid mode (dGPU mode has been okay for me), but couldn't get suspend / hibernate right. Suspend = wakes itself up in ~15 seconds. Hibernate = straight fail on reboot.

Log entries pertaining to suspend

Sep 02 23:55:03 ericarch systemd[1]: Finished NVIDIA system suspend actions.
Sep 02 23:55:03 ericarch systemd[1]: nvidia-suspend.service: Consumed 1.015s CPU time, 261.8M memory peak.
Sep 02 23:55:03 ericarch systemd[1]: Starting System Suspend...
Sep 02 23:55:03 ericarch systemd-sleep[1468]: User sess
ions remain unfrozen on explicit request ($SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=0).
Sep 02 23:55:03 ericarch systemd-sleep[1468]: This is not recommended, and might result in unexpected behavior, particularly
Sep 02 23:55:03 ericarch systemd-sleep[1468]: in suspend-then-hibernate operations or setups with encrypted home directories.
Sep 02 23:55:03 ericarch systemd-sleep[1468]: Performing sleep operation 'suspend'...
Sep 02 23:55:03 ericarch kernel: PM: suspend entry (s2idle)
Sep 02 23:55:03 ericarch kernel: Filesystems sync: 0.070 seconds

...

Sep 02 23:55:20 ericarch kernel: Freezing user space processes
Sep 02 23:55:20 ericarch kernel: Freezing user space processes completed (elapsed 0.001 seconds)
Sep 02 23:55:20 ericarch kernel: OOM killer disabled.
Sep 02 23:55:20 ericarch kernel: Freezing remaining freezable tasks
Sep 02 23:55:20 ericarch kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
Sep 02 23:55:20 ericarch kernel: printk: Suspending console(s) (use no_console_
suspend to debug)
Sep 02 23:55:20 ericarch kernel: ACPI: EC: interrupt blocked
Sep 02 23:55:20 ericarch kernel: ACPI: EC: interrupt unblocked
Sep 02 23:55:20 ericarch kernel: nvidia 0000:02:00.0: Enabling HDA controller
Sep 02 23:55:20 ericarch kernel: pci 0000:00:08.0: Setting to D3hot
Sep 02 23:55:20 ericarch kernel: spd5118 5-0051: Failed to write b = 0: -6
Sep 02 23:55:20 ericarch kernel: spd5118 5-0051: PM: dpm_run_callback(): spd5118_resume [spd5118] returns -6
Sep 02 23:55:20 ericarch kernel: spd5118 5-0051: PM: failed to resume async: error -6
Sep 02 23:55:20 ericarch kernel: spd5118 5-0053: Failed to write b = 0: -6
Sep 02 23:55:20 ericarch kernel: spd5118 5-0053: PM: dpm_run_callback(): spd5118_resume [spd5118] returns -6
Sep 02 23:55:20 ericarch kernel: spd5118 5-0053: PM: failed to resume async: error -6

Log entries pertaining to hibernate

Sep 02 23:55:54 ericarch systemd[1]: Finished NVIDIA system hibernate actions.
Sep 02 23:55:54 ericarch systemd[1]: nvidia-hibernate.service: Consumed 998ms CPU time, 262.3M memory peak.
Sep 02 23:55:54 ericarch systemd[1]: Starting System Hibernate...
Sep 02 23:55:54 ericarch systemd-sleep[2964]: User sessions remain unfrozen on explicit request ($SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=0).
Sep 02 23:55:54 ericarch systemd-sleep[2964]: This is not recommended, and might result in unexpected behavior, particularly
Sep 02 23:55:54 ericarch systemd-sleep[2964]: in suspend-then-hibernate operations or setups with encrypted home directories.
Sep 02 23:55:54 ericarch systemd-sleep[2964]: Performing sleep operation 'hibernate'...
Sep 02 23:55:54 ericarch kernel: PM: hibernation: hibernation entry

...

Sep 02 23:56:44 archlinux kernel: NVRM: GPU 0000:02:00.0: PreserveVideoMemoryAllocations module parameter is set. System Power Management attempted without driver procfs suspend interface. Please refer to the 'Configuring Power Management Support' section in the driver README.
Sep 02 23:56:44 archlinux kernel: nvidia 0000:02:00.0: PM: pci_pm_freeze(): nv_pmops_freeze [nvidia] returns -5
Sep 02 23:56:44 archlinux kernel: nvidia 0000:02:00.0: PM: dpm_run_callback(): pci_pm_freeze returns -5
Sep 02 23:56:44 archlinux kernel: nvidia 0000:02:00.0: PM: failed to quiesce async: error -5
Sep 02 23:56:44 archlinux kernel: PM: hibernation: Failed to load image, recovering.
Sep 02 23:56:44 archlinux kernel: PM: hibernation: Basic memory bitmaps freed
Sep 02 23:56:44 archlinux kernel: OOM killer enabled.
Sep 02 23:56:44 archlinux kernel: Restarting tasks: Starting
Sep 02 23:56:44 archlinux kernel: Restarting tasks: Done
Sep 02 23:56:44 archlinux kernel: PM: hibernation: resume failed (-5)

mkinitcpio.conf

MODULES=(btrfs nvidia nvidia_modeset nvidia_uvm nvidia_drm)

bootloader entries

options root=xxx zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs nvidia-drm.modeset=1 nvidia-drm.fbdev=1 resume=xxx

modprobe conf (dunno if it makes any difference)

options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_TemporaryFilePath=/var/tmp
options nvidia NVreg_EnableGpuFirmware=0

Thank you very much in advance.

To Reproduce

  • Switch laptop to hybrid graphics mode
  • Suspend / hibernate

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

Processor / iGPU: Intel Arrow Lake 285HX

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions