summaryrefslogtreecommitdiff
path: root/x11-drivers/nvidia-drivers
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/nvidia-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia.conf20
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-455.45.01-r1.ebuild (renamed from x11-drivers/nvidia-drivers/nvidia-drivers-455.45.01.ebuild)3
2 files changed, 1 insertions, 22 deletions
diff --git a/x11-drivers/nvidia-drivers/files/nvidia.conf b/x11-drivers/nvidia-drivers/files/nvidia.conf
deleted file mode 100644
index 17351377..00000000
--- a/x11-drivers/nvidia-drivers/files/nvidia.conf
+++ /dev/null
@@ -1,20 +0,0 @@
-# Nvidia drivers support
-alias char-major-195 nvidia
-alias /dev/nvidiactl char-major-195
-
-# To tweak the driver the following options can be used, note that
-# you should be careful, as it could cause instability!! For more
-# options see /usr/share/doc/PACKAGE/README
-#
-# !!! SECURITY WARNING !!!
-# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
-# WHAT YOU ARE DOING.
-# ONLY ADD TRUSTED USERS TO THE VIDEO GROUP, THESE USERS MAY BE ABLE TO CRASH,
-# COMPROMISE, OR IRREPARABLY DAMAGE THE MACHINE.
-options nvidia \
- NVreg_DeviceFileGID=VIDEOGID \
- NVreg_DeviceFileMode=432 \
- NVreg_DeviceFileUID=0 \
- NVreg_ModifyDeviceFiles=1 \
- NVreg_PreserveVideoMemoryAllocations=1 \
- NVreg_TemporaryFilePath=/tmp
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-455.45.01.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-455.45.01-r1.ebuild
index 3bc089bd..74242854 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-455.45.01.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-455.45.01-r1.ebuild
@@ -118,9 +118,8 @@ donvidia() {
}
src_install() {
- # NVIDIA kernel aliases && blacklist nouveau
+ # blacklist nouveau
insinto /etc/modprobe.d
- doins "${FILESDIR}"/nvidia.conf
doins "${FILESDIR}"/nouveau.conf
# NVIDIA kernel <-> userspace driver config lib