How do I fix wake from sleep?

I’ve and this issue on Cachy OS. My issuse is that my computer won’t wake from sleep. My solution was to reboot but had to reboot twict because on the first reboot, I lost wifi. I didn’t have this problem with Ubuntu.
my system is:

System Details Report


Report details

  • Date generated: 2024-12-12 00:48:42

Hardware Information:

  • Hardware Model: Gigabyte Technology Co., Ltd. Z790 AORUS ELITE AX
  • Memory: 32.0 GiB
  • Processor: 13th Gen Intel® Core™ i7-13700K × 24
  • Graphics: AMD Radeon™ RX 7900 XTX
  • Disk Capacity: 3.3 TB

Software Information:

  • Firmware Version: F12
  • OS Name: CachyOS
  • OS Build: rolling
  • OS Type: 64-bit
  • GNOME Version: 47
  • Windowing System: Wayland
  • Kernel Version: Linux 6.12.4-2-cachyos

Any ideas?

guess you mean ‘suspend-to-disk’
what’s about swap there ?

what do you mean by swap?

you mean this?
Swap: 0 B / 31.10 GiB (0%)
Disk (/): 165.35 GiB / 1.82 TiB (9%) - btrfs

For suspend to disk, your swap space has to be at least the size of the ram.

would you show the fstab [micro /etc/fstab] and the partitioning [parted --list]

your right, when all 32G ram are used but with less ram are a smaller swap is possible, as example i am using half size of ram and its working for me :slight_smile:

@itsthicc please show cat //proc/cmdline, and there should be a part like this: `resume=/path/to/swap"

Sorry for the late reply, I had a final earlier today. So I ha e to make my swap 32gig?

I dint know how to show cat. How do I do that?

  1. open a terminal
  2. type cat /proc/cmdline

you mean this?
quiet zswap.enabled=0 nowatchdog splash rw rootflags=subvol=/@ root=UUID=b89f70a9-a9a8-44e5-86c8-9281c6eac4bc initrd=\initramfs-linux-cachyos.img

exact, this line.

the path to the hiberation space is missing.
https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Hibernation

this is what i’m showing

  1. please don’t post screen shots instead copy and post the ternimal output
  2. the resume hook is missing
  3. follow the advice in the link in my previous post

sorry about that. I’m reading through the link you posted and its just explained it not giving me anyway to do this.

Ok, I can’t figure this out and its looks like I’m going down a crazy rabbit hole just to prevent my system from crashing from sleep. I don’t want to have to reset my system twice to use off sleep. Thank you for the help but I’m switching back to ubuntu. the fact out of the box the os has has this glitch of stalling out my system from sleep is crazy. I didn’t alter anything. I followed the basic install nothing crazy, btrfs was recommend. Now system can’t wake up? crazy Thank you for the help.

arch and there forks have mostly some rough edges^^
anyway please test if mkinitcpio is installed, if not the guid from the arch wiki will not work :wink:
how to test: pacman -Q mkinitcpio

its shows mkinitcpio 39.2-2

this is fine :slight_smile:

next step is at 4.2 add the resume hook in the /etc/mkinitcpio.conf
make a new initramfs sudo mkinitcpio -P
mkinitcpio -h

how to pass the hibernation location to the initramfs: 4.3

ok I did that.