Wednesday, May 8, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2853  / 3 Years ago, fri, july 23, 2021, 11:57:52

My system will take about a minute to resume from suspend, during which it is unresponsive to input. I get a blank screen (no backlight) until the login screen is displayed, at which point everything functions as normal. The keyboard backlight key does work in this state (expected), but the caps lock indicator LED does not toggle on until the login screen is displayed.


Here are the journalctl logs from kernel, systemd-logind and systemd-sleep during the process of suspending and resuming the system immediately:


reuben@reuben-Inspiron-14-5425:~$ journalctl -f | grep -E 'kernel|systemd-(logind|sleep)'
Jun 05 01:49:12 reuben-Inspiron-14-5425 systemd-logind[748]: Power key pressed.
Jun 05 01:49:12 reuben-Inspiron-14-5425 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Jun 05 01:49:12 reuben-Inspiron-14-5425 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Jun 05 01:49:12 reuben-Inspiron-14-5425 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Jun 05 01:49:12 reuben-Inspiron-14-5425 kernel: wlp3s0: deauthenticating from 00:31:92:fb:37:fb by local choice (Reason: 3=DEAUTH_LEAVING)
Jun 05 01:49:13 reuben-Inspiron-14-5425 systemd-sleep[4885]: Entering sleep state 'suspend'...
Jun 05 01:49:13 reuben-Inspiron-14-5425 kernel: PM: suspend entry (s2idle)
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: Filesystems sync: 0.377 seconds
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: Freezing user space processes ... (elapsed 0.004 seconds) done.
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: OOM killer disabled.
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: Freezing remaining freezable tasks ... (elapsed 0.202 seconds) done.
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: ACPI: EC: interrupt blocked
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: ACPI: EC: interrupt unblocked
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: pci 0000:00:00.2: can't derive routing for PCI INT A
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: pci 0000:00:00.2: PCI INT A: no GSI
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: [drm] PCIE GART of 1024M enabled.
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: [drm] PTB located at 0x000000F400900000
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: SMU is resuming...
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: dpm has been disabled
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: SMU is resumed successfully!
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: [drm] DMUB hardware initialized: version=0x0101001F
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: [drm] JPEG decode initialized successfully.
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: amdgpu 0000:04:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: ata1: SATA link down (SStatus 0 SControl 300)
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: ata2: SATA link down (SStatus 0 SControl 300)
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme nvme0: I/O 91 QID 5 timeout, aborting
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme nvme0: I/O 953 QID 16 timeout, aborting
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme nvme0: I/O 954 QID 16 timeout, aborting
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme nvme0: I/O 955 QID 16 timeout, aborting
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme nvme0: I/O 956 QID 16 timeout, aborting
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme nvme0: I/O 28 QID 0 timeout, reset controller
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme nvme0: Abort status: 0x371
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme nvme0: Abort status: 0x371
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme nvme0: Abort status: 0x371
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme nvme0: Abort status: 0x371
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme nvme0: Abort status: 0x371
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: PM: dpm_run_callback(): pci_pm_resume+0x0/0xf0 returns -16
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme 0000:02:00.0: PM: failed to resume async: error -16
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: OOM killer enabled.
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: Restarting tasks ... done.
Jun 05 01:50:26 reuben-Inspiron-14-5425 kernel: nvme nvme0: 16/0/0 default/read/poll queues
Jun 05 01:50:27 reuben-Inspiron-14-5425 systemd-sleep[4885]: System returned from sleep state.
Jun 05 01:50:27 reuben-Inspiron-14-5425 kernel: PM: suspend exit
Jun 05 01:50:27 reuben-Inspiron-14-5425 systemd-logind[748]: Operation 'sleep' finished.

Things I have tried



  • Installing latest updates through Software Updater and sudo apt update && sudo apt upgrade

  • Adding amd_iommu=off to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub, followed by sudo update-grub

  • Various other GRUB_CMDLINE_LINUX_DEFAULT tweaks


Any idea what the problem might be? I've read in a few places [1] [2] that Ryzen 5000 series CPUs have problems with sleep on Linux. I feel like the next logical step might be to upgrade/downgrade to a different kernel version, but I'm not sure what I should be looking for when picking a specific version, rather than aimlessly guessing which to install (perhaps changelog keywords such as "AMD" and "ACPI"?).


Any help would be much appreciated. :)




System info



  • Model: Dell Inspiron 14 5425

  • CPU: AMD Ryzen 7 5825U

  • RAM: 24GB DDR4 3200MHz (1x 8GB, 1x 16GB)

  • Ubuntu version: 22.04 LTS

  • Kernel version: 5.15.0-35-generic


Additional info



  • Dual-boot Ubuntu/Windows 11 from single 1TB NVMe SSD


More From » suspend

 Answers
1

Sorry for the extremely late reply, but I have the same laptop as you and found a fix for the issue. Just set the kernel boot parameter pcie_aspm=off in /etc/default/grub and then update grub. There's some more info about this parameter here. Hope this helps!


[#449] Saturday, July 24, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
otputler

Total Points: 53
Total Questions: 105
Total Answers: 93

Location: Zimbabwe
Member since Wed, Nov 9, 2022
2 Years ago
;