summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-05 01:27:36 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-05 01:27:36 +0000
commit3bc98a6b25056902ccc45ff4f323618fe19cfeef (patch)
tree1803efbd88c258fc20114aa83ec36a2ff3286499
parent053abca919b6b21b605c4a6455e6319ea8cf6f99 (diff)
x11-drivers/nvidia-drivers : make sure we nuke nouveau
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia.conf2
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-390.132.ebuild2
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild2
3 files changed, 4 insertions, 2 deletions
diff --git a/x11-drivers/nvidia-drivers/files/nvidia.conf b/x11-drivers/nvidia-drivers/files/nvidia.conf
index 31075c0d..00c6f588 100644
--- a/x11-drivers/nvidia-drivers/files/nvidia.conf
+++ b/x11-drivers/nvidia-drivers/files/nvidia.conf
@@ -1 +1,3 @@
blacklist nouveau
+options nouveau modeset=0
+alias nouveau off
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.132.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.132.ebuild
index 93f63478..a60fe398 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.132.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.132.ebuild
@@ -144,7 +144,7 @@ src_install() {
doins ${NV_X11}/10_nvidia_wayland.json
fi
- insinto /etc/modprobe.d
+ insinto /lib/modprobe.d
doins "${FILESDIR}"/nvidia.conf
# NVIDIA kernel <-> userspace driver config lib
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild
index f1e13dde..5dea7496 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-440.44.ebuild
@@ -155,7 +155,7 @@ src_install() {
doins ${NV_X11}/10_nvidia_wayland.json
fi
- insinto /etc/modprobe.d
+ insinto /lib/modprobe.d
doins "${FILESDIR}"/nvidia.conf
# OpenCL ICD for NVIDIA