Nvidia X 设置不保存双显示器设置

Nvidia X 设置不保存双显示器设置

我正在使用 Linux Mint 14 KDE,并且拥有 GeForce 9600 GT。我正在尝试使用 nvidia-settings(驱动程序版本 304.84)保存我的双显示器配置:

小显示器:TwinView、分辨率自动(1280x1024)、位置位于(大显示器)左侧。

大显示器:TwinView、分辨率 1680x1024、绝对位置 +1280+0、自动刷新、XScreen 的主显示器。

这个配置在我应用时效果很好,所以我仅有的想要保存它。但是当我重新启动 Xserver 时,配置丢失了,大显示器的分辨率设置为 1280x1024,并且是小显示器的克隆。xorg.conf 文件保存正确,但后来不起作用。我尝试过调整设置,但似乎没有配置保存得很好。特别是,即使小显示器被禁用,大显示器的分辨率也设置为 1280x1024。在我安装 nvidia 驱动程序之前,一切都与 kde 配置配合良好。nvidia 设置生成的 xorg.conf 文件如下:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.51  (buildd@batsu)  Fri Oct 12 12:53:54 UTC 2012

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: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG Electronics W2042"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

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

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DFP: 1680x1050 +1280+0, CRT: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

答案1

最后我使用 KDE 配置工具解决了这个问题。这是正确的相关行:

Option         "metamodes" "DFP: 1680x1050 +1280+0, CRT: 1280x1024_75 +0+0"

Nvidia 应用程序非常糟糕......

相关内容