You are not logged in.
Pages: 1
First post here, my issue was kinda fitting in many forums so I hope I chose the right one.
[Relevant system information]:
OS: Arch Linux x86_64
Host: 81FB (Lenovo ideapad 330S-15ARR)
Kernel: Linux 6.6.40-1-lts
WM: niri (Wayland)
CPU: AMD Ryzen 3 2200U with Radeon Vega Mobile Gfx (4) @ 2.50 z
GPU: AMD Radeon Vega 3 Graphics [Integrated]
Memory: 1.79 GiB / 6.67 GiB (27%)
Swap: 0 B / 14.17 GiB (0%)
When I use "systemctl suspend", my screen goes black but immediately goes back on in a frozen state,
which forces me to shut down by holding the power button. This happens on the default gnome installation,
on Niri which I'm currently trying out and also on a TTY. I never had these issues on Manjaro, openSUSE, elementory OS, KDE neon etc..
With my limited knowledge I tried to solve it myself,I checked out the wiki, but I'm at a point now where I think that I might break more stuff by doing random config changes,
instead of actually fixing my issues. Also the hibernating issues can wait for now, I just added them to the title in case they were relevant to the topic.
There are no inhibitors which prevent or wake up the system from suspend, and as far as I can tell there are no UEFI settings that relate to my issue,
other than maybe USB always on (the logs actually say something about USB so maybe there is an issue with that).
The logs I provide down below describe the following situation: First a successful suspend attempt, then I woke up the system and tried again, only for it to freeze immediately +a few logs from earlier tries.
Logs in question:
Command used: sudo journalctl | grep -i "suspend\|resume"
Jul 25 12:35:59 archlinux kernel: Command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=2dc14778-7e96-46ca-b445-a3d2f2f60a47 rw quiet splash resume=UUID=af8170b2-91ff-41f5-8273-2842b492c5a2
Jul 25 12:35:59 archlinux kernel: Kernel command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=2dc14778-7e96-46ca-b445-a3d2f2f60a47 rw quiet splash resume=UUID=af8170b2-91ff-41f5-8273-2842b492c5a2
Jul 25 12:36:05 archlinux systemd-logind[457]: /etc/systemd/sleep.conf:27: Support for option SuspendMode= has been removed and it is ignored
Jul 25 12:38:29 archlinux sudo[1496]: uvwuvuvue : TTY=tty3 ; PWD=/home/uvwuvuvue ; USER=root ; COMMAND=/usr/bin/systemctl suspend
Jul 25 12:38:29 archlinux systemd-logind[457]: /etc/systemd/sleep.conf:27: Support for option SuspendMode= has been removed and it is ignored
Jul 25 12:38:29 archlinux systemd-logind[457]: The system will suspend now!
Jul 25 12:38:29 archlinux systemd[1]: Starting System Suspend...
Jul 25 12:38:29 archlinux systemd-sleep[1500]: /etc/systemd/sleep.conf:27: Support for option SuspendMode= has been removed and it is ignored
Jul 25 12:38:29 archlinux systemd-sleep[1500]: Performing sleep operation 'suspend'...
Jul 25 12:38:29 archlinux kernel: PM: suspend entry (deep)
Jul 25 12:38:30 archlinux kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jul 25 12:38:30 archlinux kernel: xhci_hcd 0000:03:00.4: Controller not ready at resume -19
Jul 25 12:38:30 archlinux kernel: xhci_hcd 0000:03:00.4: PCI post-resume error -19!
Jul 25 12:38:31 archlinux kernel: xhci_hcd 0000:03:00.4: PM: dpm_run_callback(): pci_pm_resume+0x0/0xf0 returns -19
Jul 25 12:38:31 archlinux kernel: xhci_hcd 0000:03:00.4: PM: failed to resume async: error -19
Jul 25 12:38:31 archlinux kernel: [drm:psp_resume [amdgpu]] *ERROR* PSP resume failed
Jul 25 12:38:31 archlinux kernel: [drm:amdgpu_device_fw_loading [amdgpu]] *ERROR* resume of IP block <psp> failed -62
Jul 25 12:38:31 archlinux kernel: amdgpu 0000:03:00.0: amdgpu: amdgpu_device_ip_resume failed (-62).
Jul 25 12:38:31 archlinux kernel: amdgpu 0000:03:00.0: PM: dpm_run_callback(): pci_pm_resume+0x0/0xf0 returns -62
Jul 25 12:38:31 archlinux kernel: amdgpu 0000:03:00.0: PM: failed to resume async: error -62
Jul 25 12:39:22 archlinux kernel: Command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=2dc14778-7e96-46ca-b445-a3d2f2f60a47 rw quiet splash resume=UUID=af8170b2-91ff-41f5-8273-2842b492c5a2
Jul 25 12:39:22 archlinux kernel: Kernel command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=2dc14778-7e96-46ca-b445-a3d2f2f60a47 rw quiet splash resume=UUID=af8170b2-91ff-41f5-8273-2842b492c5a2
Jul 25 12:39:28 archlinux systemd-logind[458]: /etc/systemd/sleep.conf:27: Support for option SuspendMode= has been removed and it is ignored
Jul 25 12:40:03 archlinux systemd-logind[458]: /etc/systemd/sleep.conf:27: Support for option SuspendMode= has been removed and it is ignored
Jul 25 12:40:27 archlinux sudo[2319]: uvwuvuvue : TTY=tty3 ; PWD=/home/uvwuvuvue ; USER=root ; COMMAND=/usr/bin/systemctl suspend
Jul 25 12:40:27 archlinux systemd-logind[458]: /etc/systemd/sleep.conf:27: Support for option SuspendMode= has been removed and it is ignored
Jul 25 12:40:27 archlinux systemd-logind[458]: The system will suspend now!
Jul 25 12:40:29 archlinux systemd[1]: Starting System Suspend...
Jul 25 12:40:29 archlinux systemd-sleep[2349]: /etc/systemd/sleep.conf:27: Support for option SuspendMode= has been removed and it is ignored
Jul 25 12:40:29 archlinux systemd-sleep[2349]: Performing sleep operation 'suspend'...
Jul 25 12:40:29 archlinux kernel: PM: suspend entry (deep)
Jul 25 12:41:19 archlinux kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jul 25 12:41:19 archlinux kernel: ACPI: PM: Low-level resume complete
Jul 25 12:41:19 archlinux systemd-sleep[2349]: System returned from sleep operation 'suspend'.
Jul 25 12:41:19 archlinux kernel: PM: suspend exit
Jul 25 12:41:19 archlinux systemd[1]: systemd-suspend.service: Deactivated successfully.
Jul 25 12:41:19 archlinux systemd[1]: Finished System Suspend.
Jul 25 12:41:19 archlinux systemd[1]: Reached target Suspend.
Jul 25 12:41:19 archlinux systemd-logind[458]: Operation 'suspend' finished.
Jul 25 12:41:19 archlinux systemd[1]: Stopped target Suspend.
Jul 25 12:41:24 archlinux sudo[2392]: uvwuvuvue : TTY=tty3 ; PWD=/home/uvwuvuvue ; USER=root ; COMMAND=/usr/bin/systemctl suspend
Jul 25 12:41:24 archlinux systemd-logind[458]: /etc/systemd/sleep.conf:27: Support for option SuspendMode= has been removed and it is ignored
Jul 25 12:41:24 archlinux systemd-logind[458]: The system will suspend now!
Jul 25 12:41:25 archlinux systemd[1]: Starting System Suspend...
Jul 25 12:41:25 archlinux systemd-sleep[2399]: /etc/systemd/sleep.conf:27: Support for option SuspendMode= has been removed and it is ignored
Jul 25 12:41:25 archlinux systemd-sleep[2399]: Performing sleep operation 'suspend'...
Jul 25 12:41:25 archlinux kernel: PM: suspend entry (deep)
Jul 25 12:41:30 archlinux kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jul 25 12:41:31 archlinux kernel: xhci_hcd 0000:03:00.4: Controller not ready at resume -19
Jul 25 12:41:31 archlinux kernel: xhci_hcd 0000:03:00.4: PCI post-resume error -19!
Jul 25 12:41:31 archlinux kernel: xhci_hcd 0000:03:00.4: PM: dpm_run_callback(): pci_pm_resume+0x0/0xf0 returns -19
Jul 25 12:41:31 archlinux kernel: xhci_hcd 0000:03:00.4: PM: failed to resume async: error -19
Jul 25 12:45:09 archlinux kernel: Command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=2dc14778-7e96-46ca-b445-a3d2f2f60a47 rw quiet splash resume=UUID=af8170b2-91ff-41f5-8273-2842b492c5a2
Jul 25 12:45:09 archlinux kernel: Kernel command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=2dc14778-7e96-46ca-b445-a3d2f2f60a47 rw quiet splash resume=UUID=af8170b2-91ff-41f5-8273-2842b492c5a2
Jul 25 12:45:15 archlinux systemd-logind[459]: /etc/systemd/sleep.conf:27: Support for option SuspendMode= has been removed and it is ignored
These are the contents of my sleep.conf:
[Sleep]
AllowSuspend=yes
AllowHibernation=yes
AllowSuspendThenHibernate=yes
AllowHybridSleep=yes
SuspendState=mem standby freeze
HibernateMode=platform shutdown
HibernateState=disk
SuspendMode=platform suspend
SuspendState=mem
#MemorySleepMode=
#HibernateDelaySec=
#SuspendEstimationSec=60min
ChatGPTs suggestion (which I'm hesitant to try because most of the time its solutions dont work or are not relevant for my use specific issues:
Check ACPI Settings:
Ensure that ACPI settings are properly configured in your BIOS/UEFI. Look for options related to power management, suspend, and resume, and ensure they are enabled.USB Controller Issue:
The xhci_hcd errors indicate an issue with the USB 3.0 controller not resuming properly. You can try disabling USB autosuspend or setting a quirk for the controller.To disable USB autosuspend, create or edit the file /etc/modprobe.d/usb-autosuspend.conf and add the following line:
sh
options usbcore autosuspend=-1
Alternatively, you can try setting a quirk for the controller. Edit the kernel parameters by adding the following to the GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub:
sh
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=af8170b2-91ff-41f5-8273-2842b492c5a2 usbcore.quirks=0x03:0x00.4:wr"
Then update GRUB:
sh
sudo grub-mkconfig -o /boot/grub/grub.cfg
AMD GPU Issue:
The amdgpu errors indicate a problem with the AMD GPU driver during resume. You can try adding a kernel parameter to disable runtime power management for the GPU.Add the following to the GRUB_CMDLINE_LINUX_DEFAULT line in /etc/default/grub:
sh
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=af8170b2-91ff-41f5-8273-2842b492c5a2 amdgpu.runpm=0"
Then update GRUB:
sh
sudo grub-mkconfig -o /boot/grub/grub.cfg
If there is anything else that is needed to fix the issue I am happy to provide it to you as soon as I come home from work, thx in advance to anyone willing to help me!
Offline
Do you still have this issue? Have you found a workaround? I also have amdgpu suspend woes
Offline
Pages: 1