You are not logged in.

#1 2021-12-07 05:04:21

Cactus_Chaos
Member
Registered: 2020-09-02
Posts: 12

[SOLVED] Suspend not working

Hi,

When I suspend, either manually or through timeout, I get a black screen with a cursor and the computer does not sleep. This is the same with a fresh install, however sleeping functions normally on windows.

Any ideas?

Cheers guys

Edit:
Hardware
i5-11400 - B560m
980ti
gnome - 41.1
X11

Last edited by Cactus_Chaos (2022-01-16 07:05:26)

Offline

#2 2021-12-07 07:21:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: [SOLVED] Suspend not working

https://bbs.archlinux.org/viewtopic.php?id=57855

What hardware, what's in the logs?

Offline

#3 2021-12-07 08:06:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Online

#4 2021-12-07 10:58:57

Cactus_Chaos
Member
Registered: 2020-09-02
Posts: 12

Re: [SOLVED] Suspend not working

V1del wrote:

https://bbs.archlinux.org/viewtopic.php?id=57855

What hardware, what's in the logs?

Added the hardware, any idea what logs would be most helpful?

Offline

#5 2021-12-07 12:39:05

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: [SOLVED] Suspend not working

Yes, the system journal for the boot where you tried and failed to suspend the system - "sudo journalctl -b" if it's the current one.

Online

#6 2021-12-08 07:42:23

Cactus_Chaos
Member
Registered: 2020-09-02
Posts: 12

Re: [SOLVED] Suspend not working

When sleeping I can't exit the screen, hence forced to just power of my pc. See logs below after suspend executed smile

Dec 08 17:35:01 Desktop rtkit-daemon[3261]: Supervising 4 threads of 1 processes of 1 users.
Dec 08 17:35:01 Desktop rtkit-daemon[3261]: Successfully made thread 3889 of process 3219 owned by '120' RT at priority 5.
Dec 08 17:35:01 Desktop rtkit-daemon[3261]: Supervising 5 threads of 1 processes of 1 users.
Dec 08 17:35:01 Desktop systemd[595]: Started Sound Service.
Dec 08 17:35:01 Desktop gnome-shell[1276]: Registering session with GDM
Dec 08 17:35:05 Desktop NetworkManager[460]: <info>  [1638948905.1718] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Dec 08 17:35:05 Desktop NetworkManager[460]: <info>  [1638948905.1719] manager: NetworkManager state is now ASLEEP
Dec 08 17:35:05 Desktop gnome-shell[1276]: Screen lock is locked down, not locking
Dec 08 17:35:05 Desktop systemd[1]: Reached target Sleep.
Dec 08 17:35:05 Desktop systemd[1]: Starting System Suspend...
Dec 08 17:35:05 Desktop systemd-sleep[5042]: Entering sleep state 'suspend'...
Dec 08 17:35:05 Desktop kernel: PM: suspend entry (deep)

Offline

#7 2021-12-08 08:29:30

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: [SOLVED] Suspend not working

"sudo journalctl -b", but because of the new revelation about the post-sleep condition, that's probably not getting us anywhere.
See the link I psoted in #3 and since you mentioned it: also the 3rd link below (mandatory, check the windows settings, don't assume)

Online

#8 2021-12-16 01:01:20

Cactus_Chaos
Member
Registered: 2020-09-02
Posts: 12

Re: [SOLVED] Suspend not working

I have disable fast-boot and hibernate on all windows OS (Sleep works fine on windows). Still no cigar, had a look at the third link but not quite sure how to best use.

Offline

#9 2021-12-16 08:42:55

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: [SOLVED] Suspend not working

Did you reboot both OS (windows twice because of voodoo) after disabling windows fast-start?
"had a look at the third link" you mean the link in https://01.org/blogs/rzhang/2015/best-p … ate-issues ?
Read it and start working through the "Debugging" section.

Online

#10 2022-01-05 13:44:41

Cactus_Chaos
Member
Registered: 2020-09-02
Posts: 12

Re: [SOLVED] Suspend not working

Sorry for the late reply.

Reinstalled Arch on the SSD without windows (Only new arch instance is in Grub).

Just using terminal, now when the command:

systemctl hybrid-sleep

Is ran, the system sleeps, and relaunches on mouse movement. However the screen is frozen (No cursor movement) and does not respond to mouse movement.
Although Alt f1/f2 switches between a black screen with still cursor.

Starting to sound like something funky about the motherboard:
B550m Aurus Pro

Offline

#11 2022-01-05 15:55:49

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: [SOLVED] Suspend not working

Can you suspend and resume from the mutli-user.target (no gnome, see 2nd link below)

Online

#12 2022-01-06 04:15:56

Cactus_Chaos
Member
Registered: 2020-09-02
Posts: 12

Re: [SOLVED] Suspend not working

Tried suspending with mult-user.target (Note didn't install gnome on this clean install), same thing. Keyboard and mouse turn off then on, same black screen or back to the terminal with ctl-alt-f1 but frozen.

Thanks

Offline

#13 2022-01-06 16:35:37

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: [SOLVED] Suspend not working

How do you have a mouse on the multi-user.target?
The point of the test is to avoid a display server.

Online

#14 2022-01-07 05:33:10

Cactus_Chaos
Member
Registered: 2020-09-02
Posts: 12

Re: [SOLVED] Suspend not working

As in the leds on them haha smile

Offline

#15 2022-01-07 14:27:42

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: [SOLVED] Suspend not working

So the usb powers up again.
Next test: try to boot w/ "nomodeset", https://wiki.archlinux.org/title/Kernel_parameters and try from there to see whether the problem is the drm.
Do you btw. have the opportunity to ssh into the malfunctioning system?

Online

#16 2022-01-16 07:04:23

Cactus_Chaos
Member
Registered: 2020-09-02
Posts: 12

Re: [SOLVED] Suspend not working

Issue has gone away with latest update!

Offline

#17 2022-01-22 11:18:59

Arachnid92
Member
From: Sweden
Registered: 2011-05-02
Posts: 40
Website

Re: [SOLVED] Suspend not working

For future reference. I had the same problem; whenever suspend was triggered (either manually, through timeout, or lid close) computer would initiate the suspend sequence and then get stuck on a blank screen with a cursor, and would not respond to any input other than a forced reboot through SysRq. My setup:

Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
NVIDIA GeForce RTX 2070
Gnome 41.3
Xorg 21.1.3-1
nvidia 495.46-9
Kernel v5.16.1-arch1-1

My journalctl -b-1 after a reboot looked exactly like OP's. I then tried setting nomodeset=0 in my kernel boot line; this worked but prevented the NVIDIA card from detecting the built-in laptop display (I could only use an external display connected to a mini-DP port). nvidia-drm.modeset=0 did not have any effect whatsoever.
In the end, what worked for me was disabling the systemd units for advanced NVIDIA power-management (i.e. reverting to the kernel-driver callback-based power management, https://forums.developer.nvidia.com/t/f … 470/187150):

$ sudo systemctl disable nvidia-{resume,hibernate,suspend}.service
$ sudo systemctl stop nvidia-{resume,hibernate,suspend}.service  # for good measure, although they should be stopped

Offline

#18 2022-01-23 15:16:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: [SOLVED] Suspend not working

"… disable --now …"

So writing to the NVreg_TemporaryFilePath blocked the S3? Where did you direct that?

Online

Board footer

Powered by FluxBB