mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-05 08:28:03 +00:00
nvidia-modules 415.27-1
This commit is contained in:
15
extra/nvidia-modules/nvidia-drm-outputclass.conf
Normal file
15
extra/nvidia-modules/nvidia-drm-outputclass.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
Section "OutputClass"
|
||||
Identifier "intel"
|
||||
MatchDriver "i915"
|
||||
Driver "modesetting"
|
||||
EndSection
|
||||
|
||||
Section "OutputClass"
|
||||
Identifier "nvidia"
|
||||
MatchDriver "nvidia-drm"
|
||||
Driver "nvidia"
|
||||
Option "AllowEmptyInitialConfiguration"
|
||||
Option "PrimaryGPU" "yes"
|
||||
ModulePath "/usr/lib/nvidia/xorg"
|
||||
ModulePath "/usr/lib/xorg/modules"
|
||||
EndSection
|
||||
20
extra/nvidia-modules/spkgbuild
Normal file
20
extra/nvidia-modules/spkgbuild
Normal file
@@ -0,0 +1,20 @@
|
||||
# description : NVIDIA Linux Display Driver - modules (long lived branch)
|
||||
|
||||
name=nvidia-modules
|
||||
version=415.27
|
||||
release=1
|
||||
source=(http://us.download.nvidia.com/XFree86/Linux-x86_64/$version/NVIDIA-Linux-x86_64-$version.run)
|
||||
md5sum=(f4777691c4673c808d82e37695367f6d)
|
||||
|
||||
build() {
|
||||
sh NVIDIA-Linux-x86_64-$version.run --extract-only
|
||||
|
||||
# kernel modules
|
||||
IGNORE_CC_MISMATCH=1 make -C NVIDIA-Linux-x86_64-$version/kernel module
|
||||
install -d $PKG/lib/modules/$(uname -r)/extra
|
||||
install -m 0644 NVIDIA-Linux-x86_64-$version/kernel/*.ko $PKG/lib/modules/$(uname -r)/extra/
|
||||
|
||||
# blacklist conflict module
|
||||
install -d $PKG/etc/modprobe.d
|
||||
echo "blacklist nouveau" > $PKG/etc/modprobe.d/nvidia.conf
|
||||
}
|
||||
Reference in New Issue
Block a user