mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-18 17:40:38 +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>
14 lines
1.0 KiB
Plaintext
14 lines
1.0 KiB
Plaintext
# Device nodes are created by nvidia-modprobe, which is called by the nvidia DDX.
|
|
# In case the DDX is not started, the device nodes are never created, so call
|
|
# nvidia-modprobe in the udev rules to cover the Wayland/EGLStream and compute
|
|
# case without a started display.
|
|
ACTION=="add|bind", KERNEL=="nvidia", RUN+="/usr/bin/nvidia-modprobe"
|
|
|
|
# Enable runtime PM for NVIDIA VGA/3D controller devices on driver bind
|
|
ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="auto"
|
|
ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="auto"
|
|
|
|
# Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind
|
|
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="on"
|
|
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="on"
|