System immediately wakes from Suspend/Hibernation/Shut down

Hey, I’m encountering a really strange issue with my pc that somehow gets even worse every day. Initially the system was not able to properly suspend, waking up immediately. In the following days this behavior also appeared when attempting to hibernate, or even when shutting down the pc. I am not sure what’s causing it, although I suspect it may be a hardware issue. If anyone has ever encountered this before, or know some kind of workaround that would be great.

The issue is not coming from usb devices, as I’ve tried to disconnect basically all of them exempt the keyboard to make sure it was one of them causing it and did the same with the mouse. Everything else I’ve seen online has been pointing towards /proc/acpi/wakeup, including the arch wiki. While disabling specific devices at first seemed to resolve the problem, now even with every single device disabled in wakeup the pc still wakes up immediately. I’ve also tried switching kernels although the results are the same.

I’ve taken a look at journald output, and have gotten this, although I’m not sure what to make of it:

Αυγ 01 16:54:32 nik-pc systemd-logind[603]: The system will suspend now!
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.8208] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.8209] device (enp5s0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Αυγ 01 16:54:32 nik-pc polkitd[621]: Unregistered Authentication Agent for unix-process:2819:16773 (system bus name :1.78, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.8288] device (p2p-dev-wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.8289] manager: NetworkManager state is now ASLEEP
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.8290] device (wlan0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
Αυγ 01 16:54:32 nik-pc dbus-daemon[600]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.7' (uid=0 pid=638 comm="/usr/bin/NetworkManager --no-daemon")
Αυγ 01 16:54:32 nik-pc systemd[1]: Starting Network Manager Script Dispatcher Service...
Αυγ 01 16:54:32 nik-pc dbus-daemon[600]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Αυγ 01 16:54:32 nik-pc systemd[1]: Started Network Manager Script Dispatcher Service.
Αυγ 01 16:54:32 nik-pc kernel: wlan0: deauthenticating from c0:9f:51:6c:08:15 by local choice (Reason: 3=DEAUTH_LEAVING)
Αυγ 01 16:54:32 nik-pc budgie-panel[1471]: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed
Αυγ 01 16:54:32 nik-pc gsd-media-keys[1070]: Unable to get default sink
Αυγ 01 16:54:32 nik-pc budgie-panel[1471]: invalid (NULL) pointer instance
Αυγ 01 16:54:32 nik-pc budgie-panel[1471]: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Αυγ 01 16:54:32 nik-pc budgie-panel[1471]: gvc_mixer_stream_get_volume: assertion 'GVC_IS_MIXER_STREAM (stream)' failed
Αυγ 01 16:54:32 nik-pc budgie-panel[1471]: gvc_mixer_stream_get_is_muted: assertion 'GVC_IS_MIXER_STREAM (stream)' failed
Αυγ 01 16:54:32 nik-pc gsd-media-keys[1070]: Unable to get default sink
Αυγ 01 16:54:32 nik-pc budgie-panel[1471]: invalid (NULL) pointer instance
Αυγ 01 16:54:32 nik-pc budgie-panel[1471]: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Αυγ 01 16:54:32 nik-pc budgie-panel[1471]: gvc_mixer_stream_get_volume: assertion 'GVC_IS_MIXER_STREAM (stream)' failed
Αυγ 01 16:54:32 nik-pc budgie-panel[1471]: gvc_mixer_stream_get_is_muted: assertion 'GVC_IS_MIXER_STREAM (stream)' failed
Αυγ 01 16:54:32 nik-pc gsd-media-keys[1070]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
Αυγ 01 16:54:32 nik-pc wpa_supplicant[737]: wlan0: CTRL-EVENT-DISCONNECTED bssid=c0:9f:51:6c:08:15 reason=3 locally_generated=1
Αυγ 01 16:54:32 nik-pc wpa_supplicant[737]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Αυγ 01 16:54:32 nik-pc wpa_supplicant[737]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.9505] device (wlan0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
Αυγ 01 16:54:32 nik-pc avahi-daemon[599]: Withdrawing address record for 2a02:587:4b03:f800:c5e1:a140:7909:b121 on wlan0.
Αυγ 01 16:54:32 nik-pc avahi-daemon[599]: Leaving mDNS multicast group on interface wlan0.IPv6 with address 2a02:587:4b03:f800:c5e1:a140:7909:b121.
Αυγ 01 16:54:32 nik-pc avahi-daemon[599]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::e952:dd74:9162:8278.
Αυγ 01 16:54:32 nik-pc avahi-daemon[599]: Registering new address record for fe80::e952:dd74:9162:8278 on wlan0.*.
Αυγ 01 16:54:32 nik-pc avahi-daemon[599]: Withdrawing address record for fe80::e952:dd74:9162:8278 on wlan0.
Αυγ 01 16:54:32 nik-pc avahi-daemon[599]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::e952:dd74:9162:8278.
Αυγ 01 16:54:32 nik-pc avahi-daemon[599]: Interface wlan0.IPv6 no longer relevant for mDNS.
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.9572] dhcp4 (wlan0): canceled DHCP transaction
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.9573] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.9573] dhcp4 (wlan0): state changed no lease
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.9573] dhcp6 (wlan0): canceled DHCP transaction
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.9573] dhcp6 (wlan0): activation: beginning transaction (timeout in 45 seconds)
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.9573] dhcp6 (wlan0): state changed no lease
Αυγ 01 16:54:32 nik-pc avahi-daemon[599]: Interface wlan0.IPv4 no longer relevant for mDNS.
Αυγ 01 16:54:32 nik-pc avahi-daemon[599]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.162.
Αυγ 01 16:54:32 nik-pc avahi-daemon[599]: Withdrawing address record for 192.168.1.162 on wlan0.
Αυγ 01 16:54:32 nik-pc NetworkManager[638]: <info>  [1690898072.9756] device (wlan0): set-hw-addr: set MAC address to CE:22:0A:6E:4D:ED (scanning)
Αυγ 01 16:54:33 nik-pc budgie-panel[1471]: g_object_get_data: assertion 'G_IS_OBJECT (object)' failed
Αυγ 01 16:54:33 nik-pc gsd-media-keys[1070]: Unable to get default sink
Αυγ 01 16:54:33 nik-pc budgie-panel[1471]: invalid (NULL) pointer instance
Αυγ 01 16:54:33 nik-pc budgie-panel[1471]: g_signal_connect_object: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Αυγ 01 16:54:33 nik-pc budgie-panel[1471]: gvc_mixer_stream_get_volume: assertion 'GVC_IS_MIXER_STREAM (stream)' failed
Αυγ 01 16:54:33 nik-pc budgie-panel[1471]: gvc_mixer_stream_get_is_muted: assertion 'GVC_IS_MIXER_STREAM (stream)' failed
Αυγ 01 16:54:33 nik-pc avahi-daemon[599]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.162.
Αυγ 01 16:54:33 nik-pc avahi-daemon[599]: New relevant interface wlan0.IPv4 for mDNS.
Αυγ 01 16:54:33 nik-pc avahi-daemon[599]: Registering new address record for 192.168.1.162 on wlan0.IPv4.
Αυγ 01 16:54:33 nik-pc avahi-daemon[599]: Withdrawing address record for 192.168.1.162 on wlan0.
Αυγ 01 16:54:33 nik-pc avahi-daemon[599]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.162.
Αυγ 01 16:54:33 nik-pc avahi-daemon[599]: Interface wlan0.IPv4 no longer relevant for mDNS.
Αυγ 01 16:54:33 nik-pc NetworkManager[638]: <info>  [1690898073.1068] device (wlan0): supplicant interface state: completed -> disconnected
Αυγ 01 16:54:33 nik-pc NetworkManager[638]: <info>  [1690898073.1069] device (wlan0): supplicant interface state: disconnected -> interface_disabled
Αυγ 01 16:54:33 nik-pc NetworkManager[638]: <info>  [1690898073.1069] device (wlan0): supplicant interface state: interface_disabled -> disconnected
Αυγ 01 16:54:33 nik-pc NetworkManager[638]: <info>  [1690898073.1072] device (wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Αυγ 01 16:54:33 nik-pc NetworkManager[638]: <info>  [1690898073.2376] device (wlan0): set-hw-addr: reset MAC address to 10:68:38:76:7D:F2 (unmanage)
Αυγ 01 16:54:33 nik-pc systemd[1]: Reached target Sleep.
Αυγ 01 16:54:33 nik-pc wpa_supplicant[737]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Αυγ 01 16:54:33 nik-pc wpa_supplicant[737]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Αυγ 01 16:54:33 nik-pc wpa_supplicant[737]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Αυγ 01 16:54:33 nik-pc systemd[1]: Starting System Suspend...
Αυγ 01 16:54:33 nik-pc systemd-sleep[2854]: Entering sleep state 'suspend'...
Αυγ 01 16:54:33 nik-pc kernel: PM: suspend entry (deep)
Αυγ 01 16:54:33 nik-pc kernel: Filesystems sync: 0.002 seconds
Αυγ 01 16:54:40 nik-pc kernel: Freezing user space processes
Αυγ 01 16:54:40 nik-pc kernel: Freezing user space processes completed (elapsed 0.000 seconds)
Αυγ 01 16:54:40 nik-pc kernel: OOM killer disabled.
Αυγ 01 16:54:40 nik-pc kernel: Freezing remaining freezable tasks
Αυγ 01 16:54:40 nik-pc kernel: Freezing remaining freezable tasks completed (elapsed 0.000 seconds)
Αυγ 01 16:54:40 nik-pc kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Αυγ 01 16:54:40 nik-pc kernel: sd 1:0:0:0: [sda] Synchronizing SCSI cache
Αυγ 01 16:54:40 nik-pc kernel: sd 1:0:0:0: [sda] Stopping disk
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: MODE1 reset
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: GPU mode1 reset
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: GPU smu mode1 reset
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: Refused to change power state from D0 to D3hot
Αυγ 01 16:54:40 nik-pc kernel: ACPI: PM: Preparing to enter system sleep state S3
Αυγ 01 16:54:40 nik-pc kernel: ACPI: PM: Saving platform NVS memory
Αυγ 01 16:54:40 nik-pc kernel: Disabling non-boot CPUs ...
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 1 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 2 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 3 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 4 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 5 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 6 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 7 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 8 is now offline
Αυγ 01 16:54:40 nik-pc kernel: Spectre V2 : Update user space SMT mitigation: STIBP off
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 9 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 10 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 11 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 12 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 13 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 14 is now offline
Αυγ 01 16:54:40 nik-pc kernel: smpboot: CPU 15 is now offline
Αυγ 01 16:54:40 nik-pc kernel: ACPI: PM: Low-level resume complete
Αυγ 01 16:54:40 nik-pc kernel: ACPI: PM: Restoring platform NVS memory
Αυγ 01 16:54:40 nik-pc kernel: LVT offset 0 assigned for vector 0x400
Αυγ 01 16:54:40 nik-pc kernel: Enabling non-boot CPUs ...
Αυγ 01 16:54:40 nik-pc kernel: x86: Booting SMP configuration:
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C002: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU1 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 2 APIC 0x4
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C004: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU2 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 3 APIC 0x6
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C006: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU3 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 4 APIC 0x8
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C008: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU4 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 5 APIC 0xa
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C00A: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU5 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 6 APIC 0xc
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C00C: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU6 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 7 APIC 0xe
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C00E: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU7 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 8 APIC 0x1
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C001: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: Spectre V2 : Update user space SMT mitigation: STIBP always-on
Αυγ 01 16:54:40 nik-pc kernel: CPU8 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 9 APIC 0x3
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C003: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU9 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 10 APIC 0x5
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C005: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU10 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 11 APIC 0x7
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C007: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU11 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 12 APIC 0x9
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C009: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU12 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 13 APIC 0xb
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C00B: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU13 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 14 APIC 0xd
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C00D: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU14 is up
Αυγ 01 16:54:40 nik-pc kernel: smpboot: Booting Node 0 Processor 15 APIC 0xf
Αυγ 01 16:54:40 nik-pc kernel: ACPI: \_SB_.PLTF.C00F: Found 2 idle states
Αυγ 01 16:54:40 nik-pc kernel: CPU15 is up
Αυγ 01 16:54:40 nik-pc kernel: ACPI: PM: Waking up from system sleep state S3
Αυγ 01 16:54:40 nik-pc kernel: xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
Αυγ 01 16:54:40 nik-pc kernel: usb usb1: root hub lost power or was reset
Αυγ 01 16:54:40 nik-pc kernel: usb usb2: root hub lost power or was reset
Αυγ 01 16:54:40 nik-pc kernel: sd 1:0:0:0: [sda] Starting disk
Αυγ 01 16:54:40 nik-pc kernel: [drm] PCIE GART of 512M enabled (table at 0x0000008000300000).
Αυγ 01 16:54:40 nik-pc kernel: [drm] PSP is resuming...
Αυγ 01 16:54:40 nik-pc kernel: nvme nvme0: Shutdown timeout set to 8 seconds
Αυγ 01 16:54:40 nik-pc kernel: [drm] reserve 0xa00000 from 0x82fd000000 for PSP TMR
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: RAS: optional ras ta ucode is not available
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: SMU is resuming...
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: smu driver if version = 0x0000000e, smu fw if version = 0x00000012, smu fw program = 0, version = 0x00413a00 (65.58.0)
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: SMU driver if version not matched
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: use vbios provided pptable
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: SMU is resumed successfully!
Αυγ 01 16:54:40 nik-pc kernel: [drm] DMUB hardware initialized: version=0x0202001E
Αυγ 01 16:54:40 nik-pc kernel: ata3: SATA link down (SStatus 0 SControl 330)
Αυγ 01 16:54:40 nik-pc kernel: ata4: SATA link down (SStatus 0 SControl 330)
Αυγ 01 16:54:40 nik-pc kernel: ata1: SATA link down (SStatus 0 SControl 300)
Αυγ 01 16:54:40 nik-pc kernel: [drm] kiq ring mec 2 pipe 1 q 0
Αυγ 01 16:54:40 nik-pc kernel: ata6: SATA link down (SStatus 0 SControl 330)
Αυγ 01 16:54:40 nik-pc kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
Αυγ 01 16:54:40 nik-pc kernel: [drm] JPEG decode initialized successfully.
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring vcn_dec_0 uses VM inv eng 0 on hub 1
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring vcn_enc_0.0 uses VM inv eng 1 on hub 1
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring vcn_enc_0.1 uses VM inv eng 4 on hub 1
Αυγ 01 16:54:40 nik-pc kernel: amdgpu 0000:08:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 1
Αυγ 01 16:54:40 nik-pc kernel: nvme nvme0: 12/0/0 default/read/poll queues
Αυγ 01 16:54:40 nik-pc kernel: usb 1-3: reset full-speed USB device number 2 using xhci_hcd
Αυγ 01 16:54:40 nik-pc kernel: usb 1-9: reset full-speed USB device number 3 using xhci_hcd
Αυγ 01 16:54:40 nik-pc kernel: ata5: failed to resume link (SControl 0)
Αυγ 01 16:54:40 nik-pc kernel: ata5: SATA link down (SStatus 0 SControl 0)
Αυγ 01 16:54:40 nik-pc kernel: ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Αυγ 01 16:54:40 nik-pc kernel: ata2.00: configured for UDMA/100
Αυγ 01 16:54:40 nik-pc kernel: OOM killer enabled.
Αυγ 01 16:54:40 nik-pc kernel: Restarting tasks ... done.
Αυγ 01 16:54:40 nik-pc kernel: random: crng reseeded on system resumption
Αυγ 01 16:54:40 nik-pc kernel: PM: suspend exit
Αυγ 01 16:54:40 nik-pc systemd-sleep[2854]: System returned from sleep state.
Αυγ 01 16:54:40 nik-pc rtkit-daemon[1320]: The canary thread is apparently starving. Taking action.
Αυγ 01 16:54:40 nik-pc systemd[896]: Reached target Bluetooth.
Αυγ 01 16:54:40 nik-pc rtkit-daemon[1320]: Demoting known real-time threads.
Αυγ 01 16:54:40 nik-pc systemd[1]: Starting Load/Save RF Kill Switch Status...
Αυγ 01 16:54:40 nik-pc rtkit-daemon[1320]: Successfully demoted thread 1309 of process 1299.
Αυγ 01 16:54:40 nik-pc systemd[1]: systemd-suspend.service: Deactivated successfully.
Αυγ 01 16:54:40 nik-pc rtkit-daemon[1320]: Successfully demoted thread 1299 of process 1299.
Αυγ 01 16:54:40 nik-pc rtkit-daemon[1320]: Successfully demoted thread 1312 of process 1300.
Αυγ 01 16:54:40 nik-pc rtkit-daemon[1320]: Successfully demoted thread 1300 of process 1300.
Αυγ 01 16:54:40 nik-pc rtkit-daemon[1320]: Successfully demoted thread 1311 of process 1293.
Αυγ 01 16:54:40 nik-pc rtkit-daemon[1320]: Successfully demoted thread 1293 of process 1293.
Αυγ 01 16:54:40 nik-pc rtkit-daemon[1320]: Demoted 6 threads.
Αυγ 01 16:54:40 nik-pc systemd[1]: Finished System Suspend.
Αυγ 01 16:54:40 nik-pc systemd[1]: Started Load/Save RF Kill Switch Status.
Αυγ 01 16:54:40 nik-pc systemd[1]: Stopped target Bluetooth Support.
Αυγ 01 16:54:40 nik-pc systemd[1]: Stopped target Sleep.
Αυγ 01 16:54:40 nik-pc systemd[1]: Reached target Suspend.
Αυγ 01 16:54:40 nik-pc systemd[1]: Stopped target Suspend.
Αυγ 01 16:54:40 nik-pc systemd-logind[603]: Operation 'sleep' finished.

In case this helps, here is the inxi output:

System:
  Kernel: 6.4.7-zen1-1-zen arch: x86_64 bits: 64 Desktop: Budgie v: 10.7.2
    Distro: EndeavourOS
Machine:
  Type: Desktop System: Gigabyte product: B550 GAMING X V2 v: -CF
    serial: <superuser required>
  Mobo: Gigabyte model: B550 GAMING X V2 v: x.x serial: <superuser required>
    UEFI: American Megatrends LLC. v: FDa date: 07/18/2023
CPU:
  Info: 8-core model: AMD Ryzen 7 5800X3D bits: 64 type: MT MCP cache:
    L2: 4 MiB
  Speed (MHz): avg: 2350 min/max: 2200/4549 cores: 1: 2200 2: 2200 3: 2200
    4: 2200 5: 2200 6: 2200 7: 3400 8: 3400 9: 2200 10: 2200 11: 2200 12: 2200
    13: 2200 14: 2200 15: 2200 16: 2200
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    driver: amdgpu v: kernel
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2 driver: X:
    loaded: amdgpu unloaded: modesetting,radeon dri: radeonsi gpu: amdgpu
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 23.1.4 renderer: AMD Radeon RX 6700 XT (navi22
    LLVM 15.0.7 DRM 3.52 6.4.7-zen1-1-zen)
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel
  Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel
  Device-3: Kingston HyperX SoloCast
    driver: hid-generic,snd-usb-audio,usbhid type: USB
  API: ALSA v: k6.4.7-zen1-1-zen status: kernel-api
  Server-1: PipeWire v: 0.3.76 status: active
Network:
  Device-1: Realtek driver: rtw89_8852be
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp5s0 state: down mac: <filter>
  IF-ID-1: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: IMC Networks Bluetooth Radio driver: btusb type: USB
  Report: rfkill ID: hci0 rfk-id: 3 state: down bt-service: disabled
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 2.73 TiB used: 89.38 GiB (3.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB
  ID-2: /dev/sda vendor: Toshiba model: HDWD220 size: 1.82 TiB
Partition:
  ID-1: / size: 881 GiB used: 63.28 GiB (7.2%) fs: ext4 dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: partition size: 34.39 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 43.4 C mobo: 37.0 C gpu: amdgpu temp: 48.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Info:
  Processes: 434 Uptime: 5m Memory: total: 32 GiB available: 31.26 GiB
  used: 2.05 GiB (6.5%) Shell: nu inxi: 3.3.28

Interesting, I am having the same issue on wildly different hardware though I suspect it may be because I didn’t allocate any swap at setup. Would be curious to know if you found a solution.

I made a systemd service that on startup other than disabling most of the stuff on /proc/acpi/wakeup it also disables wakeup on some device through /sys/bus/pci/devices which I found through trial and error.
Here’s the shell script for it, I have absolutely no idea how much of it is necessary, and it probably won’t work on other machines but considering that now suspend works properly with it am not touching it further.

#!/bin/sh
# These are almost random guesses that I made through trial and error.
# I am not sure if this is the minimum of things I need to do but it works and I
# won't touch it.
echo GPP0 > /proc/acpi/wakeup
echo GPP8 > /proc/acpi/wakeup
echo GP12 > /proc/acpi/wakeup
echo GP13 > /proc/acpi/wakeup
echo PTXH > /proc/acpi/wakeup
echo "disabled" > /sys/bus/pci/devices/0000:00:01.1/power/wakeup

Have you checked the BIOS settings?