You are not logged in.
I have Windows 11 and Arch Linux installed on the same hard drive. Fast startup has been disabled in Windows 11. When I boot into Arch Linux and put the system to sleep (systemctl suspend), everything works fine. However, when I wake it up and try to sleep again, it fails (I have to shut down to successfully enter sleep mode), the screen immediately lights up or lights up after a few seconds. It's very frustrating when my laptop cannot enter sleep mode. Thank you in advance for your help. ?
```
-` thinker@thinker
.o+` ---------------
`ooo/ OS: Arch Linux x86_64
`+oooo: Host: WUJIE14XA Standard
`+oooooo: Kernel: 6.10.6-arch1-1
-+oooooo+: Uptime: 58 mins
`/:-:++oooo+: Packages: 990 (pacman)
`/++++/+++++++: Shell: zsh 5.9
`/++++++++++++++: Resolution: 2880x1800
`/+++ooooooooooooo/` DE: Plasma 6.1.4
./ooosssso++osssssso+` WM: kwin
.oossssso-````/ossssss+` Theme: Breeze [GTK2/3]
-osssssso. :ssssssso. Icons: thinker [GTK2/3]
:osssssss/ osssso+++. Terminal: konsole
/ossssssss/ +ssssooo/- Terminal Font: Fira Code 10
`/ossssso+/:- -:/+osssso+- CPU: AMD Ryzen 7 8845HS w/ Radeon 780M Graphics (16) @ 5.137GHz
`+sso+:-` `.-/+oso: GPU: AMD ATI 64:00.0 Phoenix3
`++:. `-/+/ Memory: 3840MiB / 19785MiB
.` `/
```
```
# cat /sys/power/mem_sleep
[s2idle]
```
```
# cat /proc/acpi/wakeup
Device S-state Status Sysfs node
GPP7 S3 *disabled
GP11 S4 *disabled
SWUS S4 *disabled
GP12 S4 *enabled pci:0000:00:04.1
SWUS S4 *disabled
XHC0 S0 *enabled pci:0000:64:00.3
XHC1 S0 *enabled pci:0000:64:00.4
XHC2 S0 *disabled pci:0000:66:00.0
XHC3 S0 *enabled pci:0000:66:00.3
XHC4 S0 *enabled pci:0000:66:00.4
NHI0 S0 *disabled
NHI1 S0 *enabled pci:0000:66:00.6
GPP5 S0 *enabled pci:0000:00:02.1
GPP6 S4 *enabled pci:0000:00:02.2
GPP0 S4 *disabled
```
Last edited by liuyi (2024-08-23 13:12:21)
Offline
I don't know why it works, but after adding mem_sleep_default=deep to GRUB_CMDLINE_LINUX_DEFAULT in the /etc/default/grub file, everything is fine.
```
GRUB_CMDLINE_LINUX="amdgpu.dcdebugmask=0x10 amdgpu.sg_display=0 mem_sleep_default=deep"
sudo grub-mkconfig -o /boot/grub/grub.cfg
```
Offline