Heads up: The machdep.lidsuspend compat sysctl is going away. Use machdep.lidaction in sysctl.conf (0:disable/1:suspend/2:hibernate) #OpenBSD
@canadianbryan
0: you'll be fine
1: fsck on next reboot
2: reinstall system on next reboot
😏
@nakal Hmm? I've never seen any such issues with suspend/resume. If it works, it works. It's even the default lid action. No idea what are you on about regarding hibernate..
@canadianbryan Hinernate sometimes does not unhibernate successfully and boots up fresh, fscks follow which is scary. Happened to me twice then I disabled it. Normal sleep is a lot more stable. I think the only issue is that sometimes VGA is not reset to Xorg, but stays on text terminal after wakeup.
@nakal Unhibernate relies on the disk and kernel staying the same, you definitely want it to start fresh if it detects this case. Suspend/resume needs graphics drivers, otherwise it can't reinit hw, for example efifb(4) is lost.
@nakal I've certainly had more luck with OpenBSD's ACPI/hibernation implementation than the buggy Intel ACPICA used by Linux/FreeBSD.