1234567891011121314151617181920212223242526272829303132333435 |
- # Nvidia drivers support
- # 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 README.txt in /usr/share/doc/nvidia-drivers-460.67
- options nvidia-drm modeset=1
- options nvidia-drm fbdev=1
- #
- # !!! 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=27 \
- NVreg_DeviceFileMode=432 \
- NVreg_DeviceFileUID=0 \
- NVreg_ModifyDeviceFiles=1 \
- NVreg_TemporaryFilePath=/var/tmp \
- NVreg_PreserveVideoMemoryAllocations=1 \
- NVreg_UsePageAttributeTable=1 \
- NVreg_InitializeSystemMemoryAllocations=1 \
- NVreg_EnableMSI=1 \
- NVreg_EnablePCIeGen3=1 \
- NVreg_DynamicPowerManagement=0x02
- alias /dev/nvidiactl char-major-195
- alias char-major-195 nvidia
- remove nvidia modprobe -r --ignore-remove nvidia-drm nvidia-modeset nvidia-uvm nvidia
- softdep nvidia* pre: vfio-pci
- softdep nvidia pre: vfio-pci
- softdep nouveau pre: vfio-pci
|