我知道这个问题之前已经被问过,但我真的不明白如何让它在我的计算机上工作。
我有两张视频卡
lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GF110 [GeForce GTX 570 Rev. 2] (rev a1) 02:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
我有 4 个显示器插入 2 个显卡。我有双启动(Windows 可以与所有 4 个显示器配合使用,我花了 2-3 分钟才使其正常工作)
Nvidia X 服务器设置检测到我有四个显示器,但它要求我创建 2 个单独的 X 屏幕(即 X 屏幕 1 和 X 屏幕 2)。默认情况下,它可以正确显示第一个显卡的 2 个显示器,而我只能在第二个显卡的 3-4 个显示器上看到带有 X 光标的黑屏。此外,当我运行 xrandr 时
xrandr 只向我展示了前 2 个显示器。我一直无法让 xrandr 显示第三个和第四个显示器。绝不。我认为有一个重大错误。
这是 xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 375.26 (buildmeister@vm-ubuntu1604-x64-001) Thu Dec 8 19:58:55 PST 2016
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
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"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "BenQ GW2255"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 76.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: unknown, VertRefresh source: unknown
Identifier "Monitor1"
VendorName "Unknown"
ModelName "BenQG2222HDL"
HorizSync 0.0 - 0.0
VertRefresh 0.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 570"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 210"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "DVI-I-1: nvidia-auto-select +1920+0, HDMI-0: nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
# Removed Option "metamodes" "HDMI-0: nvidia-auto-select +1920+0, VGA-0: nvidia-auto-select +0+0"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "VGA-0: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +1920+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
此外,我还尝试过一个个性化的 xorg 文件,该文件只有一个屏幕并且打开了 Base Mosaic,但没有成功。
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
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"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "BenQ GW2255"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 76.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "BenQG2222HDL"
HorizSync 0.0 - 0.0
VertRefresh 0.0
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
BoardName "GeForce GTX 570"
Option "ConnectedMonitor" "DFP-0,DFP-1"
Option "MetaModeOrientation" "DFP-0 LeftOf DFP-1"
VendorName "NVIDIA Corporation"
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "ConnectedMonitor" "DFP-1,CRT-1"
Option "MetaModeOrientation" "DFP-1 LeftOf CRT-1"
BoardName "GeForce 210"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "DPY-1: nvidia-auto-select @1920x1080 +1920+0
{ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DPY-2: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0} DPY-4: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}, DPY-6: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "on"
SubSection "Display"
Depth 24
EndSubSection
EndSection
我也尝试了基础马赛克..没有什么它完全不起作用!请帮我。 Linux 监视器设置 ( xorg ) 让我发疯!
答案1
我找到了解决办法,即Ubuntu默认桌面环境不支持4个显示器。有一次,我安装了 XFCE,我的 4 台显示器工作得很好!
我从这个人的教程中找到了这个解释 http://collaboradev.com/2016/09/30/arch-linux-Hydra-build/
答案2
- 为了您配置此功能并更好地使用您需要的视频,请激活“Xinerama”。看看这里吧——https://help.ubuntu.com/community/XineramaHowTo