You are not logged in.
Pages: 1
This issue has been going on for a few days now. When I try to put the system to sleep, the screen turns black, tries to suspend it, fails, then tries for the second time, fails again, and it shows the lock screen. Closing the lid generates the same behavior. I had an issue where my laptop wouldn't wake up from a suspended state (when it's not on charger) and I tried to solve it many different ways and didn't succeed, so some changes from that could be what's causing this, but I'm not exactly sure what alternations I made. I have dedicated NVidia graphic card.
journalctl -b -u systemd-suspend.service
Oct 29 17:59:48 qu4lizz systemd[1]: Starting System Suspend...
Oct 29 17:59:48 qu4lizz systemd-sleep[4904]: Entering sleep state 'suspend'...
Oct 29 17:59:54 qu4lizz systemd-sleep[4904]: Failed to put system to sleep. System resumed again: Input/output error
Oct 29 17:59:54 qu4lizz systemd[1]: systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE
Oct 29 17:59:54 qu4lizz systemd[1]: systemd-suspend.service: Failed with result 'exit-code'.
Oct 29 17:59:54 qu4lizz systemd[1]: Failed to start System Suspend.
If any other output could help, I will be glad to post it.
Last edited by qu4lizz (2022-10-29 21:29:45)
Offline
Welcome to the forums.
Please post a complete journal with the --no-pager option and with sudo if necessary. See https://wiki.archlinux.org/title/List_o … n_services for ways to post it without having to copy-paste.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Offline
Oct 29 17:36:47 qu4lizz kernel: NVRM: GPU 0000:01: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.
Oct 29 17:36:47 qu4lizz kernel: PM: pci_pm_suspend(): nv_pmops_suspend+0x0/0x20 [nvidia] returns -5
Oct 29 17:36:47 qu4lizz kernel: PM: dpm_run_callback(): pci_pm_suspend+0x0/0x160 returns -5
Oct 29 17:36:47 qu4lizz kernel: nvidia 0000:01:00.0: PM: failed to suspend async: error -5
Offline
[EDIT: too slow.]
You may have conflicting things trying to suspend the system:
Oct 29 17:22:35 qu4lizz org_kde_powerdevil[4856]: org.kde.powerdevil: Failed to start suspend job "org.freedesktop.login1.OperationInProgress" "There's already a shutdown or sleep operation in progress"
However, the main problem seems to be [what seth said].
Last edited by cfr (2022-10-29 20:40:01)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
This helped. Basically what I did is followed this part:
The NVIDIA systemd services then need to be enabled:
sudo systemctl enable nvidia-suspend.service
sudo systemctl enable nvidia-hibernate.service
sudo systemctl enable nvidia-resume.service
Thanks to both of you!
Offline
Pages: 1