mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-08 20:57:38 +00:00
b81a95d71e
* feat: Split NVIDIA into current and legacy branches (#8402)
* feat: Split NVIDIA into current and legacy branches
* cleanup: Module variant no longer applicable
* fix: Some sources and anda.hcl files I missed
* fix: More
* chore: Bump release on packages that had changed dependencies
* chore: Bump release on all non-legacy packages
* fix: Oops
* More cleanup for kernel/kernel open changes
* cleanup: Weird line
* fix: Missed that
(cherry picked from commit 853f4a5829)
Signed-off-by: GildedRoach <GildedRoach@users.noreply.github.com>
* fix: Yeet i386
---------
Signed-off-by: GildedRoach <GildedRoach@users.noreply.github.com>
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
# Nouvea/Nova must be blacklisted here as well beside from the initrd to avoid a
|
|
# delayed loading (for example on Optimus laptops where the Nvidia card is not
|
|
# driving the main display).
|
|
|
|
blacklist nouveau
|
|
blacklist nova-core
|
|
|
|
# Add soft dependencies for extra modules as adding the module loading to
|
|
# /usr/lib/modules-load.d/*.conf for systemd consumption, makes the
|
|
# configuration file to be added to the initrd but not the module, throwing an
|
|
# error on plymouth about not being able to find the module.
|
|
# Ref: /usr/lib/dracut/modules.d/00systemd/module-setup.sh
|
|
|
|
# Even adding the modules is not the correct thing, as we don't want it to be
|
|
# included in the initrd, so use this configuration file to specify the
|
|
# dependency.
|
|
|
|
softdep nvidia post: nvidia-uvm nvidia-drm
|
|
|
|
# Enable complete power management. From:
|
|
# file:///usr/share/doc/nvidia-driver/html/powermanagement.html
|
|
|
|
options nvidia NVreg_TemporaryFilePath=/var/tmp
|
|
options nvidia NVreg_EnableS0ixPowerManagement=1
|
|
options nvidia NVreg_PreserveVideoMemoryAllocations=1
|