xinerama、カード2枚、モニター3枚

xinerama、カード2枚、モニター3枚

私はこれを修正するために努力しており、ほぼ近づいていますが、まだそうではありません。このシステムには、Intelアダプタとモニタ1つ、ATIアダプタとモニタ2つがあります。この機能を実装するためにXineramaを使用してうれしいです。

これは私のxorg.confです(Ubuntu 12.04): -

Section "Monitor"
    Identifier "Dell1"
    Option  "DPMS"
EndSection

Section "Monitor"
    Identifier "Dell2"
    Option  "DPMS"
    Option "Left" "Dell3"
EndSection

Section "Monitor"
    Identifier "Dell3"
    Option  "DPMS"
EndSection

Section "Device"
    Identifier      "intel"
    Driver          "intel"
    BusID           "PCI:0:2:0"
EndSection

Section "Device"
    Identifier      "ati"
    Driver          "radeon"
    BusID           "PCI:2:0:0"
#   Option          "Monitor-DVI-0" "Dell3"
#   Option          "Monitor-VGA-1" "Dell2"
EndSection

Section "Screen"
    Identifier      "Screen 0"
    Device          "intel"
    #Monitor                "Dell1"
    DefaultDepth    24
EndSection

Section "Screen"
    Identifier      "Screen 1"
    Device          "ati"
    Monitor         "Dell2"
    SubSection      "Display"
            Depth   24
            Virtual 2560 1024
    EndSubSection
EndSection

Section "ServerLayout"
    Option  "xinerama"      "on"
    Identifier      "multihead"
    Screen          "Screen 0"
    Screen          "Screen 1" LeftOf "Screen 0"
EndSection

Section "Module"
    Load    "glx"
EndSection

3つのモニターはすべて1280x1024 Dellモニターです。これにより、3つのモニタをすべて有効にできます。 Intelに接続されているもの(右端)がデフォルトです。

机の上の物理的な配置:

[ Dell 3 ] [ Dell 2 ] [ Dell 1 ]
{      ATI          } {  Intel }

Xサーバーレイアウト:

[Dell  2 ]          ] [ Dell 1 ]
[     Dell 3        ] [        ]

つまり、Dell 1のRHSから始めて左に移動すると、次のDell 3に移動します。 Dell 3 は仮想サイズ 2560 を表示し、左端をクリックするとパンが始まります。この時点でDell 2にも表示され、一番左の端に達すると、Dell 3と2に同じ内容が表示されます。

モニターを正しく配置するにはどうすればよいですか?

とても感謝しています!

編集する:-

これを試して再びほぼ動作しました。 「Main」オプションがない場合、Dell1にはUnityが表示され、他のデバイスには黒い画面が表示されます(マウスは移動します)。 「Main」オプションを使用すると、Unityが起動せず、すべてのモニターで背景が点滅し、キーを押すとディスプレイが点滅し、通常は非常に奇妙です。

Section "Monitor"
    Identifier "Dell1"
    Option  "DPMS"
    Option "Primary" "False"
EndSection

Section "Monitor"
    Identifier "Dell2"
    Option  "DPMS"
    Option "Primary" "False"
EndSection

Section "Monitor"
    Identifier "Dell3"
    Option  "DPMS"
    Option "Primary" "True"
EndSection

Section "Device"
    Identifier  "intel"
    Driver      "intel"
    BusID       "PCI:0:2:0"
EndSection

Sec>tion "Device"
    Identifier  "ati0"
    Driver      "radeon"
    Option      "ZaphodHeads" "DVI-0"
    BusID       "PCI:2:0:0"
    Screen      0
EndSection

Section "Device"
    Identifier  "ati1"
    Driver      "radeon"
    Option      "ZaphodHeads" "VGA-1"
    BusID       "PCI:2:0:0"
    Screen      1
EndSection

Section "Screen"
    Identifier  "Screen 0"
    Device      "intel"
    Monitor     "Dell1"
    DefaultDepth    24
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "ati0"
    Monitor     "Dell2"
    DefaultDepth    24
EndSection

Section "Screen"
    Identifier  "Screen 2"
    Device      "ati1"
    Monitor     "Dell3"
    DefaultDepth    24
EndSection

Section "ServerLayout"
    Option  "xinerama"  "on"
    Identifier  "multihead"
    Screen      "Screen 0"
    Screen      "Screen 1" LeftOf "Screen 0"
    Screen      "Screen 2" LeftOf "Screen 1"
EndSection

Section "Module"
    Load    "glx"
EndSection

ベストアンサー1

これが役に立つかどうかはわかりませんが、デュアルヘッド構成を使用するCentOSでもいくつかの問題がありました。

ついに効果があったのは次のとおりです。

Section "ServerLayout"
        Identifier     "Multihead layout"
        Screen      0  "Screen0" LeftOf "Screen1"
        Screen      1  "Screen1" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option      "Xinerama" "on"
        Option      "Clone" "on"
EndSection

モニター(2つの同じモニター)の場合は、1つのモデル行のみを残し、同期行と更新行をコメントアウトしました。

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Dell 1905FP (Digital)"
 ### Comment all HorizSync and VertSync values to use DDC:
#       HorizSync    30.0 - 81.0
#       VertRefresh  56.0 - 76.0
        Option      "dpms"
        Option      "xrandr"
        Modeline "1280x1024" 108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Dell 1905FP (Digital)"
 ### Comment all HorizSync and VertSync values to use DDC:
#       HorizSync    30.0 - 81.0
#       VertRefresh  56.0 - 76.0
        Option      "dpms"
        Option      "xrandr"
        Modeline "1280x1024" 108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync
EndSection

グラフィックカードはデュアルヘッドATIです(私の考えはあなたのものと似ていると思います)。デバイスセクションの「画面」パラメータを参照してください。

Section "Device"
        Identifier  "Videocard0"
        Driver      "r500"
        BusID       "PCI:3:0:0"
        Option      "xrandr" "True"
        Screen      0
EndSection

Section "Device"
        Identifier  "Videocard1"
        Driver      "r500"
        VendorName  "Videocard Vendor"
        BoardName   "ATI Technologies Inc RV610 [Radeon HD 2400 XT]"
        BusID       "PCI:3:0:0"
        Option      "xrandr" "True"
        Screen      1
EndSection

さて、画面を表示するためにすべてを一つにまとめました。もう一度申し上げますが、解像度を選択することはできず、24ビットを強制的に適用する必要がありました。

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024"
                Virtual 1280 1024
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Videocard1"
        Monitor    "Monitor1"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1280x1024"
                Virtual 1280 1024
        EndSubSection
EndSection

KDEでは、次のように設定しました。

  • マルチモニターの仮想ワークスペースの有効化
  • モニタ 1: x=0、y=0、幅=1280、高さ=1024
  • モニタ2:x=1280、y=0、幅=1280、高さ=1024

おすすめ記事