mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-14 23:50:38 +00:00
9211fa3011
* fix(nvidia): Automatically pull necessary 32-bit deps
* feat: Fallback service and more
(cherry picked from commit 90e3fe5d62)
Co-authored-by: Gilver <rockgrub@disroot.org>
23 lines
906 B
Plaintext
23 lines
906 B
Plaintext
# NOVA must be blacklisted as it conflicts with both these drivers and Nouveau.
|
|
|
|
blacklist nova-core
|
|
|
|
# Make a soft dependency for nvidia-uvm as adding the module loading to
|
|
# /usr/lib/modules-load.d/nvidia-uvm.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 module 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
|
|
|
|
# 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
|