Как настроить два монитора Dell U2415, последовательно подключенных через DisplayPort с Nvidia Titan X

Как настроить два монитора Dell U2415, последовательно подключенных через DisplayPort с Nvidia Titan X

Я работаю над новой установкой Ubuntu 18.04.2 LTS desktop с рабочим столом gnome по умолчанию. Я установил фирменный драйвер nvidia nvidia-driver-390 из Software & Updates -> Additional Drivers.

Когда запускается рабочий стол, он отображается только на основном мониторе. Мне приходится запускать

xset dpms force off

чтобы принудительно перевести мониторы в спящий режим, а затем переместить мышь, чтобы разбудить их, и оба монитора станут активными. Однако один из мониторов работает с очень низким разрешением (640x480), а другой — с полным разрешением (1920x1200). Вот скриншот настроек Nvidia X. Настройки Nvidia X

Первый монитор определяется как "NVIDIA" с разрешением 640x480 (единственные параметры разрешения: Выкл., Авто и 640x480). Второй монитор правильно определяется как "DELL U2415" с разрешением 1920x1200. Вот вывод команды xrandr. DP-0.8 — первый монитор в последовательной цепочке, а DP-0.1 — второй. Я включил displayport 1.2 на первом мониторе и отключил на втором.

    Screen 0: minimum 8 x 8, current 2560 x 1200, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DP-0.1 connected 1920x1200+640+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+  59.88  
   1920x1080     60.00    59.94    50.00    29.97    25.00    23.98  
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DP-0.8 connected primary 640x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   640x480       59.94*+
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
DP-0.1.8 disconnected (normal left inverted right x axis y axis)

На этом этапе на машине не было ни файла /etc/X11/xorg.conf, ни файла monitors.xml. Я сохранил файл конфигурации X из приложения Nvidia X Settings. Сохраненный файл /etc/X11/xorg.conf выглядит следующим образом.

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 390.77  (buildd@lcy01-amd64-022)  Thu Sep  6 07:51:39 UTC 2018

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

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
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      "NVIDIA"
    HorizSync       31.5 - 31.5
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX TITAN X"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-2.8"
    Option         "metamodes" "DP-0.8: nvidia-auto-select +0+0, DP-0.1: nvidia-auto-select +640+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Я вижу только один раздел "monitor" в этом xorg.config. Почему он не отображает 2-й монитор?

В любом случае, как мне сделать так, чтобы карта NVIDIA правильно определяла оба монитора как Dell U2415 с разрешением 1920x1200?

решение1

Используйте настройки «Дисплеи» на панели настроек.

Запуск настроек сервера NVIDIA сбрасывает все мои настройки дисплея и даже переводит мой первый рабочий сервер в цепочке в спящий режим.

Я также поместил команду xset в файл .profile, чтобы она переводила мои дисплеи в спящий режим при входе в систему.

Надеюсь, это будет исправлено в версии 20.04.

У меня карта P2000 Quadro с четырьмя мониторами U2515Hc. Ваша карта может быть слишком новой.

Надеюсь, это поможет. Пока не могу комментировать.

Связанный контент