当我启动 Ubuntu 时,我得到了这个
如果我安装驱动程序 340,则会出现黑屏
我使用最新的驱动程序
$ lspci -v | grep -A 14 NVIDIA
01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1) (prog-if 00 [VGA controller])
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at f8000000 (32-bit, non-prefetchable) [size=32M]
Memory at c8000000 (64-bit, prefetchable) [size=128M]
Memory at d4000000 (64-bit, prefetchable) [size=64M]
I/O ports at cf00 [size=128]
[virtual] Expansion ROM at fa000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_361
01:00.1 Audio device: NVIDIA Corporation GF114 HDMI Audio Controller (rev a1)
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at fbffc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
02:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03) (prog-if 01 [AHCI 1.0])
Subsystem: JMicron Technology Corp. JMB363 SATA/IDE Controller
Flags: bus master, fast devsel, latency 0, IRQ 18
Memory at fdffe000 (32-bit, non-prefetchable) [size=8K]
[virtual] Expansion ROM at fdf00000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: ahci
Kernel modules: ahci
xorg.conf
:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 361.42 (buildmeister@swio-display-x64-rhel04-13) Tue Mar 22 18:37:28 PDT 2016
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
答案1
我在安装 16.04 时遇到了一个问题,我的笔记本电脑启动时会进入低图形模式或黑屏。这是一个略有不同的问题,但应该适用相同的解决方案。
- 通过运行确保所有 NVIDIA 驱动程序都已卸载
sudo apt-get purge nvidia-*
。 - 运行
sudo add-apt-repository ppa:graphics-drivers/ppa
然后sudo apt-get update
。 - 运行
sudo apt-get install nvidia-364
以从此存储库安装最新的 NVIDIA 驱动程序。
看来您知道如何使用终端和/或 TTY,所以希望这些步骤足够详细。如果不详细,请发表评论,我会添加更多内容。