无法切换到专用的nVidia显卡

我有一台安装了Ubuntu 15.04的华硕F552CL笔记本电脑。

笔记本电脑配备专用的nVidia GeForce GT 710M显卡。

我已经安装并启用了软件更新中建议的所有专有驱动程序 – 附加驱动程序:

screenshot1

当我尝试使用NVIDIA X服务器设置切换到专用图形卡时,会弹出一条消息,要求我注销并重新登录以应用更改:

screenshot2

看起来已经选择了专用显卡:

在此处输入图像描述

但是,如果我退出并重新登录集成显卡,则显示为正在使用的卡:

在此处输入图像描述

我也尝试重新启动而不是注销并重新登录,但集成显卡一直显示为正在使用的卡。

当我在终端中运行gksudo nvidia-settings时,在关闭NVIDIA X服务器设置后,我收到以下消息:

 ERROR: nvidia-settings could not find the registry key file. 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 preopulated or validated, and will not be listed in the help text. Please see the README for possible values and descriptions. 

nvidia设置存在一个已知错误: Bug#1341140 。

如果您收到以下错误消息,则可能受其影响:

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

此错误有一个解决方法,也包含在错误报告中。 从root shell执行以下操作,将340.24替换为实际的驱动程序编号。 (我还得知道他们的意思……)

 mkdir -p /etc/nvidia cd /etc/nvidia ln -s /etc/alternatives/x86_64-linux-gnu_nvidia_app_profile_keys nvidia-application-profiles-340.24-key-documentation ln -s /etc/alternatives/x86_64-linux-gnu_nvidia_app_profile nvidia-application-profiles-340.24-rc 

现在问题应该修复,根据错误报告。


编辑: OP提到他必须改变上述命令如下:

 cd /usr/share/nvidia mv nvidia-application-profiles-340.76-key-documentation nvidia-application-profiles-key-documentation mv nvidia-application-profiles-340.76-rc nvidia-application-profiles-rc