Currently it does not suspend (sleep) in Qubes OS R4.1 at all, well, at least it never resumes.
When I start suspend - the laptop kind of goes to suspend:
the screen goes black as expected,
the fan stops as expected.
But after I press power button to resume - it makes fan work for a second, after that is reboots.
Kubuntu suspends and resumes perfectly well, as expected.
Any help or ideas, guys?
Can you please provide information about this `S0ix`` issue? Maybe links on bugtracker and any other sources of hope that it will work at some point. Thank you for the compare table.
In short, Intel doesn’t provide S3 sleep in its 12th and 13th gen P/U series CPU, instead it provides S0ix, aka “modern standby”. And Xen currently doesn’t support S0ix sleep.
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
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.