Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885593 - sys-kernel/gentoo-sources-6.1.0: the system no longer goes into hibernate state (black screen only)
Summary: sys-kernel/gentoo-sources-6.1.0: the system no longer goes into hibernate sta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-12 13:50 UTC by squatted_posture785
Modified: 2022-12-14 15:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
$ emerge --info (emerge-info.log,15.79 KB, text/x-log)
2022-12-12 13:50 UTC, squatted_posture785
Details
$ journalctl -b -2 (journalctl-b-2.log,217.95 KB, text/x-log)
2022-12-12 13:51 UTC, squatted_posture785
Details
$ journalctl | rg -i "hiber" (journalctl-rg-hiber.log,9.35 KB, text/x-log)
2022-12-12 13:51 UTC, squatted_posture785
Details

Note You need to log in before you can comment on or make changes to this bug.
Description squatted_posture785 2022-12-12 13:50:34 UTC
After updating to 6.1.0 kernel using sys-kernel/gentoo-sources, when trying to hibernate, the system doesn't reach hibernate state. The screen goes black and the machine stays on indefinitely.

- sys-apps/systemd-252.3
- NVIDIA GTX 970 with x11-drivers/nvidia-drivers-525.60.13
- Suspend still works with 6.1.0 (and I can resume just fine)
- Hibernate works with my 5.10.158, 5.15.82 and 6.0.12 kernels (also compiled via sys-kernel/gentoo-sources)
- Hibernate works on the same machine with my Arch Linux install (on another SSD) after updating to 6.1.arch1-1 kernel today

I did 2 attempts with 6.1.0 to make sure it was consistent

I didn't notice any new setting related to hibernation when running "$ sudo make oldconfig".

My swap volume is still working fine I guess:

$ cat /proc/swaps
Filename				Type		Size		Used		Priority
/dev/dm-1                               partition	33554428	0		-2

$ swapon -s
Filename				Type		Size		Used		Priority
/dev/dm-1                               partition	33554428	0		-2


$ free -mh
               total        used        free      shared  buff/cache   available
Mem:            31Gi       5.4Gi       6.8Gi       114Mi        19Gi        25Gi
Swap:           31Gi          0B        31Gi




Reproducible: Always

Steps to Reproduce:
1. Try to hibernate the machine while booted with 6.1.0 kernel
Actual Results:  
The screen goes black and the machine stays on indefinitely.

Expected Results:  
The machine goes into hibernate state.
Comment 1 squatted_posture785 2022-12-12 13:50:58 UTC
Created attachment 842017 [details]
$ emerge --info
Comment 2 squatted_posture785 2022-12-12 13:51:16 UTC
Created attachment 842019 [details]
$ journalctl -b -2
Comment 3 squatted_posture785 2022-12-12 13:51:35 UTC
Created attachment 842021 [details]
$ journalctl | rg -i "hiber"
Comment 4 Mike Pagano gentoo-dev 2022-12-12 14:11:12 UTC
Hello,

The kernel team does not provide support for out of tree closed source modules like nvidia-drivers.

Assigning to our NVIDIA maintainers.
Comment 5 squatted_posture785 2022-12-14 15:20:18 UTC
Never mind, I did some further testing with the following kernels:

- sys-kernel/gentoo-sources-5.10.158
- sys-kernel/gentoo-sources-5.10.159
- sys-kernel/gentoo-sources-5.15.82
- sys-kernel/gentoo-sources-5.15.83
- sys-kernel/gentoo-sources-6.0.12
- sys-kernel/gentoo-sources-6.0.13
- sys-kernel/gentoo-sources-6.1.0

and could hibernate (and resume from hibernation) just fine with each of them. I don't know what was causing the issue, maybe it'll come back at some point but I guess it has to be something on my end, it's not a regression with 6.1.0.

Marking as fixed.