nvidia-settings 在 Ubuntu 12.04 中无法正常工作

nvidia-settings 在 Ubuntu 12.04 中无法正常工作

我正在使用 Ubuntu 12.04.5。我想升级到 14.04,但更新管理器告诉我我的图形硬件可能不适合 14.04,如下所示:

Your graphics hardware may not be fully supported in Ubuntu 14.04.

Running the 'unity' desktop environment is not fully supported by your graphics hardware. 
You will maybe end up in a very slow environment after the upgrade. 
Our advice is to keep the LTS version for now. For more information see 
https://wiki.ubuntu.com/X/Bugs/UpdateManagerWarningForUnity3D 
Do you still want to continue with the upgrade?

我的输出lspci | grep VGA如下:

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [Quadro NVS 4200M] (rev a1)

我不知道这是否是驱动程序的问题,所以我开始配置我的 nvidia 驱动程序。当我执行:

$ nvidia-settings

我收到以下消息:

** (nvidia-settings:3220): WARNING **: PRIME: Failed to execute child process "/usr/bin/prime-supported" (No such file or directory)
** Message: PRIME: is it supported? no

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.

所以我尝试了这个:

$ sudo apt-get install nvidia-prime

然后重启后我的 GUI 就不再工作了。启动系统时只剩下命令行。我删除了软件包,然后又回到了 GUI。有人知道这里的问题是什么吗?

谢谢!!

答案1

您的 nVidia 驱动程序未正确安装,这就是升级抱怨的原因:
它回退到集成显卡...根据您的处理器速度,那个可能会很慢。

我的建议是:

  1. 使用以下方法进行完整系统备份克隆Zilla
  2. 删除 nvidia 驱动程序:

     sudo apt-get purge nvidia*
    
  3. 升级
  4. 使用问答再次安装 nvidia 驱动程序这里根据 14.04。

相关内容