Summary: | Desktop 12.1 system does not hibernate since KDE 4.8.1 | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | krienke |
Component: | powermanagement | Assignee: | Dario Freddi <drf> |
Status: | RESOLVED WAITINGFORINFO | ||
Severity: | major | CC: | afiestas, Wolfgang_Mader |
Priority: | NOR | ||
Version: | 4.9.0 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
krienke
2012-03-19 13:51:09 UTC
Just tested 4.8.3. The bug is still there. However it seems to make a difference if the system uses a local disk or NFS for the users home directory. I have a office system that uses NFS to mount the users home directory. Mount is done via automount. On this system hibernation does no longer work since KDE 4.8.1 (before 4.8.1 it worked fine). On my home system (same linux, same kde version) with a local disk hibernation still works fine. So I guess that this bug is related to NFS or autofs in some way. The bug is still there in 4.8.3 Now KDE 4.9 is installed, still on openSuSE 12.1 The bug is unfortunately still not fixed. If any developer needs more information to di this, just tell me what you need and I will try to provide it. Rainer I fell like I have the same issue. Since I can use hibernation using pm-hibernate from command line (even within KDE) I guess the kde power management disables the swap partition, such that pm does not find it any more. This breaks hibernation. See [1] for my post in the KDE forum. Anyone needs some background information? I would be grad to provide. [1] http://forum.kde.org/viewtopic.php?f=225&t=108990 Do you have a swap partition? if so how big is it? is it bigger than RAM? Closing bug for lack of feedback. Please, if you can reproduce this with KDE 4.10, upower and a "recent" kernel and with a swap parition feeel free to reopen the bug. Thanks ! Sorry for the lack of feedback. I didn't ment to be rude. Abstract: KDE hibernation mechanism works for me on two different machines using a dedicated swap partition as well as using a swap file. Long description: I tested the issue on a current KDE (4.10.2) and current kernel 3.8.8 on two machines. One is using a dedicated swap partition, the other a swap file. I am using the kernel suspend and hibernation system, and pm-utils are installed as wrapper. I am also running systemd, but according to documentation, its power management is cut out of the loop when running KDE. Therefore, I assume, the pm-utils wrapper are used. First, you have to make sure, that the system is set-up correctly for hibernation. Suspent to RAM should work out of the box. On my Archlinux system setting up hibernation means adding the 'resume' hook to the initial RAM disk (/etc/mkinitcpio.conf) and appending a boot parameter to the kernel for your swap solution. In the case of a swap partition this is resume=/dev/sdaX where X is the number of your swap partition. For a swap file you have to give the partition on which the swap files is locatet as well as the offset to the beginning of this file. This reads as resume=/dev/sdaX resume_offset=12346 The offset can be determined using the command filefrag -v /path/to/swapfile. Please consult the excelent Arch wiki page on hibernation for more details. After adjusting the configs you have to built a new initramfs using mkinitcpio -p imageName with imageName the name of your image. For me this in linux. Furthermore, you have to make sure that the new kernel parameter take effect. Please consult the documentation of your boot loader. After this, I tested hibernation first by issuing pm-hibernate as root two times in a row, which completed successfully on both machines. After this I tested the KDE suspend mechanism using Logout->Suspend to disk. This also did the job. For the machine with the swap file the hibernation takes around 30sec to complete. I am not sure if this as due to the swap file or connected to the used wifi driver (broadcom something) or then nvidia driver blob. Nice to know it is working for you now :) 30s does not sound too bad for hibernation. Cheerz ! |