当在主要设置中启用 Nvidia VGA 时,我无法登录 Ubuntu-gnome 15.10。输入密码时显示黑屏,然后再次显示 gdm 登录页面。我安装了各种版本的 Nvidia 驱动程序,但这个问题没有解决。但大约一个月前它就起作用了。请帮帮我!!!
$lshw -C display
*-display UNCLAIMED
description: 3D controller
product: GK208M [GeForce GT 740M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:07:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:4000(size=128)
*-display
description: VGA compatible controller
product: 4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:31 memory:b5000000-b53fffff memory:c0000000-cfffffff ioport:6000(size=64)
答案1
似乎是显卡驱动的问题。我遇到过类似的问题,已经修复了,你可以参考一下这里
通常,您应该使用来自官方 Ubuntu 存储库的驱动程序。由于您遇到了问题,因此使用最新的驱动程序可能会更好。为 GEFORCE GTX 740M 安装最新的官方稳定 NVIDIA 驱动程序。
首先卸载当前安装的 NVIDIA 驱动程序。启动计算机,当出现 GRUB 菜单时...
突出显示 Ubuntu 菜单项并按 E 键。添加nouveau.modeset=0
到 linux 行的末尾。按 F10 启动 Ubuntu 操作系统。
当登录屏幕出现时按 Ctrl+Alt+F1。输入您的用户名和密码,然后执行:
sudo apt-get purge nvidia*
sudo reboot
现在安装最新的官方稳定 NVIDIA 驱动程序。启动计算机,当出现 GRUB 菜单时...
突出显示 Ubuntu 菜单项并按 E 键。添加nouveau.modeset=0
到 linux 行的末尾。按 F10 启动 Ubuntu 操作系统。
当登录屏幕出现时按 Ctrl+Alt+F1。输入您的用户名和密码,然后执行:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-361
sudo reboot
注意:可能明确需要在 BIOS 中选择 NVIDIA 适配器。当您想要使用驱动程序 361 时,无需添加 PPA。在这种情况下,您必须执行的终端命令如下:
sudo apt-get update
sudo apt-get install nvidia-361
sudo reboot
如果您已经从其网站(*运行)安装了 nvidia 驱动程序,请按照该说明将其卸载。