#Suspend Issues

19 messages · Page 1 of 1 (latest)

hasty needle
#

Hello all 👋
The laptop doesn't suspend. I locked the screen, went away, and 20 minutes later it's still not suspended.
Sometimes, when I manually suspend it, it won't wake up. I hear the fans going off, the indicator light is blue, instead of orange, and I can't wake it up. Both external and internal screen show nothing. I have to force shut it down by holding the power button.
Anyone got any tips?
Thanks in advance.

OS: Linux Mint 22.3 x86_64 
Host: Nitro AN517-52 V2.06 
Kernel: 6.17.0-23-generic 
Uptime: 1 day, 1 hour, 1 min 
Packages: 2483 (dpkg), 13 (flatpak) 
Shell: bash 5.2.21 
Resolution: 2560x1440 
DE: Cinnamon 6.6.7 
WM: Mutter (Muffin) 
WM Theme: Mint-Y-Dark (Mint-Y) 
Theme: Mint-Y-Dark [GTK2/3] 
Icons: Mint-Y [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i7-10750H (12) @ 5.000GHz 
GPU: NVIDIA GeForce RTX 3060 Mobile / Max-Q 
GPU: Intel CometLake-H GT2 [UHD Graphics] 
Memory: 4738MiB / 15819MiB
dapper skiff
#

if your computer has any version of TPM in the UEFI-BIOS, then try disabling it.

hasty needle
dapper skiff
#

if secure boot is off anyway, then TPM is moot

hasty needle
dapper skiff
#

was something running like video perhaps, while u locked it?

#

some multimedia process that could inhibit suspend

#

you wrote it worked , 5 hours ago.

hasty needle
hasty needle
# dapper skiff you wrote it worked , 5 hours ago.

It did suspend then. It does so 10 % of the time. But not consistently.
And the fact that I sometimes can't wake it up from suspend without doing a hard reset tells me that there are deeper problems here.

dapper skiff
#

ah.

#

very odd

#

so with TPM off it only works 10% of the time?

#

check in bios : advanced> cpu and motherboard: various paower saving states enabled

hasty needle
hasty needle
#

Okay, based on this:

zenon@linux-mint:~$ systemd-inhibit --list
WHO            UID  USER  PID  COMM           WHAT                                                     WHY                                       MODE 
ModemManager   0    root  979  ModemManager   sleep                                                    ModemManager needs to reset devices       delay
NetworkManager 0    root  1097 NetworkManager sleep                                                    NetworkManager needs to turn off networks delay
UPower         0    root  1024 upowerd        sleep                                                    Pause device polling                      delay
zenon          1000 zenon 1677 csd-power      handle-lid-switch                                        Multiple displays attached                block
zenon          1000 zenon 1661 csd-media-keys handle-power-key:handle-suspend-key:handle-hibernate-key Cinnamon handling keypresses              block
zenon          1000 zenon 1677 csd-power      sleep                                                    Cinnamon needs to lock the screen         delay

6 inhibitors listed.

I tried using these settings (screenshot). After 5 minutes, the screen locked, but didn't suspend. After additional 5-7 minutes, it still didn't suspend.

#

I will now test it with these settings (suspend after 10 minutes) to see if it will make a difference.

#

Same thing. Lock goes through but not the suspend.

#

Would you recommend listening AI on this?
AI's instructions:

  1. Tell Cinnamon to use logind:
gsettings set org.cinnamon.desktop.session session-manager-uses-logind true
gsettings set org.cinnamon.desktop.session settings-daemon-uses-logind true
  1. Configure logind to suspend even when docked/with external displays: Edit /etc/systemd/logind.conf (use sudo) and set:
HandleLidSwitch=suspend
HandleLidSwitchDocked=suspend
LidSwitchIgnoreInhibited=no

(If any lines are present, uncomment and change them; otherwise add them.)
3. Restart and test.
4. Verify no blockers:

systemd-inhibit --list