Laptop hangs after two Suspend / Resume cycles

After a reboot the first suspend / resume works fine. After the second resume, I can move the mouse cursor for a few seconds on a black screen before everything freezes.

I have currently no idea which logs to post. I assume the issue is similar to the one in post 44544 but I cannot use the patch linked there as the ACPI won’t recompile even unmodified. I have a Dell G5 5505.

I also don’t know any way to unlock the hidden options in a DELL BIOS, so I cannot enable S3 there.

I tried amd_iommu=fullflush but it doesn’t change anything.

I also tried enabling S3 by editing the EFI variable like shown here (yes I know it’s a different model):

It should be “setup_var AMD_PBS_SETUP 0x38 0x0” but it won’t survive a reboot. Unfortunately I don’t know how to modify the BIOS to enable the extra menus to change the value there.

Any other ideas?

Have you looked for any BIOS updates for your laptop? Probably they fixed something.

Please, post the output of
inxi --full --admin --verbosity=7 --filter --no-host

So, we can know more about your system (not only default hardware which you posted).

System:    Kernel: 5.10.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 root=UUID=0ad52eaf-625d-4810-897d-d2fff11f31cf ro 
           quiet cryptdevice=UUID=cf5fc986-57b8-43b9-9953-8aba3931aa9f:luks-cf5fc986-57b8-43b9-9953-8aba3931aa9f 
           root=/dev/mapper/luks-cf5fc986-57b8-43b9-9953-8aba3931aa9f apparmor=1 security=apparmor 
           udev.log_priority=3 
           Console: tty 3 wm: kwin_x11 DM: SDDM Distro: Manjaro Linux 
Machine:   Type: Laptop System: Dell product: G5 5505 v: 1.5.0 serial: <filter> Chassis: type: 10 v: 1.5.0 
           serial: <filter> 
           Mobo: Dell model: 0JT83K v: A02 serial: <filter> UEFI: Dell v: 1.5.0 date: 10/27/2020 
Battery:   ID-1: BAT0 charge: 51.0 Wh condition: 51.0/51.0 Wh (100%) volts: 12.8/11.4 model: BYD DELL M4GWP0C 
           type: Li-poly serial: <filter> status: Full 
Memory:    RAM: total: 30.8 GiB used: 2.51 GiB (8.1%) 
           Array-1: capacity: 64 GiB slots: 2 EC: None max module size: 32 GiB note: est. 
           Device-1: DIMM 0 size: 16 GiB speed: 2400 MT/s type: DDR4 
           detail: synchronous unbuffered (unregistered) bus width: 64 bits total: 64 bits 
           manufacturer: 04CD000080CE part-no: F4-3000C16-16GRS serial: N/A 
           Device-2: DIMM 0 size: 16 GiB speed: 2400 MT/s type: DDR4 
           detail: synchronous unbuffered (unregistered) bus width: 64 bits total: 64 bits 
           manufacturer: 04CD000080CE part-no: F4-3000C16-16GRS serial: N/A 
CPU:       Info: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics socket: FP6 bits: 64 type: MT MCP 
           arch: Zen 2 family: 17 (23) model-id: 60 (96) stepping: 1 microcode: 8600104 L1 cache: 512 KiB 
           L2 cache: 4 MiB L3 cache: 7.8 MiB bogomips: 92662 
           Speed: 4273 MHz min/max: 1400/2900 MHz base/boost: 2900/4300 boost: enabled volts: 1.2 V 
           ext-clock: 100 MHz Core speeds (MHz): 1: 4273 2: 4214 3: 1429 4: 1412 5: 1491 6: 2705 7: 1619 8: 1659 
           9: 1893 10: 1879 11: 1859 12: 1888 13: 1866 14: 1884 15: 1397 16: 1435 
           Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 bmi2 bpext cat_l3 cdp_l3 
           clflush clflushopt clwb clzero cmov cmp_legacy constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local 
           cqm_mbm_total cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
           fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs irperf lahf_lm lbrv lm mba mca mce 
           misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw 
           overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold 
           pge pni popcnt pse pse36 rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca 
           sme smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext tsc 
           tsc_scale umip v_vmsave_vmload vgif vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec 
           xsaveerptr xsaveopt xsaves 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] 
           vendor: Dell driver: amdgpu v: kernel bus ID: 03:00.0 chip ID: 1002:731f class ID: 0380 
           Device-2: Advanced Micro Devices [AMD/ATI] Renoir vendor: Dell driver: amdgpu v: kernel 
           bus ID: 07:00.0 chip ID: 1002:1636 class ID: 0300 
           Display: server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: amdgpu,ati 
           unloaded: modesetting,radeon alternate: fbdev,vesa display ID: :0 screens: 1 
           Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1013x285mm (39.9x11.2") s-diag: 1052mm (41.4") 
           Monitor-1: eDP res: 1920x1080 hz: 144 dpi: 142 size: 344x194mm (13.5x7.6") diag: 395mm (15.5") 
           Monitor-2: HDMI-A-1-0 res: 1920x1080 hz: 60 dpi: 69 size: 708x398mm (27.9x15.7") diag: 812mm (32") 
           OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.10.15-1-MANJARO LLVM 11.0.1) v: 4.6 Mesa 20.3.4 
           direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Navi 10 HDMI Audio driver: snd_hda_intel v: kernel 
           bus ID: 03:00.1 chip ID: 1002:ab38 class ID: 0403 
           Device-2: Advanced Micro Devices [AMD/ATI] vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 07:00.1 chip ID: 1002:1637 class ID: 0403 
           Device-3: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Dell 
           driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x bus ID: 07:00.5 chip ID: 1022:15e2 
           class ID: 0480 
           Device-4: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Dell driver: snd_hda_intel 
           v: kernel bus ID: 07:00.6 chip ID: 1022:15e3 class ID: 0403 
           Sound Server: ALSA v: k5.10.15-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell driver: r8169 v: kernel 
           port: 2000 bus ID: 04:00.0 chip ID: 10ec:8168 class ID: 0200 
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IP v4: <filter> type: dynamic noprefixroute scope: global broadcast: <filter> 
           IP v6: <filter> type: dynamic noprefixroute scope: global 
           IP v6: <filter> type: noprefixroute scope: link 
           Device-2: Intel Wi-Fi 6 AX200 vendor: Bigfoot Networks driver: iwlwifi v: kernel port: 2000 
           bus ID: 05:00.0 chip ID: 8086:2723 class ID: 0280 
           IF: wlp5s0 state: down mac: <filter> 
           WAN IP: <filter> 
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus ID: 3-3.1:3 chip ID: 8087:0029 
           class ID: e001 
           Message: Required tool hciconfig not installed. Check --recommends 
RAID:      Message: No RAID data was found. 
Drives:    Local Storage: total: 1.82 TiB used: 196.32 GiB (10.5%) 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Corsair model: Force MP600 size: 1.82 TiB block size: 
           physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 rotation: SSD serial: <filter> rev: EGFM11.3 
           temp: 41.9 C scheme: GPT 
           SMART: yes health: PASSED on: 85 hrs cycles: 42 read-units: 246,161 [126 GB] 
           written-units: 1,389,295 [711 GB] 
           Message: No Optical or Floppy data was found. 
Partition: ID-1: / raw size: 1.82 TiB size: 1.79 TiB (98.38%) used: 196.28 GiB (10.7%) fs: ext4 
           block size: 4096 B dev: /dev/dm-0 maj-min: 254:0 mapped: luks-cf5fc986-57b8-43b9-9953-8aba3931aa9f 
           label: N/A uuid: 0ad52eaf-625d-4810-897d-d2fff11f31cf 
           ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%) used: 35.2 MiB (11.8%) fs: vfat 
           block size: 512 B dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A uuid: ECFD-93DF 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
           ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2 file: /swapfile 
Unmounted: Message: No Unmounted partitions found. 
USB:       Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002 
           class ID: 0900 
           Device-1: 1-4:2 info: Logitech RX 250 Optical Mouse type: Mouse driver: hid-generic,usbhid 
           interfaces: 1 rev: 2.0 speed: 1.5 Mb/s chip ID: 046d:c050 class ID: 0301 
           Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s chip ID: 1d6b:0003 
           class ID: 0900 
           Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 speed: 480 Mb/s chip ID: 1d6b:0002 
           class ID: 0900 
           Hub-4: 3-3:2 info: Genesys Logic Hub ports: 2 rev: 2.0 speed: 480 Mb/s chip ID: 05e3:0610 
           class ID: 0900 
           Device-1: 3-3.1:3 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 
           speed: 12 Mb/s chip ID: 8087:0029 class ID: e001 
           Hub-5: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.1 speed: 10 Gb/s chip ID: 1d6b:0003 
           class ID: 0900 
Sensors:   System Temperatures: cpu: 67.2 C mobo: N/A 
           Fan Speeds (RPM): N/A 
           GPU: device: amdgpu temp: 60.0 C mem: 60.0 C fan: 65535 watts: 10.00 device: amdgpu temp: 57.0 C 
Info:      Processes: 437 Uptime: 1m wakeups: 3 Init: systemd v: 247 Compilers: gcc: 10.2.0 Packages: 1369 
           pacman: 1366 lib: 412 flatpak: 0 snap: 3 Shell: Bash (sudo) v: 5.1.0 running in: konsole inxi: 3.3.01

I did manage to enable S3 using this guide:

However, not the laptop goes to sleep and immediately wakes up again. Therefore, suspend is not even working one :confused:

I thought this has something to do with the LID being open and tried
echo LID > /proc/acpi/wakeup

This should disable LID as a wakeup event:
cat /proc/acpi/wakeup
Device S-state Status Sysfs node
GPP0 S4 *enabled pci:0000:00:01.1
SWUS S4 *enabled pci:0000:01:00.0
SWDS S4 *enabled pci:0000:02:00.0
GPP1 S4 *disabled
GPP2 S4 *disabled
GPP3 S4 *enabled pci:0000:00:02.1
GPP4 S4 *enabled pci:0000:00:02.2
GPP5 S4 *disabled
GP17 S4 *enabled pci:0000:00:08.1
XHC0 S4 *enabled pci:0000:07:00.3
XHC1 S4 *enabled pci:0000:07:00.4
GP19 S4 *disabled
LID S3 *disabled platform:PNP0C0D:00

But the behaviour doesn’t change.

Here are the dmsg entries for one try to suspend (wakes up by itself immediately)

[  401.226708] audit: type=1130 audit(1613762931.636:122): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  401.263036] r8169 0000:04:00.0 enp4s0: Link is Down
[  401.871015] PM: suspend entry (deep)
[  401.880744] Filesystems sync: 0.009 seconds
[  402.087903] Freezing user space processes ... (elapsed 0.002 seconds) done.
[  402.089992] OOM killer disabled.
[  402.089993] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  402.091296] printk: Suspending console(s) (use no_console_suspend to debug)
[  402.224678] [drm] free PSP TMR buffer
[  402.241373] [drm] free PSP TMR buffer
[  402.304156] ACPI: EC: interrupt blocked
[  402.421188] ACPI: Preparing to enter system sleep state S3
[  402.428145] ACPI: EC: event blocked
[  402.428146] ACPI: EC: EC stopped
[  402.428147] PM: Saving platform NVS memory
[  402.428515] Disabling non-boot CPUs ...
[  402.430205] smpboot: CPU 1 is now offline
[  402.432306] smpboot: CPU 2 is now offline
[  402.434281] smpboot: CPU 3 is now offline
[  402.436540] smpboot: CPU 4 is now offline
[  402.438750] smpboot: CPU 5 is now offline
[  402.440764] smpboot: CPU 6 is now offline
[  402.442783] smpboot: CPU 7 is now offline
[  402.444511] smpboot: CPU 8 is now offline
[  402.446346] smpboot: CPU 9 is now offline
[  402.448243] smpboot: CPU 10 is now offline
[  402.450251] smpboot: CPU 11 is now offline
[  402.452195] smpboot: CPU 12 is now offline
[  402.454077] smpboot: CPU 13 is now offline
[  402.456031] smpboot: CPU 14 is now offline
[  402.457937] smpboot: CPU 15 is now offline
[  402.457984] ACPI: Low-level resume complete
[  402.457984] ACPI: EC: EC started
[  402.457984] PM: Restoring platform NVS memory
[  402.457984] LVT offset 0 assigned for vector 0x400
[  402.457984] Enabling non-boot CPUs ...
[  402.457984] x86: Booting SMP configuration:
[  402.457984] smpboot: Booting Node 0 Processor 1 APIC 0x1
[  402.454437] microcode: CPU1: patch_level=0x08600104
[  402.459023] ACPI: \_SB_.PLTF.C001: Found 3 idle states
[  402.459288] CPU1 is up
[  402.459545] smpboot: Booting Node 0 Processor 2 APIC 0x2
[  402.458764] microcode: CPU2: patch_level=0x08600104
[  402.459956] ACPI: \_SB_.PLTF.C002: Found 3 idle states
[  402.460225] CPU2 is up
[  402.460453] smpboot: Booting Node 0 Processor 3 APIC 0x3
[  402.459738] microcode: CPU3: patch_level=0x08600104
[  402.460919] ACPI: \_SB_.PLTF.C003: Found 3 idle states
[  402.461261] CPU3 is up
[  402.461512] smpboot: Booting Node 0 Processor 4 APIC 0x4
[  402.460710] microcode: CPU4: patch_level=0x08600104
[  402.462387] ACPI: \_SB_.PLTF.C004: Found 3 idle states
[  402.462706] CPU4 is up
[  402.462937] smpboot: Booting Node 0 Processor 5 APIC 0x5
[  402.462120] microcode: CPU5: patch_level=0x08600104
[  402.463296] ACPI: \_SB_.PLTF.C005: Found 3 idle states
[  402.463483] CPU5 is up
[  402.463704] smpboot: Booting Node 0 Processor 6 APIC 0x6
[  402.463137] microcode: CPU6: patch_level=0x08600104
[  402.464200] ACPI: \_SB_.PLTF.C006: Found 3 idle states
[  402.464563] CPU6 is up
[  402.464791] smpboot: Booting Node 0 Processor 7 APIC 0x7
[  402.454438] microcode: CPU7: patch_level=0x08600104
[  402.465199] ACPI: \_SB_.PLTF.C007: Found 3 idle states
[  402.465401] CPU7 is up
[  402.465580] smpboot: Booting Node 0 Processor 8 APIC 0x8
[  402.465000] microcode: CPU8: patch_level=0x08600104
[  402.466215] ACPI: \_SB_.PLTF.C008: Found 3 idle states
[  402.466744] CPU8 is up
[  402.466924] smpboot: Booting Node 0 Processor 9 APIC 0x9
[  402.465942] microcode: CPU9: patch_level=0x08600104
[  402.467567] ACPI: \_SB_.PLTF.C009: Found 3 idle states
[  402.468075] CPU9 is up
[  402.468259] smpboot: Booting Node 0 Processor 10 APIC 0xa
[  402.467397] microcode: CPU10: patch_level=0x08600104
[  402.468858] ACPI: \_SB_.PLTF.C00A: Found 3 idle states
[  402.469308] CPU10 is up
[  402.469483] smpboot: Booting Node 0 Processor 11 APIC 0xb
[  402.468553] microcode: CPU11: patch_level=0x08600104
[  402.469988] ACPI: \_SB_.PLTF.C00B: Found 3 idle states
[  402.470415] CPU11 is up
[  402.470601] smpboot: Booting Node 0 Processor 12 APIC 0xc
[  402.469778] microcode: CPU12: patch_level=0x08600104
[  402.471147] ACPI: \_SB_.PLTF.C00C: Found 3 idle states
[  402.471605] CPU12 is up
[  402.471797] smpboot: Booting Node 0 Processor 13 APIC 0xd
[  402.470902] microcode: CPU13: patch_level=0x08600104
[  402.472240] ACPI: \_SB_.PLTF.C00D: Found 3 idle states
[  402.472536] CPU13 is up
[  402.472719] smpboot: Booting Node 0 Processor 14 APIC 0xe
[  402.472033] microcode: CPU14: patch_level=0x08600104
[  402.473249] ACPI: \_SB_.PLTF.C00E: Found 3 idle states
[  402.473778] CPU14 is up
[  402.473964] smpboot: Booting Node 0 Processor 15 APIC 0xf
[  402.473009] microcode: CPU15: patch_level=0x08600104
[  402.474335] ACPI: \_SB_.PLTF.C00F: Found 3 idle states
[  402.474701] CPU15 is up
[  402.476166] ACPI: Waking up from system sleep state S3
[  402.516582] ACPI: EC: interrupt unblocked
[  402.786064] ACPI: EC: event unblocked
[  402.786944] [drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
[  402.786995] [drm] PSP is resuming...
[  402.787218] [drm] PCIE GART of 512M enabled (table at 0x0000008000000000).
[  402.787239] [drm] PSP is resuming...
[  402.791439] nvme nvme0: Shutdown timeout set to 10 seconds
[  402.793358] nvme nvme0: 8/0/0 default/read/poll queues
[  402.807039] [drm] reserve 0x400000 from 0xf41f800000 for PSP TMR
[  402.881352] [drm] reserve 0x900000 from 0x800f400000 for PSP TMR
[  403.004680] amdgpu 0000:07:00.0: amdgpu: RAS: optional ras ta ucode is not available
[  403.024661] amdgpu 0000:07:00.0: amdgpu: RAP: optional rap ta ucode is not available
[  403.024667] amdgpu 0000:07:00.0: amdgpu: SMU is resuming...
[  403.025315] amdgpu 0000:07:00.0: amdgpu: dpm has been disabled
[  403.026169] amdgpu 0000:07:00.0: amdgpu: SMU is resumed successfully!
[  403.027480] [drm] kiq ring mec 2 pipe 1 q 0
[  403.041423] amdgpu 0000:03:00.0: amdgpu: RAS: optional ras ta ucode is not available
[  403.042086] [drm] DMUB hardware initialized: version=0x01000000
[  403.061162] amdgpu 0000:03:00.0: amdgpu: RAP: optional rap ta ucode is not available
[  403.061167] amdgpu 0000:03:00.0: amdgpu: SMU is resuming...
[  403.061176] amdgpu 0000:03:00.0: amdgpu: smu driver if version = 0x00000036, smu fw if version = 0x00000037, smu fw version = 0x002a3d00 (42.61.0)
[  403.061177] amdgpu 0000:03:00.0: amdgpu: SMU driver if version not matched
[  403.096716] amdgpu 0000:03:00.0: amdgpu: SMU is resumed successfully!
[  403.099055] ata2: SATA link down (SStatus 0 SControl 300)
[  403.102171] ata1: SATA link down (SStatus 0 SControl 300)
[  403.156418] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[  403.156551] [drm] JPEG decode initialized successfully.
[  403.156743] amdgpu 0000:07:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[  403.156744] amdgpu 0000:07:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[  403.156744] amdgpu 0000:07:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[  403.156745] amdgpu 0000:07:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[  403.156746] amdgpu 0000:07:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[  403.156746] amdgpu 0000:07:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[  403.156747] amdgpu 0000:07:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[  403.156747] amdgpu 0000:07:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[  403.156748] amdgpu 0000:07:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[  403.156749] amdgpu 0000:07:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[  403.156749] amdgpu 0000:07:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
[  403.156750] amdgpu 0000:07:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
[  403.156751] amdgpu 0000:07:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
[  403.156751] amdgpu 0000:07:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
[  403.156752] amdgpu 0000:07:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
[  403.170740] usb 1-4: reset low-speed USB device number 2 using xhci_hcd
[  403.282443] [drm] kiq ring mec 2 pipe 1 q 0
[  403.293162] [drm] VCN decode and encode initialized successfully(under DPG Mode).
[  403.294237] [drm] JPEG decode initialized successfully.
[  403.294256] amdgpu 0000:03:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
[  403.294257] amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
[  403.294258] amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
[  403.294258] amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
[  403.294259] amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
[  403.294260] amdgpu 0000:03:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
[  403.294260] amdgpu 0000:03:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
[  403.294261] amdgpu 0000:03:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
[  403.294261] amdgpu 0000:03:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
[  403.294262] amdgpu 0000:03:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
[  403.294263] amdgpu 0000:03:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
[  403.294263] amdgpu 0000:03:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
[  403.294264] amdgpu 0000:03:00.0: amdgpu: ring vcn_dec uses VM inv eng 0 on hub 1
[  403.294264] amdgpu 0000:03:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 1 on hub 1
[  403.294265] amdgpu 0000:03:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 4 on hub 1
[  403.294265] amdgpu 0000:03:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 1
[  403.955236] acpi LNXPOWER:03: Turning OFF
[  403.955300] OOM killer enabled.
[  403.955301] Restarting tasks ... done.
[  404.008080] PM: suspend exit
[  404.308175] audit: type=1130 audit(1613762935.846:123): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  404.308183] audit: type=1131 audit(1613762935.846:124): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  404.337791] Generic FE-GE Realtek PHY r8169-400:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-400:00, irq=IGNORE)
[  404.521285] r8169 0000:04:00.0 enp4s0: Link is Down
[  406.208318] audit: type=1100 audit(1613762937.746:125): pid=6407 uid=1000 auid=1000 ses=2 subj==unconfined msg='op=PAM:unix_chkpwd acct="admin" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'

Currently I don’t know if it’s easier to disable S3 again and try to solve the “modern standby” issue or leave S3 enabled and solve the “auto-wakeup” issue. I think the general issue with modern standby and AMDGPU should be solved as more and more hardware will have S3 disabled “thanks” to pressure from M$.

S3 suspend seems to work if I close the lid immediately after sending it to suspend. However, I usually leave the lid open. Any way to disable the auto-resume on lid open?