16.04 Nvidia 或 Nouveau 上未检测到正确的显示器

16.04 Nvidia 或 Nouveau 上未检测到正确的显示器

安装 16.04 后,默认 Nouveau 驱动程序无法检测到 Dell 2408WFP。然后我安装了实际的 Nvidia 驱动程序,希望得到不同的结果,但结果相同。

我现在又更换了显示器,它仍然没有显示。这些显示器只显示CRT-0在控制面板中NVIDIA X Server Settings

关于如何强制 X 和 Nvidia 驱动程序检测所连接的正确显示器,有什么想法吗?

这是副本我的 Xorg.0.log 以供审查。

当我进行xorg.conf以下修改时:

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"
        Viewport   0 0
        Depth     24
        Modes "1366x768"
    EndSubSection
EndSection

不幸的是我收到以下错误:

Could not apply the stored configuration for monitors

none of the selected modes were compatible with the possible modes:
Trying modes for CRTC 634
CRTC 634: trying mode 640x480@60Hz with output at 1152x864@60Hz (pass 0)
CRTC 634: trying mode 320x240@120Hz with output at 1152x864@60Hz (pass 0)
CRTC 634: trying mode 640x480@60Hz with output at 1152x864@60Hz (pass 1)
CRTC 634: trying mode 320x240@120Hz with output at 1152x864@60Hz (pass 1)
Trying modes for CRTC 635
CRTC 635: trying mode 640x480@60Hz with output at 1152x864@60Hz (pass 0)
CRTC 635: trying mode 320x240@120Hz with output at 1152x864@60Hz (pass 0)
CRTC 635: trying mode 640x480@60Hz with output at 1152x864@60Hz (pass 1)
CRTC 635: trying mode 320x240@120Hz with output at 1152x864@60Hz (pass 1)
Trying modes for CRTC 636
CRTC 636: trying mode 640x480@60Hz with output at 1152x864@60Hz (pass 0)
CRTC 636: trying mode 320x240@120Hz with output at 1152x864@60Hz (pass 0)
CRTC 636: trying mode 640x480@60Hz with output at 1152x864@60Hz (pass 1)
CRTC 636: trying mode 320x240@120Hz with output at 1152x864@60Hz (pass 1)
Trying modes for CRTC 637
CRTC 637: trying mode 640x480@60Hz with output at 1152x864@60Hz (pass 0)
CRTC 637: trying mode 320x240@120Hz with output at 1152x864@60Hz (pass 0)
CRTC 637: trying mode 640x480@60Hz with output at 1152x864@60Hz (pass 1)
CRTC 637: trying mode 320x240@120Hz with output at 1152x864@60Hz (pass 1)

答案1

我能够通过手动设置来解决这个问题/etc/X11/xorg.conf

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     "Acer"
    ModelName      "x183h"
    HorizSync       30.0 - 80.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
    ModeLine       "1366x768_60_0" 85.9 1366 1438 1626 1798 768 769 772 795 +hsync +vsync
    Option         "IgnoreEDID" "True"
    Option         "UseEDID" "FALSE"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "ModeValidation"  "NoWidthAlignmentCheck, NoDFPNativeResolutionCheck"
    Option         "ExactModeTimingsDVI" "TRUE"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes       "1366x768_60_0"
    EndSubSection
EndSection

相关内容