Add a switch or a prompt to decide whether to apply the 10-chwd.conf drop-in?
- Dominant language
- Rust
- Stars
- 122
- Forks
- 39
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 1
Description
The `10-chwd.conf` adds nvidia related modules into `mkinitcpio.conf`. And Arch Linux set `NVreg_PreserveVideoMemoryAllocations=1` by default for `nvidia` module. These settings make hibernation unusable. (See note in https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Preserve_video_memory_after_suspend).
My computer can't properly restore from hibernate. This problem made me confused until I see the `Building initramfs for linux-cachyos` log and comment the `MODULES+=` line in `10-chwd.conf`. After that, hibernate works fine. So I think it's better to add a switch or a prompt to mention this issue.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing where the 10-chwd.conf drop-in is generated or applied to mkinitcpio.conf, then reproduce the “Building initramfs for linux-cachyos” path described in the issue. Check the hibernation impact of the current MODULES+= setting and define how the switch or prompt should let users avoid it; done means the choice is communicated and the resulting configuration supports the selected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100