Problems with sleep mode on AMD laptop [Noob user]

New user here, was enjoying Fedora and casually playing ETS2 until I’m constantly going away for a minute, so I hit the power button or close the lid to let my laptop rest, and upon returning I open the lid and the screen doesn’t lit up at all. The power button LED is working and the fans are spinning, no matter what - built-in monitor is off and have to perform emergency shutdown.

This happens when I use Lutris / Steam or whatever to play a game, and this is the most annoying problem number 1.

Number 2, sometimes sleep mode doesn’t work at all: fresh new fedora session: hit power button / close the lid - the screen goes off for 20 seconds before turning back on with login page. Sometimes on fresh new fedora sessions sleep mode works normally: power button / close lid and the power button LED blinks like on Windows 11 sleep mode, and the fans stop spinning, laptop wakes up when I open the lid, press the button again or move the mouse, which is normal.

General info about my laptop is in the photo below.

Any help for a noob is appreciated :folded_hands:

try adding amdgpu.runpm=0 to GRUB kernel parameters to disable buggy GPU power management is my first suggestion.

Also show us the return for:

cat /sys/power/mem_sleep
s2idle [deep]

It also looks to me like you have yet to upgrade to a newer kernel.

Many users report success by forcing the system to use S2idle instead of deeper sleep states, or conversely, enabling S3 (Suspend-to-RAM) in the BIOS if available.
ie:

sudo grubby --update-kernel=ALL --args="mem_sleep_default=deep"

A reboot is needed after.
And Good Luck, inform us if this works for you. :slight_smile:

If that fails still please show this:

cat /proc/cmdline

Thanks

Thanks for the reply!

Tried adding amdgpu.runpm=0 to GRUB, but seems like nothing had changed: during the game and after it the sleep mode was one way only. On fresh sessions, I kept gambling for proper sleep mode I mentioned in “Number 2”.

But THIS sudo grubby --update-kernel=ALL --args="mem_sleep_default=deep" fixed all the problems!

Before this, cat /sys/power/mem_sleep command threw me [s2idle] only, after the sudo command, it outputs s2idle. But still, thank you very much for help, I won’t worry anymore about overheating and stuff while I’m away. :handshake:

And Thanks for pointing to what worked for your case. :+1: