As soon as I put my laptop in suspend mode, the login screen comes back up. I do see it go into the suspend mode and it does turn off the monitor for a second or two but it then wakes up again and shows the login screen. I am not sure whether there is a setting that I have to change to make it work or something else. The suspend feature did work in my previous [Solus] Linux installation.
I do have a SWAP partition of 13GB (I know that swap is mainly used while hibernating the system but I just wanted to point that out).
Please let me know if you need any more info to pinpoint the issue.
I am Priten and I installed EndeavourOS Budgie today. I was a long time Solus user (most than four years) and had to switch as no new release has been made since mid-2021. Additionally, Solus infrastructure has not been operational for over four months, resulting in numerous packages remaining out-of-date with security vulnerabilities going unpatched.
My move to EndeavourOS has been fairly exciting. Most of my apps started working again without any additional configuration once I reinstalled them. I have also heard so much about the EndeavourOS community and was going through the community guidelines and a few posts to see whether someone had similar issues. I found this thread but I am not sure whether it applies to my issue.
I tried that right now but it did not work. With Terminal, the time between the command being executed and the login screen reappearance is around 10 seconds but the laptop does come out of suspend mode on its own
(This was written under the assumption that OP wanted suspend-to-disk not suspend-to-RAM. Hopefully it can still be useful for someone out there who are having issues with waking up from hibernating.)
Hey OP, I’ve used Solus OS as well and I think I know what you’re talking about. I don’t use a laptop but I think this situation is similar, my Arch system wouldn’t wake up after it put itself to sleep/hibernate, the screen stayed black and my login window never showed up. (On Solus I believe the installation automatically gives you a 4GB swap partition. On Arch I had a similar partition scheme but I think I used 16GB.)
My issue was this. Solus automates this but you need to set it up on Arch yourself. I can’t lie- since I switched to Arch months ago, I’ve lived without this feature and just keep my PC running because I couldn’t figure out how to set it up at the time. I admit I didn’t try very hard though because I like to just keep things at their defaults and live with it. But, I think it would simply involve adding a kernel parameter: resume=UUID=insertUUIDofdrivetobehibernatedhere
(sorry if you don’t use grub but the kernel parem is the important part) To add kernel parameters I simply edit grub and add that ^ line to sudo nano /etc/default/grub under the GRUB_CMDLINE_LINUX_DEFAULT= section.
To apply this change, you’ll need to reconfigure grub, which for my specific system I:
Hope this was it, good luck friend. While I’m here I’ll go ahead and teach you how to boot “silently” like on Solus. That was a big plus for me with Solus, the clean looking and instant boot. It’s the same process as above but include these parameters:
(0 is probably overkill but hasn’t caused me issues, if you want more verbosity in your journal you could use 1-3)
PS: Archwiki’s usefulness goes beyond the meme, it really is the most handy thing ever. This situation is an example- googling this question you’d get an assortment of irrelevant results and will find yourself nowhere. Archwiki has the answer right there in bold fully troubleshooted. I always check there first and 90% of the time find my solution.
Yeah I just noticed OP uses a laptop, my instructions were geared more toward how I set my desktop PC up. I can see how such a thing is essential for a laptop. I think it should be around the same alley though, kernel parems. Solus gives you a 4gb swap partition by default during installation. I’ll edit my comment so it is more clear that I’m not using a laptop
Thank you all for your contributions. I am currently trying to suspend my laptop for faster response.
Thank you for sharing your experience and it is nice to meet a former Solus user. I have not tried this yet as I want to primarily make suspend [in memory] work for me. I will definitely, give it a shot once I am done with that though.
I tried a few things but nothing has worked for me so far.
I created a tmp system file to block USB wakeup before the boot and sustain the same after a restart but that did not work. I created the following file, restarted the system, and attempted to suspend the machine.
# Path Mode UID GID Age Argument
w /proc/acpi/wakeup - - - - EHC1
w /proc/acpi/wakeup - - - - EHC2
w /proc/acpi/wakeup - - - - XHC
w /proc/acpi/wakeup - - - - USBE
Created a service to disable USB wakeup as described here.