MultiMonitorSetup

Version 1 (lynxis, 01/10/2012 15:16) → Version 2/7 (lynxis, 01/10/2012 15:21)

h1. MultiMonitorSetup

You can use libavg in a multimonitor Setup as long libavg can create *one* OpenGL context over all screens.
This works with Intel, ATI and Nvidia.
Most graphiccards only allows 2 screen(also named heads) at a time. There are some cards which supports more
than these.

h2. Intel

_Tested under Linux with Intel HD4500ironlake using opensource drivers_
Use xrandr or gnome-settings to add your screen
xrandr --output VGA1 --left-of LVDS1 --auto
You can also use xorg.conf to manual configure the same settings you changed over xrandr

TODO: check ViewPort/VirtualScreenSize - it's missing + testing this!
<pre>
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:4:0:0"
Option "Monitor-DFP2" "Unten Monitor"
Option "Monitor-CRT2" "Oben Monitor"
EndSection

Section "Monitor"
Identifier "Unten Monitor"
EndSection

Section "Monitor"
Identifier "Oben Monitor"
Option "Above" "Unten Monitor"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
</pre>

h2. AMD/ATI

_Tested with ATI HD 6950 using proprietary drivers from amd_
Same way like Intel. Use xrandr-cmdline or use system graphic or you can configure it over xorg.conf

h2. Nvidia

_Tested with GTX 660 Ti using proprietary drivers from nvidia_
You have to use TwinView
<pre>
Section "Device"
Identifier "Device0"
Driver "nvidia"
BusId "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
#Option "metamodes" "DFP-0: 1366x768_60 +0+0, DFP-1: 1920x1200_60 +1366+0, DFP-2: 1920x1200_60 +3286+0"
Option "metamodes" "DFP-0: 1920x1200_60 +0+0, DFP-1: 1920x1200_60 +1366+0, DFP-2: 1366x768_60 +3286+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

</pre>

Maybe also interesting for you : http://www.x.org/wiki/XInputCoordinateTransformationMatrixUsage and https://wiki.archlinux.org/index.php/Touchscreen