From 7aa669f887a113b95a8cdb1c069d61e26d19871e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 7 Jan 2021 00:24:46 +0000 Subject: x11-drivers/nvidia-drivers-legacy : version bump (v390.138) --- .../nvidia-drivers-legacy/files/nvidia.conf | 23 +++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'x11-drivers/nvidia-drivers-legacy/files/nvidia.conf') 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 -- cgit v1.2.3