![第二个 GPU 的所有显示器均已断开连接。Ubuntu 18.04 - Nvidia 396.54](https://linux22.com/image/904090/%E7%AC%AC%E4%BA%8C%E4%B8%AA%20GPU%20%E7%9A%84%E6%89%80%E6%9C%89%E6%98%BE%E7%A4%BA%E5%99%A8%E5%9D%87%E5%B7%B2%E6%96%AD%E5%BC%80%E8%BF%9E%E6%8E%A5%E3%80%82Ubuntu%2018.04%20-%20Nvidia%20396.54.png)
我正在设置一个带有 2 个 GPU(Nvidia GTX1050 Ti)和 6 个显示器的工作站(三星 md230x6)。
一切运行正常,除了桌面仅显示在第一个 GPU 的显示器上;其他三个是黑色的:我无法移动任何窗口,但鼠标光标实际上显示为带有白色轮廓的黑色十字。
有趣的是,我实际上可以通过 nvidia-settigs GUI 色彩校正来改变黑屏的颜色。
似乎与第三台显示器显示“X”光标.nvidia
-smi:
$ nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 396.54 Driver Version: 396.54 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 105... Off | 00000000:01:00.0 On | N/A |
| 0% 46C P8 N/A / 120W | 624MiB / 4037MiB | 1% Default |
+-------------------------------+----------------------+----------------------+
| 1 GeForce GTX 105... Off | 00000000:02:00.0 On | N/A |
| 45% 29C P0 N/A / 75W | 64MiB / 4040MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 953 G /usr/lib/xorg/Xorg 34MiB |
| 0 1003 G /usr/bin/gnome-shell 48MiB |
| 0 1250 G /usr/lib/xorg/Xorg 286MiB |
| 0 1393 G /usr/bin/gnome-shell 147MiB |
| 0 2355 G ...-token=C398224CE3FA660C9FF3A88B97994567 105MiB |
| 1 953 G /usr/lib/xorg/Xorg 30MiB |
| 1 1250 G /usr/lib/xorg/Xorg 31MiB |
+-----------------------------------------------------------------------------+
xrandr:
$ xrandr
Screen 0: minimum 8 x 8, current 5760 x 1080, maximum 32767 x 32767
DVI-D-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.00*+ 50.00
...
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 510mm x 278mm
1920x1080 60.00*+ 59.94 50.00
...
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected 1920x1080+3840+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.00*+ 50.00
...
核心:
$ uname -a
Linux myhostname 4.15.0-33-generic #36-Ubuntu SMP Wed Aug 15 16:00:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
lspci:
$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
02:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
/usr/share/X11/xorg.conf.d/10-nvidia.conf:
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection
更新:
事实证明,使用专有驱动程序和两张卡无法将桌面扩展到 6 个显示器。感谢 Generix 提供的答案。
因此,我正在尝试使用 Nouveau,但现在我陷入了 notorius 登录循环……[未完待续]
答案1
2020 年报告
钻机更新:
_ 中央处理器:AMD Ryzen 5 3600
_ 主板:AsRock X570 Phantom Gaming
_ GPU:Radeon RX Vega 56,带 6 个 HDMI 输出端口。
_ ...
操作系统:
Ubuntu 18、19 和 20 开箱即用。
(有趣的是:在 Windows 上不再起作用了...但是谁在乎呢?!)
附言:这篇文章是对年度报告的总结,因为原始问题已成为过去的故事,希望如此。