Linux 上的 NVIDIA 驱动程序黑屏

Linux 上的 NVIDIA 驱动程序黑屏

尝试安装任何形式的 Linux(试过 Ubuntu 13.04、Mint 15 Cinnamon、Fedora 18 KDE)时,我遇到了一些问题:

首先,我在他们的两张 Live CD 中都遇到了严重的延迟。一开始会完全挂起几分钟,然后屏幕最终变黑,再也不会显示任何内容。

以下是我的规格:

华硕 P8P67 Pro Rev 3.1 主板(最新 BIOS 2013 年 8 月 6 日)
英特尔 i7 2600K 处理器
128GB OCZ SOLID3 SSD(最新 FW 2013 年 8 月 6 日)
1TB Seagate Barracuda 7200RPM HDD
NVIDIA GeForce GTX 580
Yamakasi Catleap Q270 (2560x1440 @ 60Hz) 通过双链路 DVI

其次:我已经能够安装操作系统(不知何故,Ubuntu 的 liveCD 选项之一以及 Fedora KDE 都可以顺利完成安装,而不会出现延迟),但安装时,我必须尽快通过终端安装 nvidia 驱动程序,否则我会再次遇到严重延迟。但是,安装驱动程序后,重启时屏幕会变黑。

如果这个问题是重复的而我错过了,请告诉我,我会很乐意将其删除。

我认为问题出在图形驱动程序、显卡或显示器本身。我的问题甚至发生在已安装的 Linux/Ubuntu 版本中,而不仅仅是 Live CD。我尝试获取 nvidia 驱动程序并按照此网站上的大量指南进行操作,但它们都导致我在启动时出现黑屏,并且必须按 Ctrl+Alt+F1 才能进入终端。如果有人有任何建议或任何东西,我将不胜感激。

我知道两个开放式问题使用我的 Ubuntu(Nouveau) 显卡具体来说:12,但这些解决方法对我不起作用。而且,nvidia 驱动程序与这些无关 - 安装它实际上是建议的解决方法,这实际上使我的问题变得更糟。

答案1

经过数周的折腾,我终于找到了问题所在!事实上,问题出在显示器上。

http://ubuntuforums.org/showthread.php?t=2038997

我按照这里的指南并手动编辑了我的 xorg.conf 文件,现在一切都运行正常!

在此处添加内容以防论坛被存档:

# This section defines the Catleap (HiRes) monitor.  
# I just left this section completely the same as in the example
#

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Shimian"
    ModelName      "QHD270"
    HorizSync      88.8
    VertRefresh    59.5
    Option         "DPMS"
    Modeline       "2560x1440" 241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync
    DisplaySize    597 336  
EndSection

#
# This section defines the video card, I didn't change anything here either
#
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 460"
EndSection

# This is the section I changed
#
# The BIGGEST issue I had, was figuring out what was on DFP-0, DFP-1 and DFP-2 (which are the dvi/hdmi outputs)
# In MY system, DFP-0 is the "primary" DVI output
# and DFP-1 is the mini-HDMI output
# and DFP-2 is the 2ndary DVI output
# So I want my Catleap on DVI-0 and the Asus twinview monitor on the DFP-2 (so I had to change my cables)
#
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "NoLogo" "True"
    Option         "TwinView" "1"
# Leave this as DFP-0, which is where the Catleap(hires) monitor is plugged into.
# This (I believe) tells the system what the "primary" display is in the twin view
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "UseEDID" "False"
    Option         "UseEDIDDPI" "False"
    Option         "UseEDIDFreqs" "False"
    Option         "ExactModeTimingsDVI" "True"
# This is the only other line I had to change from the example
# DFP-0: 2560x1440_60 +0 +0   <--- This line is the "primary" display on DFP-0 (the Catleap HiRes)
# DFP-2: 1920x1080 +2560 +0   <--- This was for the 2nd monitor, resolution and offset.
# Don't forget the comma between the two monitors
    Option         "metamodes" "DFP-0: 2560x1440_60 +0 +0, DFP-2: 1920x1080 +2560+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Option         "Xinerama" "0"
EndSection

相关内容