我无法让第二台显示器工作。它被检测到但一片漆黑。屏幕截图捕获了两个桌面。它们在 Windows 中工作正常。我想跨越桌面,我尝试在 Nvidia 面板中使用“新屏幕配置”,然后启用 Xinerama,但没有任何效果。我也找不到 TwinView 的选项。如果我将另一台(右)显示器设置为默认显示器并打开/关闭显示器,我可以让另一台显示器工作,但左显示器是黑的。
规格:i7 5820k、GTX 970、32GB RAM 操作系统:Ubuntu 16.10 驱动程序:Nvidia 367.57 显示器:Dell U2715H (1440p) x2 通过 DP 菊花链连接
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 367.57 (buildmeister@swio-display-x64-rhel04-13) Mon Oct 3 21:41:11 PDT 2016
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 367.57 (buildmeister@swio-display-x64-rhel04-13) Mon Oct 3 21:42:19 PDT 2016
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 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 U2715H"
HorizSync 30.0 - 113.0
VertRefresh 56.0 - 86.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 970"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-2.8"
Option "metamodes" "DP-0.8: 2560x1440 +0+0, DP-0.1: 2560x1440 +2560+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
~
答案1
最好的解决方案是这个命令:
xset dpms force off
运行命令后,屏幕进入休眠/黑屏状态,移动鼠标,两个显示器都可以工作。我将其添加到启动应用程序中,以简化操作。