hibernate function under porteus

Technical issues/questions of an intermediate or advanced nature.
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 4938
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

hibernate function under porteus

Post#1 by francois » 17 Jul 2016, 11:42

It seems rchase was making a pertinent comment in one of his post about hibernation and linux https://forum.porteus.org/viewtopic.php?f=48&t=6065
... this is called "denial". Suspend and hibernate may not be "properly supported" by much hardware, but somehow Windows and all or most of the improper hardware accomplish suspending -- and resuming!

I have been working with hibernate under lxqt https://forum.porteus.org/viewtopic.php ... 509#p30509 The procedure is included in that link.
At that time, I found the hibernate function useful under porteus lxqt edition. However, using it under kde, I realize that rchase was right.

Do you use the hibernate function? with what desktop? Please share your experience.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 4938
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: hibernate function under porteus

Post#2 by francois » 17 Jul 2016, 11:49

Tested under kde desktop:
For now works for me except when google-chrome is opened, which is a problem.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Ed_P
Contributor
Contributor
Posts: 3154
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: hibernate function under porteus

Post#3 by Ed_P » 17 Jul 2016, 20:29

francois wrote:Do you use the hibernate function? with what desktop? Please share your experience.

I do, with 3.0's LXQT and 3.2's Cinnamon, both 64bit. It did not work with my 3.1 system until I replaced it's kernel with the one from the 3.0 system.

Suspend/hibernate is important to me because I run Porteus on battery powered netbooks and when I'm done using them I shut the cover and depend on the system sleeping until I open the cover. If suspend didn't work I would need to have the machines plugged in all the time.
Ed

User avatar
francois
Contributor
Contributor
Posts: 4938
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: hibernate function under porteus

Post#4 by francois » 18 Jul 2016, 00:03

So it works perfectly for you.
Good to know
Does this means that you seldom resort to file persistence function?.
.
search.php?author_id=870&sr=posts
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Ed_P
Contributor
Contributor
Posts: 3154
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: hibernate function under porteus

Post#5 by Ed_P » 18 Jul 2016, 03:31

francois wrote:Does this means that you seldom resort to file persistence function?.
.
search.php?author_id=870&sr=posts
I have no idea what the "file persistence function" is and the postings in your link that I read don't mention it. I do use a save.dat file with Porteus 3.0 and 3.1 using changes=EXIT. I have one with 3.2 but don't use it due to the guest logon problem when I do.
Ed

User avatar
francois
Contributor
Contributor
Posts: 4938
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: hibernate function under porteus

Post#6 by francois » 18 Jul 2016, 10:54

Persistence is save.dat or the use of the changes cheatcode.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
wread
Module Guard
Module Guard
Posts: 1064
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: hibernate function under porteus

Post#7 by wread » 18 Jul 2016, 12:29

My Porteus Kde5 hibernates properly, also when chrome is opened. Meanwhile I updated it to Plasma 5.7.0 :)
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

tome
Contributor
Contributor
Posts: 562
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: hibernate function under porteus

Post#8 by tome » 26 Feb 2017, 22:02

I have made some test with hibernation i.e. formatting partition as swap, hibernating, surfing the Web. I have resumed from hibernation, added some lines to my porteus.cfg (-rw-rw-rw-) and reformatted swap partition to another fs type. Next boot my porteus.cfg have contained everything new (I think size was the same but main content was part(s) of another text file(s) or clipboard, and last line contained "grd.tubemogul.com/" - now I know "TubeMogul is an enterprise software company for brand advertising" acquired by Adobe), so I couldn't boot. My conclusion: hibernation is or may be risky, especially on newer hardware, it can destroy data integrity between RAM and disks. Interesting think could be also how advertisers and hackers may gather or analyze data.
BTW After I had resumed from hibernation, new connected usb drives were powered-off (after some tests - powered-on but not visible in left panel of File Manager - something wrong with polkit-gnome?) - I use openbox desktop based on Porteus 3.2.2. Resuming from hibernation take similar time to default booting, but hibernating is longer than default shutdown (mechanical disks).

User avatar
francois
Contributor
Contributor
Posts: 4938
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: hibernate function under porteus

Post#9 by francois » 15 Jul 2017, 03:03

Thanks tome for your experimentation. In conclusion porteus is fast enough to boot and shutdown. Hibernation mode is not advantageous.
Voltaire: Le mieux est l'ennemi du bien.

Post Reply