diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 00:25:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 00:25:35 +0000 |
commit | 5b6fafdb88724180bdf9e080a313cf1a255ce28f (patch) | |
tree | bc6c01283d4c622b2d777c4aacf576b08c0faaa5 /x11-drivers/nvidia-drivers/files/nvidia.conf | |
parent | 820f109bd2ccce6c9123fd4df490152a347aebea (diff) |
sys-kernel/nvidia-drivers-dkms && x11-drivers/nvidia-drivers && x11-misc/nvidia-settings : version bump
Diffstat (limited to 'x11-drivers/nvidia-drivers/files/nvidia.conf')
-rw-r--r-- | x11-drivers/nvidia-drivers/files/nvidia.conf | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/x11-drivers/nvidia-drivers/files/nvidia.conf b/x11-drivers/nvidia-drivers/files/nvidia.conf index 00c6f588..17351377 100644 --- a/x11-drivers/nvidia-drivers/files/nvidia.conf +++ b/x11-drivers/nvidia-drivers/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 |