Nvidia:强制将 1920x1080 作为选项

Nvidia:强制将 1920x1080 作为选项

gentoo 上的专有 Nvidia (290) 在此处。

我在这里运行 Nvidia TwinView,带有两个 1680x1050 显示器。现在我想在 HDTV 和其中一个显示器之间进行热插拔。几乎没问题,但由于 Nvidia 读取了显示器的 EDID 信息并看到最大分辨率为 1680x1050,因此它不允许 1920x1080。“检测显示器”没有nvidia-settings任何作用。到目前为止,我唯一的选择是重新启动 X,但这是高度不可取。

我已经发现可以用 来做一些我喜欢的事情MetaModes,但它也不允许更大的分辨率。

我想我必须放弃 EDID 信息并手动指定模式。但是到目前为止,TwinView 还不喜欢我提供的内容。

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

# inputdevice junk removed; it's overridden anyway

Section "Monitor"
    Identifier     "CRT-0"
    ModelName      "Acer P221W"
    HorizSync 31-84
    VertRefresh 56-77
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "MetaModes" "CRT: 1680x1050 +1680+0, DFP: 1680x1050 +0+0; CRT: 1680x1050 +0+0, DFP: 1920x1080 +1680+0"
    #Option    "UseEdid" "false"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

答案1

经过足够的调整后,我能够获得 1920x1080 作为 CRT 输出选项。为什么它不适用于 DVI,我不明白。所以这只是一个 80% 的解决方案:现在我可以随时更换显示器,但使用次优的 VGA。我已经完成了这个调整,并订购了一台有三个连接器的现代 GT520。

这是当前的xorg.conf。我使用该软件获得的显示器自定义模式parse-edid

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 data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "DFP-0"
    ModelName      "Acer P223W"
    Option         "DPMS"
    HorizSync   31-84
    VertRefresh 56-77

    Mode    "1920x1080"
            DotClock        148.500000
            HTimings        1920 2008 2052 2200
            VTimings        1080 1084 1089 1125
            Flags   "+HSync" "+VSync"
    EndMode
    Mode    "1680x1050"
            DotClock        146.250000
            HTimings        1680 1784 1960 2240
            VTimings        1050 1053 1059 1089
            Flags   "-HSync" "-VSync"
    EndMode
EndSection

Section "Monitor"
    Identifier     "CRT-1"
    ModelName      "Acer P221W"
    HorizSync 31-83
    VertRefresh 56-75
    Option "DPMS"
    Mode    "1680x1050"
            DotClock        146.250000
            HTimings        1680 1784 1960 2240
            VTimings        1050 1053 1059 1089
            Flags   "-HSync" "-VSync"
    EndMode
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "DFP-0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-0"
    Option         "MetaModes" "CRT: 1680x1050 +1680+0, DFP: 1680x1050 +0+0; CRT: 1680x1050 +0+0, DFP: 1920x1080 +1680+0"
    #Option        "UseEdid" "false"
    #Option         "ModeDebug" "True"
    SubSection     "Display"
        Depth      24
        Modes      "1920x1080" "1680x1050"
    EndSubSection
EndSection

相关内容