You are not logged in.

#1 2022-12-27 10:59:43

robber
Member
Registered: 2022-12-27
Posts: 4

Laptop does not wake up from [ deep ] sleep

I just recently received my Tuxedo InfinitiyBook Pro 14 Gen 7 . As described on the wiki page for the predecessor the default suspend variant is s2idle. But with this variant, I lose roughly 20% of battery overnight, which is why I would prefer the deep variant.

When I select this variant using the mem_sleep_default=deep kernel parameter, however, my device does not wake up from sleep once suspended. I have seen forum posts of people having similar problems, but it seems to be a very hardware / scenario specific problem. In my case, the suspend seems to work, since the power LED starts blinking. When I wake the device up, the power LED stops blinking, but the screen remains black. I can't access a tty with the laptop in this state.

I have basic Linux knowledge, but I don't know how to debug this one. Do you have any suggestion about where to start looking?

Offline

#2 2022-12-27 22:32:54

GameLostException
Member
Registered: 2022-11-23
Posts: 12

Re: Laptop does not wake up from [ deep ] sleep

Heya, I've been through a similar use-case on a Dell laptop with an NVIDIA GPU (I've looked up your laptop and it seems to have an NVIDIA GPU as well).
In my case, the GPU was failing to reload properly via some entries the drivers are meant to create into /dev/. I could see this in journalctl at the time of a failed wake-up:

> journalctl
Nov 20 17:05:40 local systemd-udevd[510]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'' failed with exit code 1.
Nov 20 17:05:40 local systemd-udevd[510]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) ${i}; done'' failed with exit code 1.

Have a look at your journalctl entries at the time the laptop "wakes up" with a black screen and see if there is anything similar.
In my case, the solution was given on an NVIDIA official forum entry that explained that a specific service was needed in order to keep the NVIDIA-created /dev/ entries alive at all time: nvidia-persistenced.service

Here is what solved my issue:

sudo systemctl enable nvidia-persistenced.service
sudo systemctl start nvidia-persistenced.service

Offline

#3 2022-12-30 11:26:13

robber
Member
Registered: 2022-12-27
Posts: 4

Re: Laptop does not wake up from [ deep ] sleep

Hey GameLostException, thanks for your reply! I have an Intel GPU, so the problem can't come from NVIDIA, sadly.

I've taken a look at my journalctl, but it sadly does not give any clue either as to why the system does not wake up.

> journalctl

Dec 30 12:08:23 rover2 systemd[1]: Stopping TUXEDO Control Center Service...
Dec 30 12:08:23 rover2 tccd[24574]: Stopping daemon..
Dec 30 12:08:23 rover2 tccd[4297]: SIGINT - Exiting
Dec 30 12:08:23 rover2 tccd[4297]: DisplayBacklightWorker: Refused to save display brightness 0 from intel_backlight
Dec 30 12:08:23 rover2 tccd[24574]: Daemon is stopped
Dec 30 12:08:23 rover2 systemd[1]: tccd.service: Deactivated successfully.
Dec 30 12:08:23 rover2 systemd[1]: Stopped TUXEDO Control Center Service.
Dec 30 12:08:23 rover2 systemd[1]: tccd.service: Consumed 2min 19.815s CPU time.
Dec 30 12:08:23 rover2 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tccd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=>
Dec 30 12:08:23 rover2 kernel: audit: type=1131 audit(1672398503.486:325): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tccd comm="systemd" exe="/usr/lib/systemd/systemd>
Dec 30 12:08:23 rover2 systemd[1]: Finished TUXEDO Control Center Service (sleep/resume).
Dec 30 12:08:23 rover2 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tccd-sleep comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? te>
Dec 30 12:08:23 rover2 systemd[1]: Reached target Sleep.
Dec 30 12:08:23 rover2 kernel: audit: type=1130 audit(1672398503.510:326): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=tccd-sleep comm="systemd" exe="/usr/lib/systemd/s>
Dec 30 12:08:23 rover2 systemd[1]: Starting System Suspend...
Dec 30 12:08:23 rover2 systemd-sleep[24580]: Entering sleep state 'suspend'...
Dec 30 12:08:23 rover2 kernel: PM: suspend entry (deep)

That's everything I get. When I try to wake up the system, no log entries appear, the next thing in the journal is the next boot after I've killed the system. Do you have any idea on how to investigate this any further?

Offline

#4 2022-12-30 11:41:05

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Laptop does not wake up from [ deep ] sleep

When the machine resumes from suspend with the blank screen can you ssh into it?

And a couple of wild swings:

robber wrote:

I have an Intel GPU

If the xf86-video-intel package is installed either remove it or try forcing the modesetting DDX driver instead.

If this is a dual-boot machine with Windows installed make sure "fast startup" [sic] is disabled.


Jin, Jîyan, Azadî

Offline

#5 2022-12-30 12:04:06

robber
Member
Registered: 2022-12-27
Posts: 4

Re: Laptop does not wake up from [ deep ] sleep

It's not a dual boot machine and I don't have the xf86-video-intel package installed.

I'm also not able to ssh into it after I attempt to resume it, so it seems like it's not just the screen remaining black. Any other idea?

Offline

#6 2022-12-30 12:13:47

GameLostException
Member
Registered: 2022-11-23
Posts: 12

Re: Laptop does not wake up from [ deep ] sleep

Could you please share the journalctl entries written when and after you trigger the machine wake-up?

Also make sure you get the full lines, you may hit -S (i.e. dash, then capital S) once in journalctl to toggle lines wrapping.

Offline

#7 2022-12-30 12:35:47

robber
Member
Registered: 2022-12-27
Posts: 4

Re: Laptop does not wake up from [ deep ] sleep

There are no more entries, the next line indicates the start of the new boot.

Offline

#8 2022-12-30 12:44:44

GameLostException
Member
Registered: 2022-11-23
Posts: 12

Re: Laptop does not wake up from [ deep ] sleep

I'm afraid this issue has reached the limits of my knowledge on that topic then hmm

Lastly I'll share a link that may help you troubleshoot your problem in details: https://01.org/node/3721


Good luck!

Offline

Board footer

Powered by FluxBB