如何使用 Nvidia Titan X 配置透過顯示連接埠菊鏈連接的兩台戴爾 U2415 顯示器

如何使用 Nvidia Titan X 配置透過顯示連接埠菊鏈連接的兩台戴爾 U2415 顯示器

我正在使用預設的 gnome 桌面全新安裝 Ubuntu 18.04.2 LTS 桌面。我從“軟體和更新”->“其他驅動程式”安裝了 nvidia 專有驅動程式 nvidia-driver-390。

桌面啟動時,僅顯示在主顯示器上。我必須跑

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 檔案。我從 Nvidia X 設定應用程式儲存了 X 設定檔。保存的/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

我在此 xorg.config 中只看到一個「監視器」部分。為什麼它沒有列出第二個顯示器?

無論如何,如何讓 nvidia 卡正確偵測兩台顯示器為 Dell U2415 以及 1920x1200 解析度?

答案1

使用設定面板中的顯示設定。

啟動 nvidia 伺服器設定會重置我的所有顯示設置,甚至使我的工作鏈中的第一個進入睡眠狀態。

我還將 xset 命令放入 .profile 檔案中,以便它在登入時使我的顯示器進入睡眠狀態。

希望這個問題在 20.04 版本中得到修復。

我使用的是帶有四個 U2515Hc 顯示器的 P2000 Quadro 卡。您的卡可能太新。

希望這有幫助,我還不能發表評論。

相關內容