Thinkpad T16 (Intel Gen 12) Does not suspend (sleep) in Qubes OS R4.1 at all

According to PSREF ThinkPad ThinkPad T16 Gen 1 (Intel) and PSREF ThinkPad ThinkPad T16 Gen 1 (Intel) , all thinkpad T16 laptops are shipped with P/U family processors. None with H/HX processors.

And according to Intel® Core™ Processors Technical Resources , P and U processors don’t have S3.

edited

1 Like

That is completely false. My framework laptop with 12th gen CPU has support for S3 sleep. It is up to the manufacture to implement it into the bios.

1 Like

I feel surprised. Framework indeed supports S3 sleep with 12th gen P-series CPU. I don’t know how was this achievable.

1 Like

I tried to shutdown all qubes expect dom0 before trying to suspend. So, it’s not about other qubes.

Does it suspend and resume correctly in Qubes OS R4.1?

The topic was created out of my message, so I extended it a bit to make it a better support request:

edited

1 Like

@balko

Here’s where I thought I’d have major issues, but no, basically I just had to set the mem sleep default to deep. Edit /etc/default/grub and add mem_sleep_default=deep onto the GRUB_CMDLINE_LINUX, then run:
grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg

Have you tried this method?

2 Likes

As far as I know it is a issue that some have managed to solve on the same laptop, I didn’t.

1 Like

Well, for now I know only that those are default kernel options (set out of the box).
I am not sure it is safe nor good to copy all kernel options from GNU/Linux distro to Qubes OS, is it actually recommended?

I tried older kernels for Qubes OS by the way, even 5.15 or something that had awful issues with slow redrawing on 11 and 12-Gen Intel CPUs, but suspend behavior was the same.

P.S. Can custom partitions on the same drive somehow affect suspending or resuming?

So, you do not use suspend at all and what happens when you close the lid?
Are you eager to investigate and solve this issue? I think for many people who but not outdated laptops and plan to try Qubes OS the lack of sleep can be a deal-breaker.

Thanks guys, I will try those things and report back.

edited

1 Like

What it happens is that it will boot back from sleep corectly, but the VMs(everything except dom0) will stop responding.

1 Like

Not recommended. Qubes has specific options.

No.

1 Like

It’s different behavior to mine, be the way. So, the reason of issue can also completely different.

I applied this Suspend/resume troubleshooting | Qubes OS to my laptop. Before it behaved almost like yours(it didn’t auto reboot, I had to force it to shut down)

1 Like

Try Kernel 6.0.7 in dom0 (and S3 sleep mode set in the bios, not windows mode which is s0ix)

If it comes back, but your sys-* vms are frozen, they need a late 5.x kernel not a 6.x.

Other info in my posts from a few months ago. Good luck

2 Likes

I made some tests. My situation:

  • S3 selected in BIOS,
  • Kernel 6.1.12-1 in dom0,
  • All qubes except dom0 shutdown,
  • mem_sleep_default=deep in grub.

I press Suspend (this time I tried using XFCE menu as a common user). The keyboard goes dark. The power LED blinks rapidly for a couple of seconds and then goes blinking slowly with a period of of about 5 seconds.

Then I press any key to wake the laptop up and it starts fans, stops and in a couple of seconds starts again like the computer was completely shutdown, screen is black all the time in this process.
So, it does not resume from suspend, but instead starts like there was a hard-reset.

Any ideas what else should I try?

1 Like