Hi!
Upon clikcing on "Log Out..." I am presented with various choices. I am confused which one correpsonds to hibernate (suspend to disk). Is it "Freeze Computer" or "Suspend Computer"? What I need is the memory to be written to the swap partition of the disk and power turned off. In other words, which one of these calls `systemctl hibernate`, or is a different mechanism used?
I had to fiddle with /etc/systemd/sleep.conf and add:
HibernateMode=shutdown
to make hibernation work correctly. Suspend to RAM (often also called "Sleep") makes the laptop hang, so I need to avoid it (unless I find a fix).
Thanks!
Gianluca
----------------------------------------------------- Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://gianluca.today/
Department of Bioengineering University of Washington, Seattle WA U.S.A. -----------------------------------------------------
On 2021/07/03 8:24:21 AM, Gianluca Interlandi wrote:
Hi!
Upon clikcing on "Log Out..." I am presented with various choices. I am confused which one correpsonds to hibernate (suspend to disk). Is it "Freeze Computer" or "Suspend Computer"? What I need is the memory to be written to the swap partition of the disk and power turned off. In other words, which one of these calls `systemctl hibernate`, or is a different mechanism used?
I had to fiddle with /etc/systemd/sleep.conf and add:
HibernateMode=shutdown
to make hibernation work correctly. Suspend to RAM (often also called "Sleep") makes the laptop hang, so I need to avoid it (unless I find a fix).
Thanks!
Gianluca
Ciao Gianluca, if you are using R14.1.0-dev, there are up to 4 possible buttons, depending on what is supported by your system.
- freeze - suspend ==> suspend to RAM - hibernate ==> suspend to disk - hybryd suspend ==> suspend to RAM+disk
Cheers Michele
On Sat, 3 Jul 2021, Michele Calgaro via tde-users wrote:
Ciao Gianluca, if you are using R14.1.0-dev, there are up to 4 possible buttons, depending on what is supported by your system.
- freeze
- suspend ==> suspend to RAM
- hibernate ==> suspend to disk
- hybryd suspend ==> suspend to RAM+disk
Ciao Michele,
I'm using R14.0.10 and it's interesting I do see the hibernate option now. I tried it out and it works. I do not see "hybryd suspend".
Do you please mind explaining the difference between "freeze" and "suspend to RAM"? I understand this question is a bit outside a DE development.
I also wonder how come you no longer see a nice slpash screen during hibernating and resuming as you did in the past. Now it's just a black screen with a blinking cursor at the top.
Thanks,
Gianluca
----------------------------------------------------- Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://gianluca.today/
Department of Bioengineering University of Washington, Seattle WA U.S.A. -----------------------------------------------------
On Fri, 2 Jul 2021, Gianluca Interlandi wrote:
On Sat, 3 Jul 2021, Michele Calgaro via tde-users wrote:
Ciao Gianluca, if you are using R14.1.0-dev, there are up to 4 possible buttons, depending on what is supported by your system.
- freeze
- suspend ==> suspend to RAM
- hibernate ==> suspend to disk
- hybryd suspend ==> suspend to RAM+disk
Ciao Michele,
I'm using R14.0.10 and it's interesting I do see the hibernate option now. I tried it out and it works. I do not see "hybryd suspend".
Do you please mind explaining the difference between "freeze" and "suspend to RAM"? I understand this question is a bit outside a DE development.
I did find some documentation about the different sleep states:
https://www.kernel.org/doc/Documentation/power/states.txt
It says: "This state [freeze] is a generic, pure software, light-weight, system sleep state. [...] This state [freeze] can be used for platforms without Power-On Suspend/Suspend-to-RAM support, [...] It is always supported."
This means, I do not really need to worry whether my system really supports it or not since it's just software based? So there should be little risk that it makes the system hang?
Gianluca
I also wonder how come you no longer see a nice slpash screen during hibernating and resuming as you did in the past. Now it's just a black screen with a blinking cursor at the top.
Thanks,
Gianluca
Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://gianluca.today/
Department of Bioengineering University of Washington, Seattle WA U.S.A.
tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
----------------------------------------------------- Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://gianluca.today/
Department of Bioengineering University of Washington, Seattle WA U.S.A. -----------------------------------------------------
On 2021/07/03 3:50:43 PM, Gianluca Interlandi wrote:
On Fri, 2 Jul 2021, Gianluca Interlandi wrote:
On Sat, 3 Jul 2021, Michele Calgaro via tde-users wrote:
Ciao Gianluca, if you are using R14.1.0-dev, there are up to 4 possible buttons, depending on what is supported by your system.
- freeze
- suspend ==> suspend to RAM
- hibernate ==> suspend to disk
- hybryd suspend ==> suspend to RAM+disk
Ciao Michele,
I'm using R14.0.10 and it's interesting I do see the hibernate option now. I tried it out and it works. I do not see "hybryd suspend".
Do you please mind explaining the difference between "freeze" and "suspend to RAM"? I understand this question is a bit outside a DE development.
I did find some documentation about the different sleep states:
https://www.kernel.org/doc/Documentation/power/states.txt
It says: "This state [freeze] is a generic, pure software, light-weight, system sleep state. [...] This state [freeze] can be used for platforms without Power-On Suspend/Suspend-to-RAM support, [...] It is always supported."
This means, I do not really need to worry whether my system really supports it or not since it's just software based? So there should be little risk that it makes the system hang?
Ciao Gianluca, yes, that kernel doc page is a good reference, I would have pointed you there anyway.
Hybryd suspend is available in R14.1.0-dev and if I remember correctly it is not available in the R14.0.x series. Also, hardware support is required for that. Re freeze: is a lighter form compare to suspend-to-RAM and meant to be quicker to go back to a working state. I have seen system hanging with freeze, though. So give it a go, see how it goes and use it/avoid it depending on the outcoume of the test.
Re the logo after coming up from hibernate, it is likely to be related to the kernel/kernel config you are using since the OS is not operating till the resume from hibernate is completed.
Cheers Michele
It says: "This state [freeze] is a generic, pure software, light-weight, system sleep state. [...] This state [freeze] can be used for platforms without Power-On Suspend/Suspend-to-RAM support, [...] It is always supported."
This means, I do not really need to worry whether my system really supports it or not since it's just software based? So there should be little risk that it makes the system hang?
Ciao Gianluca, yes, that kernel doc page is a good reference, I would have pointed you there anyway.
Hybryd suspend is available in R14.1.0-dev and if I remember correctly it is not available in the R14.0.x series. Also, hardware support is required for that. Re freeze: is a lighter form compare to suspend-to-RAM and meant to be quicker to go back to a working state. I have seen system hanging with freeze, though. So give it a go, see how it goes and use it/avoid it depending on the outcoume of the test.
Ciao Michele,
I tried it out. Both "Freeze" and "Suspend" work! It rocks!
I have another question, also tangential to TDE. I am still using the default SDDM that openSUSE Leap 15.2 came with as the login display manager. It has no "Hibernate" button, but it has a "Sleep" button. Any idea whether this corresponds to Suspend (to RAM) or Hibernate? Last time I tried it out it made my laptop hang but that's before I fixed the problems with Hibernate (had to switch from "platform" to "shutdown"), so it makes me think that "Sleep" in SDDM is actually Hibernate (or something obscure). But this is irrelevant to everyday use since I normally just hibernate from TDE.
I also noticed an interesting fact about "Freeze". If you logged in remotely into the laptop and you put it into the "Freeze" state, your login shell is also "frozen" but comes back up immediately as soon as the laptop resumes and it even "remembered" that I had pressed the ENTER key.
Best,
Gianluca
Re the logo after coming up from hibernate, it is likely to be related to the kernel/kernel config you are using since the OS is not operating till the resume from hibernate is completed.
Cheers Michele
----------------------------------------------------- Gianluca Interlandi, PhD gianluca@u.washington.edu +1 (206) 685 4435 http://gianluca.today/
Department of Bioengineering University of Washington, Seattle WA U.S.A. -----------------------------------------------------
Ciao Michele,
I tried it out. Both "Freeze" and "Suspend" work! It rocks!
I have another question, also tangential to TDE. I am still using the default SDDM that openSUSE Leap 15.2 came with as the login display manager. It has no "Hibernate" button, but it has a "Sleep" button. Any idea whether this corresponds to Suspend (to RAM) or Hibernate? Last time I tried it out it made my laptop hang but that's before I fixed the problems with Hibernate (had to switch from "platform" to "shutdown"), so it makes me think that "Sleep" in SDDM is actually Hibernate (or something obscure). But this is irrelevant to everyday use since I normally just hibernate from TDE.
I also noticed an interesting fact about "Freeze". If you logged in remotely into the laptop and you put it into the "Freeze" state, your login shell is also "frozen" but comes back up immediately as soon as the laptop resumes and it even "remembered" that I had pressed the ENTER key.
Best,
Gianluca
Ciao Giunluca, I don't use openSUSE so I don't have an answer about the "Sleep" button. Simplest way is to just give it a go and see what happens, you will quickly know whether it will hibernate or suspend to RAM.
Cheers Michele