This is actually the thing that originally triggered me into wiping my windows OS and switching to Linux a couple years back. Unbelievable that I can put my machine into long-term low power mode and minutes later windows is like ‘lol, did you mean to click update??’
Can’t believe how much better Linux is for 0$.
I had to spend an annoying amount of time finding all of the settings to make it so that my windows machine would never wake up on its own, spread out over an even longer period of time because some of them aren’t easy to trigger on my own so it was a matter of trying something and then trying more things if I find it awake on its own again.
Even disabling the wake on mouse movement was a pain because it doesn’t properly label mice and keyboards and doesn’t have a global setting. I wanted to keep wake on keyboard but not have it wake if my mouse moved a nm because a butterfly flapped its wings too vigorously as it flew by the closed window.
After I installed Linux, I went to do the same thing there only to find it already had sensible defaults set.
sudo apt update && sudo apt upgrade -y
That’s how easy updating is on (Debian flavors)Linux.
On arch it is sudo pacman -Syu or yay
sudo nixos-rebuild switch --update
Turn the fucking PSU off, dipshits. Perfectly safe to do while hibernated, and you’re now in complete control of when it powers on.
Modern PCs don’t truly hibernate, they sleep. If the tower loses power its considered a hard reset.
If anything, Windows machines often have ‘fast boot’ enabled which saves certain things to state, so today’s manual shutdown (without power loss) is closer to old school hibernation than today’s ‘sleep’ is.
You can shutdownyour PC each night, but depending on what you’re working on it can disrupt workflow, so I understand why many people prefer to sleep instead.
STOP TALKING ABOUR WINDOWS!! STOP TALKING ABOUT WINDOWS!!! IM BORED
oOooOooOo 🪟
Ugh, the updates…my work PC is Win 11, I got an email for IT last night telling me I had to install the latest update I had been putting off. This morning after I clocked out I started the update. I have 500 down and it took almost 2 hours to download and 3 hours later the installation is only at 53%. I’m just going to go to bed and hope it’s done by the time I have to clock in tonight.
And my coworkers wonder why I prefer Linux…
My PC does this really annoying thing, whenever I tell it to Install and Shut Down the bloody thing restarts every time
That’s because the shutdown hardly exists anymore. When you choose shutdown now it just hibernates. Reboot is the only way to get the full refresh of a shutdown unless you’re using CMD.
I like and I do use Linux as my main OS. No dual boot BS, just pure Linux
butttttttttttttt
getting hibernate working perfectly in Linux on new hardware is PITA. I’m just happy with suspend working well, let alone hibernation.
Modern standby is the absolute shit of an invention.
This is the ONLY reason I wish I have a Mac. Forget all the memes and jokes about Apple, their laptops suspend very well. IIRC, they also have a hibernation timer built in, so if your laptop automatically hibernates after X hrs. But I dont want to be stuck in their ecosystem, so yeh…
Linux devs are not that keen to make hibernate work well either. Remember systemd dev forcefully removed the “suspend then hibernate” feature? You can still find the thread on Github lol.
OpenSUSE hibernate works. Just have to add extention to show the hibernate button (in GNOME)
this meme is really true for windows, sometimes my pc wakes up the second I put it to sleep. seems to be some random app I have open allowing it to wake up again. infuriating. With intel macs, they wasted a lot of battery asleep, but my silicon mac can sleep for weeks without losing hardly any battery. linux I still can’t get sound to work properly.
this meme is especially true for students and the likes 😂 whenever you share a one-room flat with a laptop made by clueless techbros for clueless techbros, the increased fan whirring really shines.
I agree with some comments here, hibernation/suspension has been tricky, I’ve always had minor bugs and like kinda major, screen… lines? popping up and just not even working sometimes, welp. I suppose it’s better knowing what’s breaking than wrestling control between you and microsoft…
Mine just doesn’t suspend/hibernate at all. Probably some dependency not installed, but I’m not assed to find out which one
Yeah I think it’s going to show up in some log what exactly is causing that but I usually search what I’m supposed to do so… do that if you have time I guess
Me with my computer in a different room
“My PC” was even replaced with “this PC” since Windows 11, which feels almost too symbolic…
Another day of learning about Linux from the comments under a meme.
🤭and sometimes, if you wake your linux things go to shit and all you see is black screen and white mouse on it
Sometimes super+ctrl+alt+F8 saves me and I can restart PC from TTY, and sometimes, there is only a flashing cursor. In second case, I have to take hard measures and forcefully manually restart it
(Yes nvidia card with latest proprietary driver and kde on wayland) -> everything latest meaning from endeavour/arch/aur repos.
Not every Nvidia but always Nvidia.
Maybe it is kinda a bias since nvidia is easy to blame and is existing in most PCs 🤔
All my hybernation issues went away after i switched to an AMD GPU. Not evidence in itself, just an experience an opinion.
AMD had a problems with hibernation, too. amdgpu driver sometimes crashed on waking up. Problems disappeared about a year ago.
Well i switched somewhat around that time. Guess i was lucky.
I started down the Linux route over the weekend and put my computer in hibernation and couldn’t figure out how to wake it up from its torpor without restarting. So I’m going with suspension for the time being
Firstly, welcome :)
Secondly, hibernation on Linux requires swap partition 2x size of the RAM. If you didn’t set it big enough or did not set at all, hibernation wouldn’t work. However if you set it correctly, there should be another reason to consider.
If you are not sure, you can use this command on terminal to compare your RAM and swap sizes.
free -m
According to the FAQ I found, you mostly don’t need double your RAM. Especially for systems with lots of memory, they suggest instead the swap should be the square root of the RAM if you don’t hibernate. If you do it should be RAM + SQRT(RAM).
I’m not sure where the square root part comes from, but I think the general idea is that if you’re using more swap than that, you should just add RAM.
I’m still trying to get hibernate working on Bazzite. I followed the instructions I found and got it to the point that “Hibernate” is showing up in the menu, and when I use that menu item it seems to be saving state, but on boot I can’t get it to restore my previous session. I suspect it has to do with the Bazzite / Universal Blue bootc weirdness, but I haven’t spent much time digging into it yet.
That’s interesting. I guess I understand now why my 2 GB swap can get filled rather quickly. After I read that FAQ, I delved a little more and found this. Apparently it’s not feasible to use hibernation if you have more than 64 GB RAM, well at least until we got much more faster SSDs it seems.
Not the same but if you’re using KDE on Bazzite, KDE has a restore previous windows option (or something like that). You can use it until find a solution.
It looks like they say “not recommended” rather than “not feasible”.
It’s annoying when there’s a doc like that without a date on it. That could be 10 years old now, and might not be taking into account NVMe drives.
And yeah, I’ve been using “restore previous session”, but it’s annoying because it’s not restoring windows in their previous positions on their previous desktops. There is probably a way to enable it to remember previous window positions, but I’ve been trying to get hibernate working rather than poke at that. Besides, what I really want it to remember is my tmux windows and what they were running. That’s really not possible without hibernation / sleep / suspend.
I guess not feasible was a strong word. I saw on a couple forums and it seems it takes around 2 minutes to hibernate if you have that much RAM, even with an NVMe. Probably that’s why it’s not recommended, which is understandable. Also it says Redhat 8, so it shouldn’t be older than 5 years.
I checked and it seems Bazzite doesn’t support hibernation out of the box and you need to disable zram if you want to use it. Kinda weird to me but I never used an immutable distro before so maybe it’s related to that.
Yeah, I already disabled zram. I was following that web page.
I think the issue is that I need to add resume support to the initramfs. Because it’s an immutable distro, I have to do that a bit differently. As for the zram and immutable distro weirdness, I think it’s also Bazzite which is designed to work on the SteamDeck and other portable devices. I remember reading something about their sometimes having low amounts of RAM so they do some weird things to make up for it.
Anyhow, I’m going to try it tonight, wish me luck. :)
I remember reading something about their sometimes having low amounts of RAM so they do some weird things to make up for it.
That makes sense. I was doing a similar but opposite thing when I was still using Windows. It comes with hibernate but I never used it so I was removing the swap equivalent of it every time I install it.
Well, at least have fun with it. Good luck! :)