nvidia-settings: ERROR: nvidia-settings could not find the registry key file

Problem process

Download the official driver version of the adapter PC NVIDIA. After installation, NVIDIA SMI confirms that it is normal, and NVIDIA settings reports an error

Error message

ERROR: nvidia-settings could not find the registry key file or the X server is
       not accessible. This file should have been installed along with this
       driver at /usr/share/nvidia/nvidia-application-profiles-key-documentation. The
       application profiles will continue to work, but values cannot be
       prepopulated or validated, and will not be listed in the help text.
       Please see the README for possible values and descriptions.

terms of settlement

After the official NVIDIA driver is installed, there are files of the corresponding version in the path of/usr/share/NVIDIA. The version I installed is nvidia-linux-x86_ 64-460.80.run, perform the following operations to solve the problem.

sudo cp nvidia-application-profiles-460.80-key-documentation nvidia-application-profiles-key-documentation

Read More: