在多GPU ubuntu中設定不同的GPU作為預設顯示

在多GPU ubuntu中設定不同的GPU作為預設顯示

使用此論壇之前發布的帖子來設定我的 1030 卡,因為顯示卡執行了以下步驟:

lspci | grep VGA

17:00.0 VGA compatible controller: NVIDIA Corporation Device 1e04 (rev a1)
65:00.0 VGA compatible controller: NVIDIA Corporation Device 1e04 (rev a1)
b3:00.0 VGA compatible controller: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1)

然後在

/etc/X11/xorg.conf
changed to 
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    BusID              "PCI:b3:0:0"
    VendorName     "NVIDIA Corporation"
EndSection

將HDMI線連接到卡片上,重新啟動,無顯示。有想法嗎? (Ubuntu 18.04,另外兩個是2080TI)

< 這是完整的xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 418.88

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
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"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    BusID          "PCI:b3:00.0"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

當使用Nvidia的預設xconf時,我看到2080的BusID是

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce RTX 2080 Ti"
    BusID          "PCI:101:0:0"
EndSection

這根本不是 lspci | 的輸出grep VGA

當我重新啟動時,我丟失了顯示,並且必須進入恢復模式並創建新的 xconf

相關內容