You are not logged in.

#1 2025-06-13 00:47:07

ganrob
Member
Registered: 2024-12-25
Posts: 25

[SOLVED]suspend-then-hibernate not working, but hibernate works well

I have the problem in the other my pc with suspend then hibernate service. Now when I'm starting only hibernate or suspend it works well but suspend-then-hibernate not. Please look at my logs.

https://pastebin.com/uUvm6ETK


ystemctl status systemd-suspend-then-hibernate.service
× systemd-suspend-then-hibernate.service - System Suspend then Hibernate
     Loaded: loaded (/usr/lib/systemd/system/systemd-suspend-then-hibernate.service; static)
    Drop-In: /usr/lib/systemd/system/systemd-suspend-then-hibernate.service.d
             └─10-nvidia-fix-freeze-session.conf
     Active: failed (Result: exit-code) since Fri 2025-06-13 00:48:30 UTC; 11s ago
 Invocation: 96b7ea1608d1465ea6bf171383d25446
       Docs: man:systemd-suspend-then-hibernate.service(8)
    Process: 4269 ExecStart=/usr/lib/systemd/systemd-sleep suspend-then-hibernate (code=exited, status=1/FAILURE)
   Main PID: 4269 (code=exited, status=1/FAILURE)
   Mem peak: 2.4M
        CPU: 79ms

июн 13 00:48:26 workstation systemd[1]: Starting System Suspend then Hibernate...
июн 13 00:48:26 workstation systemd-sleep[4269]: Successfully froze unit 'user.slice'.
июн 13 00:48:26 workstation systemd-sleep[4269]: Performing sleep operation 'suspend'...
июн 13 00:48:30 workstation systemd-sleep[4269]: Failed to put system to sleep. System resumed again: Input/output error
июн 13 00:48:30 workstation systemd-sleep[4269]: Successfully thawed unit 'user.slice'.
июн 13 00:48:30 workstation systemd[1]: systemd-suspend-then-hibernate.service: Main process exited, code=exited, status=1/FAILURE
июн 13 00:48:30 workstation systemd[1]: systemd-suspend-then-hibernate.service: Failed with result 'exit-code'.
июн 13 00:48:30 workstation systemd[1]: Failed to start System Suspend then Hibernate.

Last edited by ganrob (2025-06-14 16:38:54)

Offline

#2 2025-06-13 06:43:39

seth
Member
Registered: 2012-09-03
Posts: 65,281

Re: [SOLVED]suspend-then-hibernate not working, but hibernate works well

июн 13 00:48:28 workstation kernel: NVRM: GPU 0000:68: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.
июн 13 00:48:28 workstation kernel: nvidia 0000:68:00.0: PM: pci_pm_suspend(): nv_pmops_suspend [nvidia] returns -5
июн 13 00:48:28 workstation kernel: nvidia 0000:68:00.0: PM: dpm_run_callback(): pci_pm_suspend returns -5
июн 13 00:48:28 workstation kernel: nvidia 0000:68:00.0: PM: failed to suspend async: error -5
июн 13 00:48:28 workstation kernel: PM: Some devices failed to suspend, or early wake event detected

июн 13 00:38:47 workstation suspend[2304]: nvidia-suspend.service
июн 13 00:38:47 workstation logger[2304]: <13>Jun 13 00:38:47 suspend: nvidia-suspend.service
июн 13 00:38:48 workstation systemd[1]: nvidia-suspend.service: Deactivated successfully.
июн 13 00:38:48 workstation systemd[1]: nvidia-suspend.service: Consumed 477ms CPU time, 452.5M memory peak.
июн 13 00:39:08 workstation suspend[2516]: nvidia-resume.service
июн 13 00:39:08 workstation logger[2516]: <13>Jun 13 00:39:08 suspend: nvidia-resume.service
июн 13 00:39:08 workstation systemd[1]: nvidia-resume.service: Deactivated successfully.
июн 13 00:48:30 workstation suspend[4364]: nvidia-resume.service
июн 13 00:48:30 workstation logger[4364]: <13>Jun 13 00:48:30 suspend: nvidia-resume.service
июн 13 00:48:30 workstation systemd[1]: nvidia-resume.service: Deactivated successfully.
июн 13 00:50:24 workstation suspend[4691]: nvidia-resume.service
июн 13 00:50:24 workstation logger[4691]: <13>Jun 13 00:50:24 suspend: nvidia-resume.service
июн 13 00:50:24 workstation systemd[1]: nvidia-resume.service: Deactivated successfully.
systemctl status nvidia-hibernate.service

Offline

#3 2025-06-13 07:02:24

ganrob
Member
Registered: 2024-12-25
Posts: 25

Re: [SOLVED]suspend-then-hibernate not working, but hibernate works well

seth wrote:

июн 13 00:48:28 workstation kernel: NVRM: GPU 0000:68: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.
июн 13 00:48:28 workstation kernel: nvidia 0000:68:00.0: PM: pci_pm_suspend(): nv_pmops_suspend [nvidia] returns -5
июн 13 00:48:28 workstation kernel: nvidia 0000:68:00.0: PM: dpm_run_callback(): pci_pm_suspend returns -5
июн 13 00:48:28 workstation kernel: nvidia 0000:68:00.0: PM: failed to suspend async: error -5
июн 13 00:48:28 workstation kernel: PM: Some devices failed to suspend, or early wake event detected

июн 13 00:38:47 workstation suspend[2304]: nvidia-suspend.service
июн 13 00:38:47 workstation logger[2304]: <13>Jun 13 00:38:47 suspend: nvidia-suspend.service
июн 13 00:38:48 workstation systemd[1]: nvidia-suspend.service: Deactivated successfully.
июн 13 00:38:48 workstation systemd[1]: nvidia-suspend.service: Consumed 477ms CPU time, 452.5M memory peak.
июн 13 00:39:08 workstation suspend[2516]: nvidia-resume.service
июн 13 00:39:08 workstation logger[2516]: <13>Jun 13 00:39:08 suspend: nvidia-resume.service
июн 13 00:39:08 workstation systemd[1]: nvidia-resume.service: Deactivated successfully.
июн 13 00:48:30 workstation suspend[4364]: nvidia-resume.service
июн 13 00:48:30 workstation logger[4364]: <13>Jun 13 00:48:30 suspend: nvidia-resume.service
июн 13 00:48:30 workstation systemd[1]: nvidia-resume.service: Deactivated successfully.
июн 13 00:50:24 workstation suspend[4691]: nvidia-resume.service
июн 13 00:50:24 workstation logger[4691]: <13>Jun 13 00:50:24 suspend: nvidia-resume.service
июн 13 00:50:24 workstation systemd[1]: nvidia-resume.service: Deactivated successfully.
systemctl status nvidia-hibernate.service
systemctl status nvidia-hibernate.service
○ nvidia-hibernate.service - NVIDIA system hibernate actions
     Loaded: loaded (/usr/lib/systemd/system/nvidia-hibernate.service; enabled; preset: disabled)
     Active: inactive (dead) since Fri 2025-06-13 01:01:21 UTC; 5h 58min ago
 Invocation: e01b692cbba84a6ab4f0bd25a1b750d3
   Main PID: 9512 (code=exited, status=0/SUCCESS)
   Mem peak: 1G
        CPU: 975ms

июн 13 01:01:20 workstation systemd[1]: Starting NVIDIA system hibernate actions...
июн 13 01:01:20 workstation hibernate[9510]: nvidia-hibernate.service
июн 13 01:01:20 workstation logger[9510]: <13>Jun 13 01:01:20 hibernate: nvidia-hibernate.service
июн 13 01:01:21 workstation systemd[1]: nvidia-hibernate.service: Deactivated successfully.
июн 13 01:01:21 workstation systemd[1]: Finished NVIDIA system hibernate actions.
июн 13 01:01:21 workstation systemd[1]: nvidia-hibernate.service: Consumed 975ms CPU time, 1G memory peak.

Offline

#4 2025-06-13 07:10:15

seth
Member
Registered: 2012-09-03
Posts: 65,281

Re: [SOLVED]suspend-then-hibernate not working, but hibernate works well

Ah, nvidia has a whole slew of those

usr/lib/systemd/system/nvidia-hibernate.service
usr/lib/systemd/system/nvidia-resume.service
usr/lib/systemd/system/nvidia-suspend-then-hibernate.service
usr/lib/systemd/system/nvidia-suspend.service

I suspect

systemctl status nvidia-suspend-then-hibernate.service

is the critical one here wink

Offline

#5 2025-06-14 16:38:04

ganrob
Member
Registered: 2024-12-25
Posts: 25

Re: [SOLVED]suspend-then-hibernate not working, but hibernate works well

seth wrote:

Ah, nvidia has a whole slew of those

usr/lib/systemd/system/nvidia-hibernate.service
usr/lib/systemd/system/nvidia-resume.service
usr/lib/systemd/system/nvidia-suspend-then-hibernate.service
usr/lib/systemd/system/nvidia-suspend.service

I suspect

systemctl status nvidia-suspend-then-hibernate.service

is the critical one here wink

Oh, that's it! Thanks again!

Offline

Board footer

Powered by FluxBB