diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-07 00:24:46 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-07 00:24:46 +0000 |
commit | 7aa669f887a113b95a8cdb1c069d61e26d19871e (patch) | |
tree | 79c0f000477dccaacb8cbef0c112d18c995bcce2 /x11-drivers/nvidia-drivers-legacy/files/nvidia.conf | |
parent | d293ca6678d6b962dac574dc708e923789cc155f (diff) |
x11-drivers/nvidia-drivers-legacy : version bump (v390.138)
Diffstat (limited to 'x11-drivers/nvidia-drivers-legacy/files/nvidia.conf')
-rw-r--r-- | x11-drivers/nvidia-drivers-legacy/files/nvidia.conf | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/x11-drivers/nvidia-drivers-legacy/files/nvidia.conf b/x11-drivers/nvidia-drivers-legacy/files/nvidia.conf index 00c6f588..17351377 100644 --- a/x11-drivers/nvidia-drivers-legacy/files/nvidia.conf +++ b/x11-drivers/nvidia-drivers-legacy/files/nvidia.conf @@ -1,3 +1,20 @@ -blacklist nouveau -options nouveau modeset=0 -alias nouveau off +# 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 |