Skip to content

Comments

Updates#37

Merged
Vantesh merged 2 commits intomainfrom
dev
Oct 19, 2025
Merged

Updates#37
Vantesh merged 2 commits intomainfrom
dev

Conversation

@Vantesh
Copy link
Owner

@Vantesh Vantesh commented Oct 19, 2025

This pull request improves the reliability of hibernation setup for laptops using NVIDIA GPUs by ensuring the correct ordering of kernel modules in the mkinitcpio configuration. It also updates the refresh period for the external DankMaterialShell repository.

Hibernation Setup Improvements

  • Ensures NVIDIA modules (nvidia, nvidia_modeset, nvidia_uvm, nvidia_drm) are always listed before compression modules (lz4, lz4_compress) in the MODULES array within mkinitcpio.conf, which is critical for hibernation to work with NVIDIA GPUs. The script now detects ordering issues and rebuilds the list as needed.
  • Adds logic to automatically include any missing NVIDIA or compression modules and only updates the configuration if changes are required, reducing unnecessary writes and potential errors.

External Repository Configuration

  • Changes the refreshPeriod for the DankMaterialShell external git repository from 36 hours to 24 hours, ensuring more frequent updates.

* Ensure NVIDIA modules are prioritized before compression modules for hibernation functionality.
@Vantesh Vantesh merged commit 27e0fa8 into main Oct 19, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant