Ubuntu 16.04:适用于 GeForce GTX 960M 的 nvidia 驱动程序

And*_*rea 11 nvidia xorg graphics drivers 16.04

前段时间我问了一个关于 Ubuntu 14.04的类似问题。

现在我刚刚安装了Ubuntu 16.04,希望在新版本中可以轻松识别显卡。可悲的是,我仍然有类似的问题。

我有一台配备这两款显卡的华硕 N551JW笔记本电脑:

  • 集成英特尔® 核芯显卡 4600
  • NVIDIA® GeForce® GTX 960M 2G GDDR5

默认情况下,Ubuntu 可以识别 Intel 显卡,但不能识别 NVIDIA 显卡。

在此处输入图片说明

我尝试从System Settings > Software & Updates > Additional Software安装 NVIDIA 的驱动程序:

在此处输入图片说明

但是当我重新启动系统时,我无法再访问。我看到了登录屏幕,但是当我输入密码时,我又回到了登录屏幕。

在我上面链接的问题中,有一个适用于 Ubuntu 14.04 的解决方案,我可以在 Ubuntu 16.04 上使用相同的程序吗?或者是否有正确安装 NVIDIA 驱动程序的新方法?


编辑

我按照这些其他答案中的描述进行了尝试:

使用 NVIDIA 显卡安装 Ubuntu 16.04/16.10 之后/期间的图形问题

也正如@Amias Channer所建议的那样

我安装nvidia-364了:

sudo apt-get install nvidia-364
Run Code Online (Sandbox Code Playgroud)

安装要求我为不兼容问题禁用安全启动,我接受禁用它。

我重新启动并且登录运行良好,没有问题。

系统设置 > 软件和更新 > 附加软件中,我现在看到了:

在此处输入图片说明

但我仍然在“系统”>“详细信息”中看到“ Intel® Haswell Mobile ” (如上图所示)。

我现在该怎么办?如何启用 NVIDIA 显卡?

Win*_*nix 2

该文件在 2016 年 5 月 7 日之后被修改,Community没有新的时间戳,但应该有一个 2016 年 9 月 16 日的时间戳,因为它出现在活动列表中。

\n\n

今天上面的答案sudo apt-add-repository ppa:graphics-drivers/ppa结果是:

\n\n
 Fresh drivers from upstream, currently shipping Nvidia.\n\n## Current Status\n\nWe currently recommend: `nvidia-367`, Nvidia\'s current long lived branch.\nFor GeForce 8 and 9 series GPUs use `nvidia-340`\nFor GeForce 6 and 7 series GPUs use `nvidia-304`\n\nnvidia-370 is the current BETA release!\n\n## What we\'re working on right now:\n\n- Normal driver updates\n- Investigating how to bring this goodness to distro on a cadence.\n\n## WARNINGS:\n\nThis PPA is currently in testing, you should be experienced with packaging before you dive in here. Give us a few days to sort out the kinks.\n\nVolunteers welcome! See also: https://github.com/mamarley/nvidia-graphics-drivers/\n\n### How you can help:\n\n## Install PTS and benchmark your gear:\n\n\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0sudo apt-get install phoronix-test-suite\n\nRun the benchmark:\n\n\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0phoronix-test-suite default-benchmark openarena xonotic tesseract gputest unigine-valley\n\nand then say yes when it asks you to submit your results to openbechmarking.org. Then grab a cup of coffee, it takes a bit for the benchmarks to run. Depending on the version of Ubuntu you\'re using it might preferable for you to grabs PTS from upstream directly: http://www.phoronix-test-suite.com/?k=downloads\n\n## Share your results with the community:\n\nPost a link to your results (or any other feedback to): https://launchpad.net/~graphics-drivers-testers\n\nRemember to rerun and resubmit the benchmarks after driver upgrades, this will allow us to gather a bunch of data on performance that we can share with everybody.\n\nIf you run into old documentation referring to other PPAs, you can help us by consolidating references to this PPA.\n\nIf someone wants to go ahead and start prototyping on `software-properties-gtk` on what the GUI should look like, please start hacking!\n\n## Help us Help You!\n\nWe use the donation funds to get the developers hardware to test and upload these drivers, please consider donating to the "community" slider on the donation page if you\'re loving this PPA:\n\nhttp://www.ubuntu.com/download/desktop/contribute\n More info: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa\nPress [ENTER] to continue or ctrl-c to cancel adding it\n
Run Code Online (Sandbox Code Playgroud)\n\n

请注意,Nvidia 网站上有关于upgradingDebian(Ubuntu 所基于的)与全新安装相比的缺点的说明。

\n\n

另请注意,Nvidia 网站可能对 Haswell 有特殊说明,但是他们当前的驱动程序使用相同的驱动程序,从我的低级 GT650M 到 OP 的 GT760M,但基于 Intel CPU 的系统的其他区域可能有各种建议的更改和/或 systemd 或 Debian。

\n\n

还有一些特殊情况,例如 OP,其中集成显卡和独立显卡(又名“混合显卡”)内置于主板中。

\n\n

Nvidia 网站确实谈到了黑屏,这是 AU 中的常见问题(询问 Ubuntu),因此对于大多数阅读 OP 问题的人来说,这是值得访问的。

\n


Ami*_*ias 1

如果您添加图形驱动程序 PPA,您将获得更多版本的 nvidia 驱动程序,其中之一应该适合您,我猜 nvidia-364

ppa 信息页面 https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa

添加 ppa 并安装 nvidia-364:

sudo apt-add-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-364 nvidia-prime
Run Code Online (Sandbox Code Playgroud)

如果问题仍然存在,请尝试其他 nvidia 驱动程序包之一,您可以使用以下命令生成列表:

sudo apt-cache search '^nvidia-[:digit]' --names-only
Run Code Online (Sandbox Code Playgroud)