diff options
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/nvidia-drivers/files/nvidia-460.conf | 20 | ||||
-rw-r--r-- | x11-drivers/nvidia-drivers/nvidia-drivers-460.39-r1.ebuild (renamed from x11-drivers/nvidia-drivers/nvidia-drivers-460.39.ebuild) | 2 |
2 files changed, 21 insertions, 1 deletions
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-460.conf b/x11-drivers/nvidia-drivers/files/nvidia-460.conf new file mode 100644 index 000000000000..faf0243a8230 --- /dev/null +++ b/x11-drivers/nvidia-drivers/files/nvidia-460.conf @@ -0,0 +1,20 @@ +# 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=0 \ + NVreg_TemporaryFilePath=/tmp diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-460.39.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-460.39-r1.ebuild index 2c16377cf6eb..87e315b2413a 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-460.39.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-460.39-r1.ebuild @@ -214,7 +214,7 @@ src_install() { # This file is tweaked with the appropriate video group in # pkg_preinst, see bug #491414 insinto /etc/modprobe.d - newins "${FILESDIR}"/nvidia-430.conf nvidia.conf + newins "${FILESDIR}"/nvidia-460.conf nvidia.conf if use uvm; then doins "${FILESDIR}"/nvidia-rmmod.conf |