Skip navigation

Running multiple heads with multiple video cards has usually been a pain under Linux. The only viable option was Xinerama which is a full software solution of awful performances, specially when driving 3 or 4 displays at 2560×1600 resolution each.

After lots of digging around and infinite Xorg reboots I found that Nvidia drivers offers this “Mosaic” mode that allows screen composition natively. Here’s my Xorg.conf that uses this feature:

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro NVS 295"
BusID "PCI:3:0:0"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro NVS 295"
BusID "PCI:4:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "BaseMosaic" "True"
Option "MetaModes" "GPU-0.DFP-2: 2560x1600 +0+0, GPU-1.DFP-2: 2560x1600 +2560+0 {rotation=90}, GPU-1.DFP-3: 2560x1600 +4160+0 {rotation=90}"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor0"
DefaultDepth 24
Option "BaseMosaic" "True"
Option "MetaModes" "GPU-0.DFP-2: 2560x1600 +0+0, GPU-1.DFP-2: 2560x1600 +2560+0 {rotation=90}, GPU-1.DFP-3: 2560x1600 +4160+0 {rotation=90}"
SubSection "Display"
Depth 24
EndSubSection
EndSection

This is a triple head with the left most display in landscape mode and the two central displays are in portrait mode. I have a right most display attached to a mac mini to keep my view symmetric.

Annunci

Rispondi

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...

%d blogger hanno fatto clic su Mi Piace per questo: