You are not logged in.
I'm use Arch + Gnome 43 with full disk encryption and my laptop can't wakeup after hibernation. This problem with any kernel, I check linux, linux-lts, linux-zen and linux-hardened. I found information that hibernation is disabled in the hardened kernel, but the question remains open for other kernels.
Graphics:
Graphics:
Device-1: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: Lenovo
driver: nvidia v: 520.56.06 arch: Turing pcie: speed: 2.5 GT/s lanes: 8
bus-ID: 01:00.0 chip-ID: 10de:1f15 class-ID: 0300
Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5.1
pcie: speed: 16 GT/s lanes: 16 ports: active: eDP-1 empty: none
bus-ID: 06:00.0 chip-ID: 1002:1636 class-ID: 0300 temp: 42.0 C
Device-3: Chicony Integrated Camera type: USB driver: uvcvideo
bus-ID: 3-3:2 chip-ID: 04f2:b6c2 class-ID: 0e02 serial: 0001
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5
compositor: gnome-shell v: 43.0 driver: X: loaded: modesetting,nvidia
alternate: fbdev,nouveau,nv,vesa dri: radeonsi gpu: amdgpu display-ID: :1
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: BOE Display 0x08df res: 1920x1080 hz: 144 dpi: 142
size: 344x194mm (13.54x7.64") diag: 395mm (15.5") modes: max: 1920x1080
min: 640x480
API: OpenGL v: 4.6 Mesa 22.2.1 renderer: RENOIR (renoir LLVM 14.0.6 DRM
3.42 5.15.76-1-lts) direct render: YesOffline
Did you check here?: dm-crypt/Swap encryption/2 With suspend-to-disk support
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Did you check here?: dm-crypt/Swap encryption/2 With suspend-to-disk support
there is a certainty that the problem is in encryption? ok, I'm reinstall Arch and check it. also, a ~year ago everything worked without swapping
Offline
If the swap is encrypted, then the kernel cannot resume from swap unless it can unlock the volume first.
--
saint_abroad
Offline
there is a certainty that the problem is in encryption? ok, I'm reinstall Arch and check it. also, a ~year ago everything worked without swapping
Why would you need to reinstall Arch? What do you mean 'without swapping'?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
there is a certainty that the problem is in encryption?
No.
Hibernation works perfectly well with encryption, you just have to configure your system properly.
Offline
What do you mean 'without swapping'?
Sorry, english is not my native language. I mean without swap.
Offline
mass_t wrote:there is a certainty that the problem is in encryption?
No.
Hibernation works perfectly well with encryption, you just have to configure your system properly.
swap file/partition required for hibernation with encrypted disk?
Offline
Yes, you absolutely need a swap space on a physical device to do hibernation, doesn't matter whether your disk is encrypted or not.
Last edited by V1del (2022-11-03 18:25:55)
Offline
Hey folks, yes a swap partition is required for suspend to disk(hibernate aka suspend to disk)! (your boot loader needs this information too!) where should the state be persisted? If you are interested in suspend(supend to RAM) see this article https://wiki.archlinux.org/title/Power_ … _hibernate
Note, if you have sensitive data on your system ensure SWAP is encrypted. And in general what are you trying to archive, suspend to RAM or Disk?
Last edited by stingA0815 (2022-11-03 21:03:21)
Offline