You are not logged in.
Hey there,
I have a problem with hibernating on my Arch System. The hibernating itself seems to work fine, but the computer doesn't turn off.
I did check the wiki page on hibernating to a swapfile and followed it step-by step, but I can't get it to work.
It's stuck on an nvidia-error instead.
Below is every piece of information I could think of being relevant, but if something is missing, let me know.
Info
uname -a
Linux gosupc 4.9.11-1-ARCH #1 SMP PREEMPT Sun Feb 19 13:45:52 UTC 2017 x86_64 GNU/Linux
- system is up-to-date
- DE is KDE Plasma 5
- sleep, shutdown and restart work fine
/etc/default/grub
...
GRUB_CMDLINE_LINUX_DEFAULT="quiet resume=UUID=3b7adad0-c5d8-4b60-b0a2-aedbafce7c87 resume_offset=575488 no_console_suspend ignore_loglevel"
...
- I did use "sudo grub-mkconfig -o /boot/grub/grub.cfg" everytime I modified the kernel parameters.
- The resume and resume_offset parameters are double-checked, in "/etc/fstab" and with "filefrag -v /data/swapfile" respectively.
/etc/fstab
# UUID=74a92d7a-8d04-4322-9fa6-f582ca1283df LABEL=root
UUID=74a92d7a-8d04-4322-9fa6-f582ca1283df / ext4 rw,relatime,data=ordered 0 1
# UUID=3b7adad0-c5d8-4b60-b0a2-aedbafce7c87 LABEL=data
UUID=3b7adad0-c5d8-4b60-b0a2-aedbafce7c87 /data ext4 rw,relatime,data=ordered 0 2
#swapfile
/data/swapfile none swap defaults 0 0
filefrag -v /data/swapfile
Filesystem type is: ef53
File size of /data/swapfile is 4294967296 (1048576 blocks of 4096 bytes)
ext: logical_offset: physical_offset: length: expected: flags:
0: 0.. 0: 575488.. 575488: 1:
1: 1.. 30719: 575489.. 606207: 30719: unwritten
2: 30720.. 61439: 606208.. 636927: 30720: unwritten
3: 61440.. 92159: 636928.. 667647: 30720: unwritten
...
- no_console_suspend and ignore_loglevel are only there for debugging, hibernating still does not work if I remove them.
- Also tried nomodeset, doesn't change anything
/etc/mkinitcpio.conf
...
HOOKS="base udev resume autodetect modconf block filesystems keyboard fsck"
...
- I did rebuild the image with mkinitcpio -p linux after putting resume there
- There is also a post somewhere in the Internet (can't find it anymore, sry) that says the resume-Hook has to be after the udev one,
which is the case.
Here is a screenshot of the hibernating process, since I couldn't find that part in the logs anywhere.
(It doesn't look that strange on my screen, I put an filter on it in GIMP for better readability)
my Guess
I guess the last line is my main Problem:
nvidia-modeset: ERROR: GPU:0: Idling display engine timed out: 0x0000917d:0:0
and the line that is way more up might be part of the problem:
nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing.
At this point my system does nothing, no reboot on (multiple) ctrl-alt-del, no further shutting down, no power-off.
When I then hit the reset-switch, my system starts and resumes fine from the hibernate-image.
When googling the NVIDIA error, there is not much helpful information, it was either resolved by a future kernel update or happened because of misconfiguration.
Any idea on how to fix this are very welcome!
Last edited by GosuSan (2017-03-09 08:32:17)
Offline
Its a bug in the nvidia driver: https://devtalk.nvidia.com/default/topi … idia-370-/
It should be fixed on 381.22, but I'm having the same problems as always.
Offline
I don't remember seeing the same error/warning, but I experienced similar issue with nvidia as well (IIRC 381.22 as well), though it does not always happen, and the hibernation worked fine apart from requiring a long press on the power button
Offline
I don't know when it started happening as I do not hibernate often, but at some point I started to need a file like this here for the machine to shut down correctly:
# /etc/systemd/sleep.conf
[Sleep]
HibernateMode=shutdown
I do use the NVIDIA drivers.
Last edited by Ropid (2017-05-22 19:23:06)
Offline
Hmm, that makes systemd writes 'shutdown' to /sys/power/disk though. Doesn't sound like relevant to nvidia then?
Offline
My report is hidden from public view on nvidia forum... so this must be a real problem that devs want to ignore?
This is the full topic:
The link that you will never see:
Offline
My report is hidden from public view on nvidia forum... so this must be a real problem that devs want to ignore?
This is the full topic:
The link that you will never see:
No, i don't think devs are ignoring this issue. I think it's currently investigated.
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline