在多 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

相关内容