You are not logged in.

#1 2024-06-11 00:28:28

phoenix324
Member
Registered: 2023-08-23
Posts: 106

[Solved] System Freezes after resuming from Hibernation

I saw https://wiki.archlinux.org/title/Power_ … nsistently but in my case the behaviour dosen't matches any of them.

OS: Arch Linux x86_64
Host: GL65 Leopard 9SDK (REV:1.0)
Kernel: Linux 6.9.2-zen1-1-zen
Shell: bash 5.2.26
WM: Hyprland (Wayland)
CPU: Intel(R) Core(TM) i7-9750H (12) @ 4.50 GHz
GPU: Intel UHD Graphics 630 @ 1.15 GHz [Integrated]
Memory: 3.50 GiB / 15.42 GiB (23%)
Swap: 0 B / 24.00 GiB (0%)
Disk (/): 267.98 GiB / 451.44 GiB (59%) - btrfs

So the behaviour i am facing is like this, i hibernate my systemd ( automatically or using manually ), when i resume after several hours. I see my lockscreen ( hyprlock ), my keys are not regestering, i can't change tty. So i do SysReq+R, this gives me back control of the keyboad. Now i can switch to different tty's. The Screen froze on tty1. So when i switch to other tty's. I am not able to come back to tty1. For example i am in tty3, If i do Ctrl+Alt+F1, the screen of the tty3 will still be showing but no keystrokes that i press will update the screen, then i switch to tty3 and input gets registered in tty3.

From the https://wiki.archlinux.org/title/Power_ … nsistently,

A problem may arise when using the hardware watchdog timer...

i have disabled watchdog timer ->

[phoenix@ArchLinux ~]$ cat /proc/cmdline 
initrd=\intel-ucode.img initrd=\initramfs-linux-zen.img root=UUID=ff5d4ba3-25ce-46cd-9bab-dc98091801b1 rw rootflags=subvol=@ quiet splash loglevel=3 mitigations=off nowatchdog modprobe.blacklist=iTCO_wdt fbcon=nodefer vt.global_cursor_default=0
[phoenix@ArchLinux ~]$ cat /proc/sys/kernel/watchdog
0
[phoenix@ArchLinux ~]$ wdctl
wdctl: No default device is available.: No such file or directory

Sometimes the screen goes black due to device initialization from within the initramfs

I do have kms in hook, but my screen dosen't go black. So not sure if this is what affecting me.

HOOKS=(systemd autodetect microcode modconf kms keyboard keymap consolefont block filesystems)

For NVIDIA users, blacklisting the module nvidiafb might help.

i have integrated + dedicated (nvidia) but i have disabled nvidia using `udev rule` https://wiki.archlinux.org/title/Hybrid … screte_GPU

Laptops with an Intel CPU that load the intel_lpss_pci module for a touchpad may face kernel panic on resume (blinking caps lock)

i can still access other tty's after doing SysRq+R and loginto those tty and run any command or DE.



My journalctl since i hybernated, hibernation starts at `Jun 10 22:07:40`, `journalctl --since '2024-06-10 21:54:00` http://0x0.st/XbCH.txt

P.S - is it Hyprland fault?

Last edited by phoenix324 (2024-12-14 07:29:41)

Offline

#2 2024-06-11 21:47:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,673

Re: [Solved] System Freezes after resuming from Hibernation

Jun 11 05:14:13 ArchLinux kernel: kswapd0: page allocation failure: order:0, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0
…
Jun 11 05:14:13 ArchLinux kernel:  zswap_writeback_entry+0x73/0x220
Jun 11 05:14:13 ArchLinux kernel:  shrink_memcg_cb+0x82/0xd0
Jun 11 05:14:13 ArchLinux kernel:  __list_lru_walk_one+0xa3/0x1b0
Jun 11 05:14:13 ArchLinux kernel:  ? __pfx_shrink_memcg_cb+0x10/0x10
Jun 11 05:14:13 ArchLinux kernel:  ? __pfx_shrink_memcg_cb+0x10/0x10
Jun 11 05:14:13 ArchLinux kernel:  list_lru_walk_one+0x5d/0x90
Jun 11 05:14:13 ArchLinux kernel:  zswap_shrinker_scan+0xbd/0x120

Disable zswap.

Jun 11 05:19:41 ArchLinux kernel: i915 0000:00:02.0: [drm] *ERROR* Atomic update failure on pipe A (start=43416 end=43417) time 128 us, min 1062, max 1079, scanline start 1061, end 1080

Does https://wiki.archlinux.org/title/Intel_ … Intel_CPUs help ?
https://bbs.archlinux.org/viewtopic.php … 2#p2175242

What happens if you kill hyprland/isolate the multi-user.target?
Is this strictly limited to hibernation or is suspend to RAM (S3 or S2idle) also affected?
What if you omit hyprlock?

Online

#3 2024-12-14 07:28:48

phoenix324
Member
Registered: 2023-08-23
Posts: 106

Re: [Solved] System Freezes after resuming from Hibernation

Sorry, totally forgot about this. The problem is solved, it must be on Hyprland side as i didn't do anything explicit to fix this.

Offline

Board footer

Powered by FluxBB