三显示器、双卡和 Openbox 问题

三显示器、双卡和 Openbox 问题

我在 2 个视频卡(nvidia 和板载 intel)上设置了 3 个显示器,它们都正常工作,但不是我想要的那样。当只有 nvidia 上的 2 个显示器时,Openbox 会将它们视为单个桌面/工作空间,但仍然是单独的显示器,并允许我仅在该显示器上全屏显示应用程序。现在我有另一张卡和显示器处于活动状态(在其自己的 xserver 上),2 个 nvidia 显示器充当单个屏幕,应用程序在两个显示器上全屏显示。GDM 单独处理每个显示器(登录提示以 Screen0 为中心,Screen1 有壁纸,Screen2 只是普通的 X),但一旦我进入 openbox,nvidia 的合并,将所有内容置于它们和 intel 之间的中心,表现正常。有人知道如何保留 nvidia 屏幕的双显示器行为吗?

我的 xorg.conf:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0   "Screen0" 0 0
    Screen      1   "Screen1" LeftOf "Screen0"
    Screen      2  "Screen2" RightOf "Screen0"
    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      "Samsung S24D390"
    HorizSync       30.0 - 81.0
    VertRefresh     50.0 - 75.0
    Option         "DPMS"
EndSection

Section "Monitor"
#   HorizSync       28.0 - 33.0
#   VertRefresh     43.0 - 72.0
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc VX238"
    Option         "DPMS"
EndSection

Section "Monitor"

#    HorizSync       28.0 - 33.0
#    VertRefresh     43.0 - 72.0
    Identifier     "Monitor2"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 750 Ti"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "intel"
    VendorName     "Intel Corporation"
    Option         "AccelMethod" "uxa"
#    Option         "AccelMethod" "sna"
#    Option      "TearFree"    "true"
    BusID          "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +1920+0"
    Option         "MultiGPU" "Off"
    Option         "SLI" "off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device0"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-1"
    Option         "metamodes" "DVI-I-1: nvidia-auto-select +0+0, HDMI-0: nvidia-auto-select +1920+0"
    Option         "MultiGPU" "Off"
    Option         "SLI" "off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device1"
    Monitor        "Monitor2"
    DefaultDepth    24
    Option         "metamodes" "1920x1080_60_0 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

答案1

https://github.com/awesomeWM/awesome/issues/598

在附件中,您可以找到一个有效的 xorg.conf.d:“zaphod 模式”= 四个独立的屏幕,例如与 twm、fluxbox、xfce 一起工作。

不幸的是,对我来说,最新的 Openbox x11-wm/openbox-3.6.1(Gentoo)也只在屏幕 0.0 上打开了一个可工作的桌面环境 - 0.1..0.3 仍然空白,尽管“xrandr -q --screen 0.n”提供了正确的结果。

相关内容