The NVIDIA resource manager recognizes several low-level configuration parameters that can be set using the sysctl driver interface before the X server is started. Normally you should not need to modify any of these parameters, but it is sometimes necessary or desirable to do so.
To view the current settings of these parameters, you need to
issue this sysctl command (nvidia.ko
needs to be loaded):
% sysctl -a hw.nvidia.registry
To change any of the parameters, you need to pass the complete name of the OID followed by '=' and the new value, e.g.:
% sysctl hw.nvidia.registry.DeviceFileMode=0600
It is possible to automate setting these parameters by adding
them to the /etc/sysctl.conf
file.
See man 5
sysctl.conf
for details.