为 6 显示器大桌面配置 Xorg.conf

为 6 显示器大桌面配置 Xorg.conf

更新:

以下是我在有时间与此作斗争时尝试过的一些事情。

Linux mint 是唯一一个由于某种原因 Randr 可以看到所有 6 个监视器的发行版。我可以配置并打开它们,但鼠标移动非常缓慢,并且大多数窗口管理器崩溃。

在任何其他发行版中,Xorg/Randr 只能看到两个输出。因此尝试使用 Randr 扩展是不可能的。如果 Xrandr 可以使用 nvidia 驱动程序看到所有 3 个 GPU,我会很高兴。也许这可能表现得足够好,我什至可以移动鼠标。

在 Mint 中,配置是 nouveau 驱动程序,Randr 可以看到所有显示器,但性能太差,我甚至无法使用它。如果我切换到 nvidia,cli 分辨率就会变得混乱,X 会将我的 60 英寸屏幕的 dpi 视为 36,因此字体太小,我无法阅读。不过,在 Xorg startx -- 中输入 -dpi 或“DPI”96x96 很容易修复。无论如何,使用 nvidia 二进制驱动程序,Randr 看不到主 gpu 以外的任何东西。

到目前为止,我能够工作的是 Xmonad 和 Kwin(两个不会崩溃)。我爱Xmonad。

所以我目前在 Debian 稳定版 8.2 Jessie 上有 nvidia 二进制驱动程序。与之前的配置相同。 3 个屏幕,每个屏幕 2 个显示器,X 布局是屏幕 0 位于顶部,屏幕 1 和 2 并排位于其下方。效果很好,但如果我只打开一个窗口,它就会跨越两个显示器。当然,任何启动屏幕都会在每个屏幕上的两个组合显示器的中间打开。

如果我关闭 Xinerama,我将根本无法使用底部 4 个显示器,即使我可以将鼠标拖过它们。我也许可以尝试在显示 0:2 到 5 时启动 xterm,但这很乏味,并且每次我需要进行哪怕是最微小的更改时都需要配置我的 xresources。即使这样,我也无法在显示器之间自由拖动窗口。

然而,我可以拾取整个屏幕并在 Xmonad 中将它们相互移动,但顶部屏幕是 2x1080,底部屏幕是 2x (2x 1024); 4 个屏幕(每个 1024)。所以移动屏幕是可行的,但分辨率就会混乱。

如果我有 6 个屏幕,每个屏幕一个显示器,然后使用 Xinermama 将它们全部组合起来,则我无法在 Xmonad 中切换超过 3 个显示器。

我几乎可以找到可以与这么多显示器一起使用的设置。我正在考虑取出我的第三个 2 端口 GPU 并放入带有 4 个端口的 Quadro nvidia,这样我就可以拥有总共 8 个显示器。

我可能会找到更多时间来解决这个问题,但在那之前......我又回到了 Windows,因为我需要完成工作。

如果你们有任何关于 WM 配置或屏幕配置的提示或任何设置建议或技巧或其他东西,我真的很欢迎他们。

另外,每当我切换到任何发行版中的 nvidia 二进制驱动程序时,我的 dpi 都会更改为 36(由 Xorg 正确确定,可能是因为这些是 2 台 60 英寸 LED 电视。)并且 cli 分辨率也更改为我认为 8x16 字符大小,基本上它不再使用 vga= 参数的 1080p 模式,我相信 vga=367。我浏览了 debian 文档并配置了 /etc/default/grub 2 并修改了分辨率和 GFXPAYLOAD 以保留等,但仍然没有骰子。我似乎无法再传递 vga= 参数,因为 grub 2 似乎不支持它们。

不管怎样,Linux 上有很多问题需要时间和关注,而我目前还没有。一旦我这样做,我就会弄清楚。与此同时,任何提示或建议都会非常有帮助。

谢谢你!

Suse Linux 42.1 Leap- 截至 2015 年 12 月 13 日,我使用的是 Debian 8.2

Linux 4.1.13-5-default #1 SMP PREEMPT 11 月 26 日星期四 16:35:17 UTC 2015 (49475c3) x86_64 x86_64 x86_64 GNU/Linux

我有 6 个显示器,顶部有 2 个 60 英寸,下面有 4 个 19 英寸纵向模式。每个监视器均已启动并正在运行。我可以在所有显示器上移动鼠标,但无法将窗口拖动到任何其他显示器。此外,除了 gtx 275 上的显示器之外,我无法在任何其他设备上获得任何类型的右键菜单。

我似乎也无法让 TwinView 工作。我按照我想要的方向和位置放置了显示器,但我似乎无法弄清楚如何将它们全部组合到一个大桌面中。

  • Nvidia GTX 275 - 2x 60"
  • 8400GS - 2x 19"
  • 8400 GS 2x 19"

我的Xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 340.93  (buildmeister@swio-display-x86-rhel47-03)  Wed Aug 19 17:10:48 PDT 2015


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" 0 1080
    Screen      2  "Screen2" 2048 1080
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from data in "/etc/sysconfig/mouse"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "yes"
    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      "VIZ E601i-A3E"
    HorizSync       31.0 - 70.0
    VertRefresh     50.0 - 77.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: unknown, VertRefresh source: unknown
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "DELL 1905FP"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"

    # HorizSync source: unknown, VertRefresh source: unknown
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "DELL 1907FPV"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 275"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400GS"
    BusID          "PCI:2:0:0"
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400 GS"
    BusID          "PCI:3:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DVI-I-2: nvidia-auto-select +0+0, DVI-I-3: nvidia-auto-select +1920+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         "nvidiaXineramaInfoOrder" "CRT-1"
    Option         "metamodes" "VGA-0: nvidia-auto-select +1024+0 {rotation=left}, DVI-I-1: nvidia-auto-select +0+0 {rotation=left}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "VGA-0: nvidia-auto-select +0+0 {rotation=left}, DVI-I-1: nvidia-auto-select +1024+0 {rotation=left}"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "CRT-1"
    Option         "metamodes" "VGA-0: nvidia-auto-select +1024+0 {rotation=left}, DVI-I-1: nvidia-auto-select +0+0 {rotation=left}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

我的Xorg.0.log太大了,无法包含在这里,所以我已经上传了这里

我在 Freenode 上的 ##linux 和 #suse 中询问过,到目前为止还没有人能够弄清楚这一点。我真的希望这是可能的,否则我就必须使用 Windows 10,而这正是我试图避免的。

如何将所有这些显示器组合成一个大显示器?

答案1

这是我更新的 6 屏幕 Xorg.conf(无 Xinerama):

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 340.46  (pbuilder@zam904)  Fri Oct 17 21:29:34 UTC 2014

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen      2  "Screen2" 0 1080
    Screen      3  "Screen3" RightOf "Screen2"
    Screen      4  "Screen4" RightOf "Screen3"
    Screen      5  "Screen5" RightOf "Screen4"
    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"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "VIZ E601i-A3E"
    HorizSync       31.0 - 70.0
    VertRefresh     50.0 - 77.0
    Option         "DPMS"
    Option "DPI" "96x96"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "VIZ E601i-A3E"
    HorizSync       31.0 - 70.0
    VertRefresh     50.0 - 77.0
    Option         "DPMS"
    Option "DPI" "96x96"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "DELL 1908FP"
    HorizSync       31.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor3"
    VendorName     "Unknown"
    ModelName      "DELL 1905FP"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor4"
    VendorName     "Unknown"
    ModelName      "DELL 1905FP"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor5"
    VendorName     "Unknown"
    ModelName      "DELL 1907FPV"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 275"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 275"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400GS"
    BusID          "PCI:2:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device3"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400GS"
    BusID          "PCI:2:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Device4"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400 GS"
    BusID          "PCI:3:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device5"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400 GS"
    BusID          "PCI:3:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DVI-I-2: 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" "DVI-I-3: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device2"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DVI-I-1: nvidia-auto-select +0+0 {rotation=left}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen3"
    Device         "Device3"
    Monitor        "Monitor3"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "VGA-0: nvidia-auto-select +0+0 {rotation=left}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen4"
    Device         "Device4"
    Monitor        "Monitor4"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DVI-I-1: nvidia-auto-select +0+0 {rotation=left}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen5"
    Device         "Device5"
    Monitor        "Monitor5"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "VGA-0: nvidia-auto-select +0+0 {rotation=left}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

使用欣儿玛,我会失去加速能力,并且在某些情况下会出现滞后,但它足够可用。

我想我终于明白了。

谢谢达格玛的最后建议。它离我想要的地方更近了,但还没有完全实现。

状态:90% 已解决。

相关内容