雙 GPU 雙顯示設定:顯示器黑屏但已偵測到

雙 GPU 雙顯示設定:顯示器黑屏但已偵測到

我最近在 Windows 10 上安裝了 linux,並且嘗試像在 Windows 上使用第二台顯示器一樣使用它。
第一個顯示器連接到 GTX 770,第二個顯示器連接到 iGPU。我已經設定了一個 xorg.conf 檔案來使用兩個監視器,但只有第一個可用。第二個是黑色的(它有點工作,因為我可以在其上移動滑鼠並看到指針,但我無法在其上拖曳視窗。
此外,當我運行xrandr --queryxrandr --listmonitors只看到第一個螢幕(HDMI- 0)時:顯然,第二個顯示器(HDMI1)甚至沒有被檢測到,但是當我運行時,xrandr --screen 1它顯示第二個螢幕(HDMI1)很好:已連接,工作,解析度自動分配(甚至正確) ,...
問題是
我找不到讓它可用的方法。

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 375.66  (build-user@build-machine)  Mon Aug 21 18:17:00 UTC 2017

Section "ServerLayout"
    Identifier     "Default"
    Screen      0  "Screen0"
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "off"
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     "Philips"
    ModelName      "Philips 239CQH"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "Samsung"
    HorizSync      30.0 - 83.0
    VertRefresh    56.0 - 76.0
    Option         "DPMS"
EndSection

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

Section "Device"
    Identifier     "Device1"
    Driver         "intel"
    VendorName     "Intel Corporation"
    BusID          "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    Option         "TwinView" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth   24
    Option         "TwinView" "off"
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

xrandr --螢幕 0

HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
   1920x1080     60.00*+  59.94    50.00    60.00    50.04  
   1680x1050     59.95  
   1440x900      74.98    59.89  
   1280x1024     75.02    60.02  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94    59.93

xrandr --螢幕 1

HDMI1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 430mm x 270mm
   1680x1050     59.95*+
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08

相關內容