Repository navigation
Conversation
The early-loaded driver rejects the boot kernel's device freeze while PreserveVideoMemoryAllocations=1, and the saved image is discarded. The module names stay in nvidia.conf so the kms hook is still dropped on NVIDIA-only machines, then a later drop-in removes them.
|
…skipped limine-mkinitcpio can exit successfully after skipping a failed kernel build. Confirm the current UKIs omit the NVIDIA modules before writing the completion marker.
|
Thanks for the careful root-cause work here. Two things: BLOCKING: migration filename collision. Scope. The drop-in goes to every NVIDIA machine, not just hybrids. On an NVIDIA-only box, # Only hybrids: some non-NVIDIA display controller is present
if lspci -n | awk '$2 ~ /^03(00|02|80):$/ && $3 !~ /^10de:/ { found = 1 } END { exit !found }'; then
install -Dm644 "$OMARCHY_INSTALL/hardware/nvidia-no-early-load.conf" \
/etc/mkinitcpio.conf.d/zz-nvidia-no-early-load.conf
fi |
|
I'll regenerate the migration filename and marker with The verified resume was a hybrid (UHD 630 + GTX 1070 Mobile, driver 580.178). I'll leave NVIDIA-only machines alone. #8263 already skips early-loading |
The boot kernel loads
nvidiafrom the initramfs and then freezes every bound GPU while restoring a hibernation image. WithPreserveVideoMemoryAllocations=1that freeze returns -EIO (nv_pmops_freeze-5), and the kernel discards the image and boots a new session.nvidia.confstill lists the modules, soomarchy_hooks.confcan drop thekmshook on an NVIDIA-only machine.zz-nvidia-no-early-load.confis sourced later and removes them from the image. A migration installs that drop-in and rebuilds the Limine image once on machines that already havenvidia.conf.NVreg_PreserveVideoMemoryAllocationsis unchanged, sonvidia-resume.servicecan still restore video memory after the saved session is running.Verified on a hybrid Coffee Lake laptop, Intel UHD 630 plus GTX 1070 Mobile, driver 580.178.04, kernel 7.2.5-3-omarchy. Hibernate returned in the same boot from S4, and
nvidia-resume.servicecompleted successfully. This is the 580xx case in #5554, not the 595 open-driver failure.