How do I fix wake from sleep?

If you are looking for hibernate, it will be very unstable on linux

my problem isn’t hibernate but its the pc going to sleep and not waking up.

Can you reach a rescue shell using the keys ctrl + alt + F3? If so, log in with your username and password and confirm both.
Then you can enter: reboot or poweroff, to protect your device.
As for your actual problem, you could look on the internet under arch linux.
Example: How do I fix wake from sleep arch linux, to see if the issue is known and perhaps follow the suggested solutions. You can do it!

I tried, im switch back ubuntu. I dont have to worry about my system not waking up if I leave my desk. Nice OS but Im not going to spend days now on trying to fix the suspended/ hibernation feature that not a problem on Ubuntuu and Fedora. Nobara had the same issue as well but. Basic Ubuntu and Fedora just works. Thanks anyway. I might come if arch ever fix this

have you added the resume=/dev/XYZ parameter to your boot loader configuration? if not it will never work :wink:

I didnt get a chance to. I switched back I do have a other drive i could put cachyos on. I still don’t know where put resume= at. Arch documentations just suck and not clear.

what is the bootloader? grub? systemd-boot?
as example my systemd-boot configuration:


	title    cachyos
	linux    /vmlinuz-linux-cachyos-eevdf-lto
	initrd   /initramfs-linux-cachyos-eevdf-lto.img
	options  root=/dev/nvme0n1p1 loglevel=3 nmi_watchdog=0 scsi_mod.scan=async rw audit=0 quiet resume=/dev/nvme0n1p3 fsck.repair=yes fsck.mode=force 

how to proceed with grub

I gave up on Linux sleep/hibernate. My ThinkPad doesn’t support suspend to RAM, and it turns off and boots so fast, that it doesn’t matter anyway if I don’t have hibernate :man_shrugging:

how do I find that? or how do I pull it up? the link did nothing for me to pull any of this up. Arch wiki is super vague on everything

pacman -Q grub or ls /boot/loader/entries and the arch wiki isn’t super vague, it is one of the best wikis out there :wink:

Screenshot From 2024-12-14 08-52-01
Screenshot From 2024-12-14 08-51-28

It means that you gave a different Boot Manager @itsthicc , as you don t use GRUB;

Have a look in there in order to find which one that you used at install;

Edit: forgot terminal command;

pacman -Qs boot manager

i used refind. I have multiple drives so it make sense to go with that

I would think that it s easier to change parameters into GRUB than the other Boot Managers.

Yep, as you stated @itsthicc

On my side I use Systemd-Boot for convenience & it makes some changes , I was on GRUB for years before Cachy s install… I also only have one distro install on my drive.

Hopefully that link might helpyou out @itsthicc

https://rodsbooks.com/refind/configfile.html

so I have to use grub to fix the suspend thing?

You might, but don t quote me on that one.

I never used Hibernate, sleep to disk & such, so I can t help you out on those matters @itsthicc . I just wanted to point out what Boot-Manger you used.

Edit: By the way you ve got some nice hardware in there mate.

my gear is getting old but thank you

1 Like

Lol, You re welcomed @itsthicc welcome to the club ! We basically have similar installs I would think of. Oldie but goodie as the saying goes,

But your CPUs bigger than mine ( a i5-13600K on my end)

Almost same MB & RAM I would guess.

But you beat me big time GPU-wise. lol

1 Like

https://wiki.archlinux.org/title/REFInd#Passing_kernel_parameters