web-dev-qa-db-ja.com

3台のモニターを備えたLinuxマシンをセットアップするためのチュートリアル?

3台のモニターでLinuxをセットアップするための最新のチュートリアルへのリンクを提供できますか?具体的には、3台のモニターを備えた2つの異なるnvidiaビデオカードをセットアップしたいと思います。私はすでに1枚のビデオカードで2台のモニターを実行できるので、それらのチュートリアルには興味がありません。

3
jmvidal

Xineramaと2枚のNvidiagfxカードを使用して3台のモニターセットアップを実行します。これはX.org1.9.4で機能します。私のxorg.confを見てください:

Section "ServerLayout"
Identifier     "X.org Configured"
Option      "Clone"     "off"
Option      "Xinerama"  "on"
Screen      0  "Screen0"
Screen      1  "Screen1" RightOf "Screen0"
Screen      2  "Screen2" LeftOf "Screen0"
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
    Option      "DontZap"       "false"
EndSection

Section "Files"
ModulePath   "/usr/lib/xorg/modules"
FontPath     "/usr/share/fonts/misc"
FontPath     "/usr/share/fonts/100dpi:unscaled"
FontPath     "/usr/share/fonts/75dpi:unscaled"
FontPath     "/usr/share/fonts/TTF"
FontPath     "/usr/share/fonts/Type1"
FontPath     "/usr/share/fonts/local"
EndSection

Section "Module"
Load  "record"
Load  "extmod"
Load  "dbe"
Load  "dri2"
Load  "dri"
Load  "glx"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option      "XkbLayout" "gb"
Option      "XkbOptions" "terminate:ctrl_alt_bksp" 
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option      "Protocol" "auto"
Option      "Device" "/dev/input/mice"
Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
Option       "DPMS"
EndSection

Section "Monitor"
Identifier   "Monitor1"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
Option       "DPMS"
EndSection

Section "Monitor"
Identifier   "Monitor2"
VendorName   "Monitor Vendor"
ModelName    "Monitor Model"
Option       "DPMS"
EndSection



Section "Device"
Identifier  "Card0"
Driver      "nvidia"
VendorName  "nVidia Corporation"
BoardName   "G80 [GeForce 8800 GTS]"
BusID       "PCI:1:0:0"
Option      "NoLogo"    "1"
Option      "RenderAccel"   "True"
Screen      0
EndSection

Section "Device"
Identifier  "Card1"
Driver      "nvidia"
VendorName  "nVidia Corporation"
BoardName   "G80 [GeForce 8800 GTS]"
BusID       "PCI:1:0:0"
Option      "NoLogo"    "1"
Option      "RenderAccel"   "True"
Screen      1
EndSection

Section "Device"
Identifier  "Card2"
Driver      "nvidia"
VendorName  "nVidia Corporation"
BoardName   "G92 [GeForce 8800 GTS 512]"
BusID       "PCI:4:0:0"
Option      "NoLogo"    "1"
Option      "RenderAccel"   "True"
Screen      0
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Card0"
Monitor    "Monitor0"
Option     "Metamodes" "1680x1050"
SubSection "Display"
    Depth     24
    Modes     "1680x1050"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device     "Card1"
Monitor    "Monitor1"
Option     "Metamodes" "1680x1050"
SubSection "Display"
    Depth     24
    Modes     "1680x1050"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen2"
Device     "Card2"
Monitor    "Monitor2"
Option     "Metamodes" "1680x1050"
SubSection "Display"
    Depth     24
    Modes     "1680x1050"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

はい、私はXineramaが古く、すべてのクールな子供たちがxrandrを使用する必要があることを知っています。まあ、誰かが私に動作するXrandr構成を見せてくれるなら、私はハートビートで変更します。

別の解決策は、モニターを多重化するハードウェアギズモを使用することです。高価ですが、Xineramaの代わりにSLI/xrandr/etcを実行できます。 ギズモはこちら

3
brice

十分に最新のLinuxインストールがあり、適度に新しいnvidiaカードとドライバー(私は仕事で185(ubuntu)、自宅で190(Fedora12))を持っている場合、あなたはすでに難しい部分を実行しています。

ここで行う必要があるのは、nvidia-settingsパッケージをインストールし(yum install nvidia-settings)、再起動して新しいカードとモニターを接続することだけです。

次に、nvidia-settingsをrootとして実行します。

両方のGPUが、それぞれに接続されているモニターとともに一覧表示されます(表示されるはずです)。

[X Server Display Configuration]の下に、3つのモニターすべてが表示されますが、1つは無効になっている場合があります。最初にその画面を選択することにより、構成行でそれを有効にすることができます。ここでも、画面を好きな場所(左、右、上、下など)に配置できます。

注:私が知る限り、2つの別々のカードでは、Xineramaまたは別々のxディスプレイを使用する必要があります。 (SLIセットアップでは、ツインビューで3つ以上のモニターを実行できる可能性があります。使用したことがないため、そのセットアップについてはよくわかりません。SLIなしで2枚のカードを実行しました)。

Xineramaでは、Xディスプレイの合成(派手な3Dウィンドウ効果なし)や、Xineramaで発生する可能性のあるその他の問題は考慮されません。

Xorg.confを直接編集する必要はもうありません。

0
SuperMagic