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
When you say hibernation, do you mean essentially powered off?
My understanding is that hibernation has always meant that the system is 100% off, but that when it next boots it can read from disk into RAM and then let you resume where you were before you shut down. I ask because “waking” a system in hibernate means turning it on, and it goes through the normal boot process. If it’s still on in some way, that doesn’t sound like hibernation to me. It sounds like “sleep” or “suspend” (ugh, but there are now annoying s<number> states that add confusion to all that.)
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.
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
When you say hibernation, do you mean essentially powered off?
My understanding is that hibernation has always meant that the system is 100% off, but that when it next boots it can read from disk into RAM and then let you resume where you were before you shut down. I ask because “waking” a system in hibernate means turning it on, and it goes through the normal boot process. If it’s still on in some way, that doesn’t sound like hibernation to me. It sounds like “sleep” or “suspend” (ugh, but there are now annoying s<number> states that add confusion to all that.)
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.