I have a HP Spectre laptop, suspend is broken on it. Once I try and come back from suspend, none of my screens turn on again, though the laptop is on, and sound will play and I can control it with my keyboard.
This issue happens on all of the distros that I’ve tested, but I’m using Bluefin right now so I thought this would be the best place to ask.
https://bbs.archlinux.org/viewtopic.php?id=283496
I’ve seen this topic on the Arch Linux forums above, and it seems to be the same issue, but it involves recompiling the kernel. Below is a page on ArchWiki, which I think might be the same issue as well.
https://wiki.archlinux.org/title/Intel_graphics#Freeze_after_wake_from_sleep/suspend_with_Raptor_Lake_and_Alder_Lake-P
So my question is, is there a practical easy way to do fix suspend on my laptop? I was thinking maybe there were some custom kernel packages with this fix already?
have you tested it on:
- solus gn/kde
- biglinux
- fedora workstation gn/kde
- mx linux
I have found Solus
to be exceptionally well-maintained and highly reliable. Notably, it stands out as the only distribution where my NVIDIA drivers work flawlessly. Solus avoids the trend of upgrading to NVIDIA 555 drivers prematurely, instead prioritizing user feedback and stability.
If you are comfortable with coding and enjoy tinkering, I strongly recommend NixOS. It allows you to declare your own Intel i915/i965
functional programming code sets, providing a high degree of customization and control over your system.
BigLinux with Kernel 69: Live ISO didn’t have suspend, couldn’t even suspend with systemctl suspend
MX 23.3 AHS: Tried to suspend, I got the same issue, which is it suspends and the screen never wakes up
Solus 4.5 Gnome: Suspends, but screen never wakes up
Fedora: I was using Fedora Workstation before Bluefin and had the same issue
I even tried on NixOS GNOME: The same issue where the screen doesn’t wake up
All of these were tested in their live environments
Do you have wireless or Wi-Fi mouse and keyboard options enabled in the BIOS that is used to wake the device from deep sleep? If so, try disabling them to see if it helps as these interfere. what about when using windows?
It doesn’t have any options like that, and it works fine on Windows. Also, my laptop only supports s2idle and not deep sleep.
perhaps try this:
whats in your
cat /etc/systemd/sleep.conf
Then:
sudo nano /etc/systemd/sleep.conf
and uncomment to look similar to this:
[Sleep]
AllowSuspend=yes
AllowHibernation=yes
AllowSuspendThenHibernate=yes
AllowHybridSleep=yes
SuspendMode=mem
HibernateMode=platform
HibernateState=disk
HybridSleepMode=suspend
HybridSleepState=disk
Then:
sudo udevadm control --reload-rules && sudo udevadm trigger && sudo sysctl --system && sudo systemctl daemon-reload
Then:
systemctl suspend
/etc/systemd/sleep.conf
didn’t exist, so it’s probably using the defaults.
I created the file, and put the settings above, ran those commands, and went to suspend, but it was the same as before.
I’ll try and play some audio through my speakers so I can see when it goes to sleep and when it wakes up, and I’ll try connecting to it remotely to see if I can use it when it wakes up.
I suspend the laptop with systemctl suspend
.
After about 2 seconds, the audio stops and the power button breathes indicating it’s in sleep mode.
I press the power button, audio resumes playing, no display output.
I couldn’t get the remote desktop idea working because it would disconnect me upon suspending.
1 Like
Ok, i just experienced the same issue on fedora workstation, weird !
I created a systemd script and helped, you may find it helpful also
https://github.com/tolgaerok/tolga-scripts/blob/main/FEDORA-40/wake-suspend.md
let me know if it helped
I thought xrandr
was for managing displays on x11? I’m using wayland, and X11 isn’t really usable for me.
Your correct.
Just tested it whilst in Wayland and no issues for me here even on NVIDIA & Wayland on GTX-1650
In that case, we need to adjust the script to run with if...elif
# GNOME on Wayland
gsettings set org.gnome.desktop.interface enable-animations false
sleep 0.5
gsettings set org.gnome.desktop.interface enable-animations true
I updated my repo to check XDG sessions first, and then execute
Unfortunately that didn’t do anything, still won’t return after un-suspending.
I think the only solution is the kernel edit.
try powering off the device, draining any residual power, and then restarting it.
To be honest, after switching back to Windows 11, I haven’t encountered any issues with suspend or blank screens after sleep. I’ve noticed this kind of issue across several Linux platforms I’ve used, including Bluefin and NixOS, so I’m not sure if it’s related to the new kernel or the Mesa/NVIDIA drivers.
For now, I’ve decided to move Bluefin and other Linux platforms to a spare SSD and make Windows 11 the primary OS on my current device. Everything works seamlessly, and I spend less time troubleshooting to get the OS functioning properly
Not having suspend would be a complete deal-breaker for me, and if it wasn’t for hibernation, I would have sold this laptop. But Windows is just completely unusable for me, so I’ll continue to use Linux. But I’d still like to get suspend working anyway. Thanks for taking the time to help though, and maybe if I find something I’ll post my findings in this post.
Since I can’t edit my original post here’s a Reddit post that has some stuff, I checked this out a few months ago but it didn’t really have anything
https://www.reddit.com/r/linuxhardware/comments/169sj7g/
Things which are broken:
- Resuming from suspend
- Camera (Someone got it working but I couldn’t)
- Fingerprint scanner (Probably will never work)
Everything else works.
I had this issue also but 1 x monitors not waking after suspend
I created my own systemd and wake script on my fedora 40 workstation kde and is working flawlessly
I think my problem is probably different from yours, I don’t have an NVIDIA GPU