问题过程
下载适配PC NVIDIA官方驱动版本,安装完毕,nvidia-smi确认正常,nvidia-settings报错
报错信息
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.
解决办法
NVIDIA官方驱动安装完成后,在/usr/share/nvidia 路径下有对应版本的文件,我安装的版本是NVIDIA-Linux-x86_64-460.80.run,执行以下操作,问题就解决了。
sudo cp nvidia-application-profiles-460.80-key-documentation nvidia-application-profiles-key-documentation