You are not logged in.

#1 2025-05-18 03:00:16

Lr2bej77n892lio
Member
Registered: 2025-04-30
Posts: 9

[SOLVED] Suspend turns off monitor, but the system keeps running

IT'S SOLVED

Solution 1 :
Use X instead of Wayland.
(https://wiki.archlinux.org/title/GDM#Use_Xorg_backend)
(https://wiki.archlinux.org/title/GNOME#Xorg_sessions)

Solution 2 (w/ Wayland) :
If you find logs like this

$ journalctl -b
Freezing user space processes failed after 20.007 seconds (1 tasks refusing to freeze, wq_busy=0):
task:gnome-shell     state:R  running task     stack:0     pid:1239  tgid:1239  ppid:1146   task_flags:0x400000 flags:0x00004006

refer to this link :
https://forums.developer.nvidia.com/t/t … /200933/12
https://bbs.archlinux.org/viewtopic.php … 9#p2044189

------------------------------------------------------------------------------------

RTX 4060 / GNOME Wayland

the monitor turns off, but the desktop keeps running.
even when I try to wake up, monitor stays black.

$ journalctl -b -1 --since "11:28"

OUTPUT: https://0x0.st/8vDj.txt

[Timeline]
11:28 Attempted to suspend the system. (monitor turns off, but the desktop remains active. Num Lock lights on)
11:31 Tried to wake up using mouse and keyboard.
11:32 Switched to TTY3 and pressed Ctrl+Alt+Del (system doesn’t reboot unless switched to TTY3)

This issue doesn't happen every time. Sometimes suspend works just fine.
So I really have no idea what's causing it.

Last edited by Lr2bej77n892lio (2025-05-21 12:46:07)

Offline

#2 2025-05-18 06:22:55

seth
Member
Registered: 2012-09-03
Posts: 64,044

Re: [SOLVED] Suspend turns off monitor, but the system keeps running

gnome-shell  gets stuck in the nvidia kernel module, please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

to illustrate the overall configuration, but speculatively: https://wiki.archlinux.org/title/NVIDIA … P_firmware

Offline

#3 2025-05-18 09:35:25

Lr2bej77n892lio
Member
Registered: 2025-04-30
Posts: 9

Re: [SOLVED] Suspend turns off monitor, but the system keeps running

Thank you so much for your response.
http://0x0.st/8vdF.txt

Last edited by Lr2bej77n892lio (2025-05-18 09:53:37)

Offline

#4 2025-05-18 15:49:19

seth
Member
Registered: 2012-09-03
Posts: 64,044

Re: [SOLVED] Suspend turns off monitor, but the system keeps running

nomodeset

Don't. Instead set

nvidia_drm.modeset=1 nvidia.NVreg_EnableGpuFirmware=0

Offline

#5 2025-05-21 05:56:46

Lr2bej77n892lio
Member
Registered: 2025-04-30
Posts: 9

Re: [SOLVED] Suspend turns off monitor, but the system keeps running

i'm sorry for the late reply.

it's doesn't work. pc is still running.
but now I'm able to wake it up.

https://0x0.st/8wOb.txt

May 21 14:33:26 archlinux kernel: PM: suspend entry (deep)
May 21 14:33:47 archlinux kernel: Freezing user space processes failed after 20.006 seconds (1 tasks refusing to freeze, wq_busy=0): 

Deel sleep failed

May 21 14:33:47 archlinux kernel: PM: suspend entry (s2idle)

Enter s2idle instead

Last edited by Lr2bej77n892lio (2025-05-21 05:58:42)

Offline

#6 2025-05-21 07:13:02

seth
Member
Registered: 2012-09-03
Posts: 64,044

Re: [SOLVED] Suspend turns off monitor, but the system keeps running

Do you get the same with an X11 gnome session (and *also* https://wiki.archlinux.org/title/GDM#Use_Xorg_backend )?

Offline

#7 2025-05-21 09:48:28

Lr2bej77n892lio
Member
Registered: 2025-04-30
Posts: 9

Re: [SOLVED] Suspend turns off monitor, but the system keeps running

Do you get the same with an X11 gnome session (and *also* https://wiki.archlinux.org/title/GDM#Use_Xorg_backend )?

When I resume, I get a black screen with mouse cursor for a few seconds.
suspend works well. but something isn't smooth.

I think main issue is solved anyway
Thanks for your help

Last edited by Lr2bej77n892lio (2025-05-21 10:19:54)

Offline

#8 2025-05-21 13:37:35

seth
Member
Registered: 2012-09-03
Posts: 64,044

Re: [SOLVED] Suspend turns off monitor, but the system keeps running

suspend works well. but something isn't smooth

What does that mean?
gnome-shell no longre hangs up in

May 21 14:33:47 archlinux kernel: task:gnome-shell     state:R  running task     stack:0     pid:1225  tgid:1225  ppid:1132   task_flags:0x400000 flags:0x00004006

?

You could try to revert

May 21 14:33:26 archlinux systemd-sleep[1898]: User sessions remain unfrozen on explicit request ($SYSTEMD_SLEEP_FREEZE_USER_SESSIONS=0).

by moving away
/usr/lib/systemd/system/systemd-hibernate.service.d/10-nvidia-no-freeze-session.conf
/usr/lib/systemd/system/systemd-homed.service.d/10-nvidia-no-freeze-session.conf
/usr/lib/systemd/system/systemd-hybrid-sleep.service.d/10-nvidia-no-freeze-session.conf
/usr/lib/systemd/system/systemd-suspend-then-hibernate.service.d/10-nvidia-no-freeze-session.conf
/usr/lib/systemd/system/systemd-suspend.service.d/10-nvidia-no-freeze-session.conf

Offline

#9 2025-05-22 04:52:46

Lr2bej77n892lio
Member
Registered: 2025-04-30
Posts: 9

Re: [SOLVED] Suspend turns off monitor, but the system keeps running

suspend works well. but something isn't smooth.

Suspend works fine. But, there was a temporary black screen issue after resume.
I think it's probably my fault.

Offline

Board footer

Powered by FluxBB