After reinstalling Fedora 41 on my laptop (AMD Ryzen 7 7840), I encountered an issue. The laptop takes 35 to 45 seconds to resume from suspend, regardless of whether I simply closed the lid or manually triggered suspend. During this time, the screen remains black.
Does anyone have any suggestions on how to fix this? I didn’t have this issue before the reinstall.
You’re right, I don’t think it’s a hardware issue. The only logind.conf file I have is located in /usr/lib/systemd/ and its contents are as follows:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file (or a copy of it placed in
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
# the /etc/systemd/logind.conf.d/ directory. The latter is generally
# recommended. Defaults can be restored by simply deleting the main
# configuration file and all drop-ins located in /etc/.
#
# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
#
# See logind.conf(5) for details.
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#UserStopDelaySec=10
#SleepOperation=suspend-then-hibernate suspend
#HandlePowerKey=poweroff
#HandlePowerKeyLongPress=ignore
#HandleRebootKey=reboot
#HandleRebootKeyLongPress=poweroff
#HandleSuspendKey=suspend
#HandleSuspendKeyLongPress=hibernate
#HandleHibernateKey=hibernate
#HandleHibernateKeyLongPress=ignore
#HandleLidSwitch=suspend
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodesMax=
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#StopIdleSessionSec=infinity
It should be the default configuration as I didn’t do any custom changes…
Is it possible that your system actually hibernates?
Some people are having suspend issues (me also) that result in their FW13 7040 rebooting instead of waking up from suspend. Hibernation, on the other hand, works. Since the default SleepOperation in your distribution seems to be suspend-then-hibernate, you laptop might actually wake up from hibernation due to a failed suspend, which then takes some time.
@chwd I would also ask if it is happening with any external devices connected? Did you restore any backups when you reinstalled the OS? Could you see if it happens from a live disk as well? A live disk would be the media that you used to install Fedora.
Hi,
The boot time doesn’t change with external devices connected, and even when booting from a Fedora 41 Live USB stick, it takes a long time for the computer to wake up.
Well, it’s definitely not doing that. Since nobody else seems to have that particular problem, I really considered reinstalling the OS, but as the device shows the same behavior when booted from a live USB, I don’t have much hope that it will change anything…
Please post the full dmesg log to somewhere like pastebin.com and put a link here. Also which devices do you have plugged in?
I have one usb device that causes some boots to be slow if plugged in during boot.
In the meantime, I had tried adding the boot parameter resume=UUID=... acpi_sleep=nonvs, but it didn’t make any difference – I have since reverted this change.
I’ve tried with and without connected devices and even with no expansion cards whatsoever, there was no difference with the wakeup time.
The resume problem is caused by the NVME SSD.
I see you have a SN850 disk - WDS200T1X0E-00AFY0.
Is there any updated firmware for it available from the manufacturer’s web site?
You can update the firmware from linux.
I don’t think you need the following in your kernel command line: “acpi=force acpi_osi=Linux”
Ok, it looks like you already have the latest firmware.
The lines from the log that point me towards the nvme SSD problem are, just when trying to wake:
Pastebin apparently blocked me after I tried to post the output of amd_s2idle.py. So I’m just posting it here: Hastebin (Output of sudo python3 ~/amd-master/scripts/amd_s2idle.py)