![3 台配备 NVIDIA 原生驱动程序的显示器](https://linux22.com/image/1064286/3%20%E5%8F%B0%E9%85%8D%E5%A4%87%20NVIDIA%20%E5%8E%9F%E7%94%9F%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E7%9A%84%E6%98%BE%E7%A4%BA%E5%99%A8.png)
通过全新安装 Ubuntu 18.04 和 Nouveau 驱动程序,我能够让 3 个显示器完美工作,其中 2 个显示器通过 DVI 连接到 Geforce 680,第 3 个显示器连接到 Geforce 980-TI。
但是,这个配置不太合适。我需要 CUDA,所以我需要安装 NVIDIA 的专有驱动程序。
执行此操作后,只有两个显示器在工作。但是,使用 nvidia-settings,我能够通过创建新的 X Screen 1 并将 xorg.conf 文件保存到 /etc/X11/xorg.conf 来启用连接到 980-TI 的第三个显示器
但重启后,第三台显示器就黑屏了,尽管 nvidia 设置告诉我它应该打开。Ubuntu 设置管理器中的新设备 => 显示面板只显示两台显示器。安装 Nouveau 驱动程序后,这里显示了三台显示器。
我的使用 nvidia-settings 配置的 xorg.conf 包含:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 390.42 (buildd@lcy01-amd64-029) Thu Mar 22 17:34:03 UTC 2018
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 390.48 (buildmeister@swio-display-x86-rhel47-07) Thu Mar 22 01:07:32 PDT 2018
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 3840 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
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 "DELL U2412M"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 61.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "DELL U2412M"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 61.0
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 680"
BusID "PCI:4:0:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 980 Ti"
BusID "PCI:6:0:0"
EndSection
Section "Screen"
# Removed Option "nvidiaXineramaInfoOrder" "DFP-3"
# Removed Option "metamodes" "DVI-D-0: nvidia-auto-select +0+0, DVI-I-1: nvidia-auto-select +1920+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "DVI-D-0: nvidia-auto-select +1920+0, DVI-I-1: nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "nvidia-auto-select +0+0 {AllowGSYNC=Off}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
但是,有些事情很突出。难道不应该有 3 个屏幕部分和另一个监视器部分吗?我该如何让它工作?