检测正确分辨率双显示器 VGA 9800gt Ubuntu 12.10

检测正确分辨率双显示器 VGA 9800gt Ubuntu 12.10

我在 VGA 端口上将第二台显示器连接到我的 9800gt。第一台显示器使用 DVI。两台显示器的原始分辨率均为 1920x1080,但第二台显示器的分辨率不超过 1360x768,在显示设置中显示为“未知”。

我尝试过这个指南如何添加未检测到的分辨率但它不起作用。

首先,我创建新模式,xrand --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync然后当我尝试将新模式添加到第二台显示器时,randr --addmode VGA-0 1920x1080出现以下错误:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  31
  Current serial number in output stream:  32

我尝试使用 nvidia-settings 面板生成xorg.conf

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
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"
    # HorizSync source: builtin, VertRefresh source: builtin
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "CRT-1"
    HorizSync       28.0 - 55.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9800 GT"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "CRT: 1360x768 +0+0, DFP: nvidia-auto-select +1360+0; CRT: nvidia-auto-select @1920x1080 +0+0, DFP: nvidia-auto-select +1360+0"
                                    ____^____ I tried changing this to 1920x1080 but no luck
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

这是我的 xrandr 输出,希望它有帮助:

Screen 0: minimum 8 x 8, current 3280 x 1080, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected 1360x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0 +
   1360x768       60.0*    59.8  
   1152x864       60.0  
   800x600        72.2     60.3     56.2  
   680x384       119.9    119.6  
   640x480        59.9  
   512x384       120.0  
   400x300       144.4  
   320x240       120.1  
DVI-I-1 connected 1920x1080+1360+0 (normal left inverted right x axis y axis) 510mm x 290mm
   1920x1080      60.0*+   50.0  
   1680x1050      60.0  
   1600x1200      60.0  
   1440x900       59.9  
   1280x1024      60.0  
   1280x960       60.0  
   1280x800       59.8  
   1280x720       60.0     50.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   720x576        50.0  
   720x480        59.9  
   640x480        59.9  
HDMI-0 disconnected (normal left inverted right x axis y axis)

下一步该做什么有什么想法吗?我已经尝试了几个小时,但没有成功,它在 Windows 上运行良好,所以不可能是电缆或显示器的问题...

答案1

我认为您需要做的是禁用 EDID 探测。方法因图形芯片组/驱动程序而异。例如,对于 nvidia 的二进制 blob 驱动程序,您可以使用“选项“IgnoreEDID”“false”。这会出现在您的显示器配置部分中。YMMV。

相关内容