I had terrible Hibernation problems with wifi and have moved on from the Media Tek to an Intel Wifi card which improved Wifi stability greatly with Hibernation cycles, however I still have hangs with about every 1 in 6 or 7 cycles, symptoms include a screen freeze at either the tail end of the Hibernation cycle or at the start of the resume cycle. The screen would be exactly the point where Hibernate was initiated.
Feels like an amdgpu problem but can’t be sure. Anyone any ideas?
I’m assuming you used the Arch Wiki to set this up. Looks like you are using a partition based on your kernel parms. What do you have for mkinitcpio hooks? I’m hibernating to a swap file and all I have for a kernel parm is the offset and offset resume indicators and mine suspends perfectly.
~
❯ cat /etc/default/grub
# GRUB boot loader configuration
## Linux Zen
GRUB_DEFAULT=0
## Linux LTS
#GRUB_DEFAULT="2"
## Linux Stable
#GRUB_DEFAULT="4"
##
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR="Arch Linux"
#GRUB_CMDLINE_LINUX_DEFAULT="resume=UUID=ec8d38c8-0686-4685-81c5-725762d6a0da loglevel=3 quiet splash"
#GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet resume=UUID=ec8d38c8-0686-4685-81c5-725762d6a0da"
GRUB_CMDLINE_LINUX_DEFAULT="rtc_cmos.use_acpi_alarm=1 loglevel=3 quiet resume=UUID=ec8d38c8-0686-4685-81c5-725762d6a0da"
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y
# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
#GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT_STYLE='countdown'
#GRUB_TIMEOUT_STYLE='hidden'
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `videoinfo'
#GRUB_GFXMODE=auto
GRUB_GFXMODE=1024x768x32,auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true
# Uncomment to disable submenus in boot menu
GRUB_DISABLE_SUBMENU=y
# Probing for other operating systems is disabled for security reasons. Read
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
# functionality install os-prober and uncomment to detect and include other
# operating systems.
#GRUB_DISABLE_OS_PROBER=false
GRUB_DISABLE_OS_PROBER=true
@David_Markey I’ve been thinking about it and I believe your block device naming is wrong. I think you need to supply the UUID of your swap device to both the fstab and cmd line.
I believe I have seen this happen. I didn’t try to “stress hibernate” yet, but when I was testing the wifi card issues (which should be fixed in 6.8) I noticed I got a hard freeze on resume. Same as you it showed the screen ok but the mouse never “unstuck” and I could just powercycle. Nothing else worked. Happened 2x so far.
Same here. My laptop hibernates quite often and most times, everything works as expected, but sometimes (2-3 times until now) it locks up completely on resume, forcing me to powercycle.
I though my setup (swap on LVM on LUKS) triggered a bug somewhere, but it sounds like it is the same problem you all have…
OK, I’ve had a small breakthrough, moving to linux-firmware-git to pull in the latest GPU blobs has certainly improved the situation… I’ve gotten to about 25 cycles before locking up (at my best attempt).
It seems this GPU firmware is buggy for hibernation. Also the backlight went a big crazy one time and the laptop rebooted so I think this is definitely something to do with the backlight.
Framework support: Do you need me to open a bug somewhere for AMD?
Hibernation used to work but stopped working some weeks ago (AMD13). Suspend works fine. The hibernation problem persists after updating to the new BIOS (3.05). The screen goes black, then is restored, but neither mouse nor keyboard respond, and only shutting down by long power button press and restarting works.