mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-16 08:30:37 +00:00
60209bf579
* add nvidia-kmod
* add settings, xsettings, mock label
* oops
* add nvidia setting assets
* add libva-nvidia-driver
* add: nvidia-kmod-common w/ properietary defaults
* download the x86 version of the driver package when running common
* add nvidia-driver package
* I don't think we actually need i386
* add a readme, fix build error and clean up script
* add back the accursed tarball script, we can port the thing later
* add nvidia-modprobe
* update metadata, add nvidia-persistenced
* add update scripts to nvidia drivers
* add update scripts for every cuda package
* make the component fetch a separate function for memoization
* cusparse
* cusparselt is not from cuda toolkit
* add nvidia subrepo label for multirepo
* set version for nvidia tarball
* nvidia-driver: download tarballs on build time
* clean up inline prep script
* NVProf is dropped in Jetpack 5, so there's no ARM version of it.
(cherry picked from commit c72c975c16)
Co-authored-by: Cappy Ishihara <cappy@cappuchino.xyz>
25 lines
1009 B
Plaintext
25 lines
1009 B
Plaintext
# Nouveau 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
|
|
|
|
# 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
|