Suspend doesn't work

As the title suggests, suspend to ram doesn’t work, no matter what I’ve tried.

So far, I’ve tried:

  1. Switching/Deleting Kernels
  2. Enabling Virtualization since I was getting kvm errors in journalctl
  3. Suspeing from the command line instead of the GUI

The expected behaviour when suspending the system is for it to actually sleep, then wake up on key press. Instead, the screen goes black then the case leds keep flashing on and off. However, nothing happens on key press. The computer required manual reset using the power button in order to boot normally.

Any suggestions?

journalctl --no-pager --no-hostname -b-1 -p3

Summary

– Journal begins at Sun 2021-03-21 02:33:08 EET, ends at Thu 2021-04-15 11:39:33 EEST. –
Apr 15 11:14:56 kernel: ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.SPT4._GTF.DSSP], AE_NOT_FOUND (20190816/psargs-330)
Apr 15 11:14:56 kernel: ACPI Error: Aborting method _SB.PCI0.SAT0.SPT4._GTF due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
Apr 15 11:14:56 kernel: ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.SPT4._GTF.DSSP], AE_NOT_FOUND (20190816/psargs-330)
Apr 15 11:14:56 kernel: ACPI Error: Aborting method _SB.PCI0.SAT0.SPT4._GTF due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
Apr 15 11:14:56 kernel: ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.SPT5._GTF.DSSP], AE_NOT_FOUND (20190816/psargs-330)
Apr 15 11:14:56 kernel: ACPI Error: Aborting method _SB.PCI0.SAT0.SPT5._GTF due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
Apr 15 11:14:56 kernel: ACPI BIOS Error (bug): Could not resolve symbol [_SB.PCI0.SAT0.SPT5._GTF.DSSP], AE_NOT_FOUND (20190816/psargs-330)
Apr 15 11:14:56 kernel: ACPI Error: Aborting method _SB.PCI0.SAT0.SPT5._GTF due to previous error (AE_NOT_FOUND) (20190816/psparse-529)
Apr 15 11:14:57 kernel: proc: Bad value for ‘hidepid’
Apr 15 11:14:57 kernel: proc: Bad value for ‘hidepid’
Apr 15 11:14:57 kernel: proc: Bad value for ‘hidepid’
Apr 15 11:14:58 bluetoothd[750]: src/adapter.c:reset_adv_monitors_complete() Failed to reset Adv Monitors: Unknown Command (0x01)
Apr 15 11:15:03 nmbd[819]: [2021/04/15 11:15:03.985292, 0] …/…/lib/util/become_daemon.c:147(daemon_status)
Apr 15 11:15:03 nmbd[819]: daemon_status: daemon ‘nmbd’ : No local IPv4 non-loopback interfaces available, waiting for interface …
Apr 15 11:15:03 nmbd[819]: [2021/04/15 11:15:03.985614, 0] …/…/source3/nmbd/nmbd_subnetdb.c:253(create_subnets)
Apr 15 11:15:03 nmbd[819]: NOTE: NetBIOS name resolution is not supported for Internet Protocol Version 6 (IPv6).
Apr 15 11:15:08 nmbd[819]: [2021/04/15 11:15:08.986808, 0] …/…/lib/util/become_daemon.c:135(daemon_ready)
Apr 15 11:15:08 nmbd[819]: daemon_ready: daemon ‘nmbd’ finished starting up and ready to serve connections
Apr 15 11:15:09 smbd[980]: [2021/04/15 11:15:09.084415, 0] …/…/lib/util/become_daemon.c:135(daemon_ready)
Apr 15 11:15:09 smbd[980]: daemon_ready: daemon ‘smbd’ finished starting up and ready to serve connections
Apr 15 11:15:24 kwin_x11[1183]: kwin_core: Compositing is not possible
Apr 15 11:15:25 pulseaudio[1299]: Module “module-switch-on-connect” should be loaded once at most. Refusing to load.
Apr 15 11:15:31 nmbd[819]: [2021/04/15 11:15:31.017413, 0] …/…/source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
Apr 15 11:15:31 nmbd[819]: *****
Apr 15 11:15:31 nmbd[819]:
Apr 15 11:15:31 nmbd[819]: Samba name server MANJARO-DESKTOP is now a local master browser for workgroup WORKGROUP on subnet 172.17.0.1
Apr 15 11:15:31 nmbd[819]:
Apr 15 11:15:31 nmbd[819]: *****
Apr 15 11:15:31 kernel: proc: Bad value for ‘hidepid’
Apr 15 11:15:31 nmbd[819]: [2021/04/15 11:15:31.203503, 0] …/…/source3/nmbd/nmbd_incomingdgrams.c:303(process_local_master_announce)
Apr 15 11:15:31 nmbd[819]: process_local_master_announce: Server RASPBERRYPI at IP 192.168.1.101 is announcing itself as a local master browser for workgroup WORKGROUP and we think we are master. Forcing election.
Apr 15 11:15:31 nmbd[819]: [2021/04/15 11:15:31.203594, 0] …/…/source3/nmbd/nmbd_become_lmb.c:151(unbecome_local_master_success)
Apr 15 11:15:31 nmbd[819]: *****
Apr 15 11:15:31 nmbd[819]:
Apr 15 11:15:31 nmbd[819]: Samba name server MANJARO-DESKTOP has stopped being a local master browser for workgroup WORKGROUP on subnet 172.17.0.1
Apr 15 11:15:31 nmbd[819]:
Apr 15 11:15:31 nmbd[819]: *****
Apr 15 11:15:49 nmbd[819]: [2021/04/15 11:15:49.220438, 0] …/…/source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2)
Apr 15 11:15:49 nmbd[819]: *****
Apr 15 11:15:49 nmbd[819]:
Apr 15 11:15:49 nmbd[819]: Samba name server MANJARO-DESKTOP is now a local master browser for workgroup WORKGROUP on subnet 172.17.0.1
Apr 15 11:15:49 nmbd[819]:
Apr 15 11:15:49 nmbd[819]: *****
Apr 15 11:20:23 nmbd[819]: [2021/04/15 11:20:23.459126, 0] …/…/source3/nmbd/nmbd_namequery.c:109(query_name_response)
Apr 15 11:20:23 nmbd[819]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.102 for name WORKGROUP<1d>.
Apr 15 11:20:23 nmbd[819]: This response was from IP 192.168.1.101, reporting an IP address of 192.168.1.101.
Apr 15 11:25:25 nmbd[819]: [2021/04/15 11:25:25.720392, 0] …/…/source3/nmbd/nmbd_namequery.c:109(query_name_response)
Apr 15 11:25:25 nmbd[819]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.102 for name WORKGROUP<1d>.
Apr 15 11:25:25 nmbd[819]: This response was from IP 192.168.1.101, reporting an IP address of 192.168.1.101.
Apr 15 11:30:34 nmbd[819]: [2021/04/15 11:30:34.025274, 0] …/…/source3/nmbd/nmbd_namequery.c:109(query_name_response)
Apr 15 11:30:34 nmbd[819]: query_name_response: Multiple (2) responses received for a query on subnet 192.168.1.102 for name WORKGROUP<1d>.
Apr 15 11:30:34 nmbd[819]: This response was from IP 192.168.1.101, reporting an IP address of 192.168.1.101.
Apr 15 11:31:23 nmbd[819]: [2021/04/15 11:31:23.142262, 0] …/…/source3/nmbd/nmbd.c:60(terminate)
Apr 15 11:31:23 nmbd[819]: Got SIGTERM: going down…
Apr 15 11:31:23 nmbd[819]: [2021/04/15 11:31:23.142390, 0] …/…/source3/libsmb/nmblib.c:923(send_udp)
Apr 15 11:31:23 nmbd[819]: Packet send failed to 192.168.1.255(138) ERRNO=Network is unreachable
Apr 15 11:31:23 systemd[1101]: Failed to start KDE Global Shortcuts Server.
Apr 15 11:31:23 pulseaudio[9412]: Module “module-switch-on-connect” should be loaded once at most. Refusing to load.
Apr 15 11:31:23 pulseaudio[9412]: GetManagedObjects() failed: org.freedesktop.systemd1.ShuttingDown: Refusing activation, D-Bus is shutting down.
Apr 15 11:31:23 systemd-coredump[9571]: Failed to connect to coredump service: Connection refused
Apr 15 11:31:23 systemd[1101]: Failed to start KDE Global Shortcuts Server.
Apr 15 11:31:24 systemd-coredump[9574]: Failed to connect to coredump service: Connection refused
Apr 15 11:31:24 kernel: watchdog: watchdog0: watchdog did not stop!

Posting pastebin link, since inxi -Fazy output is being detected as a link and I can’t post it directly.

Which command you used, there are several possibilities:

systemctl hibernate
systemctl suspend
systemctl suspend-then-hibernate
systemctl hybrid-sleep

Main question, where you suspend your system?

  • to swap (usually called hibernation) – you need more swap (equal or more than RAM) and make some preparations
  • to ram (usually called suspend) – that should work, but in some cases there may be problem with black screen, which is also possible with hibernation → see this solution
  • to both – see all above

Hey there, I used systemctl suspend (to ram). Hibernation seems to work fine since the system responded as expected when I used hybrid suspend. However, when suspend kicked in, I encountered the same issue.

cat system.conf | grep RuntimeWatchdogSec
#RuntimeWatchdogSec=0

I’ll try setting amdgpu in /etc/mkinitcpio.conf modules and let you know how it plays out. To be honest, I am not really sure if it is the correct value since amdgpu is nowhere to be found in mhwd -l -d.

edit:
I got the following errors while trying to regenerate initramfs

Summary

==> Creating gzip-compressed initcpio image: /boot/initramfs-5.11-x86_64.img
bsdtar: Failed to set default locale
bsdtar: Failed to set default locale

==> Creating gzip-compressed initcpio image: /boot/initramfs-5.11-x86_64-fallback.img
bsdtar: Failed to set default locale
bsdtar: Failed to set default locale

==>Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64.img
bsdtar: Failed to set default locale
bsdtar: Failed to set default locale

==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64-fallback.img
bsdtar: Failed to set default locale
bsdtar: Failed to set default locale

edit: Managed to solve this one by manually setting my locales in locale-gen. One of the locales infound in the locale output was commented out. Editing the file appropriately, regenerating locales and running sudo mkinitcpio -P solved the bsdtar: Failed to set default locale error.

There was no change apart from my terminal changing to another language, so I am going to revert that one.

Also, tried editing /etc/systemd/sleep.conf since I found out that suspend was commented out there, but that didn’t seem to help.

It looks like, my system has no problem suspending. It just doesn’t get out of the suspend state.

edit:
Found a workaround. Editing sleep.conf “SuspendState=” to only include freeze seems to work. I was suspicious that my system was not accepting input while on suspend, but that doesn’t seem to be the case.

Any clue as to why SuspendState=mem is failing?

Bump. Bump