MultiMonitorSetup

Version 3 (lynxis, 01/10/2012 15:21)

1 1 lynxis
h1. MultiMonitorSetup
2 1 lynxis
3 1 lynxis
You can use libavg in a multimonitor Setup as long libavg can create *one* OpenGL context over all screens.
4 1 lynxis
This works with Intel, ATI and Nvidia.
5 1 lynxis
Most graphiccards only allows 2 screen(also named heads) at a time. There are some cards which supports more 
6 1 lynxis
than these.
7 1 lynxis
8 1 lynxis
h2. Intel
9 1 lynxis
10 1 lynxis
_Tested under Linux with Intel HD4500ironlake using opensource drivers_
11 1 lynxis
Use xrandr or gnome-settings to add your screen
12 3 lynxis
<pre>
13 1 lynxis
xrandr --output VGA1 --left-of LVDS1 --auto
14 3 lynxis
</pre>
15 1 lynxis
You can also use xorg.conf to manual configure the same settings you changed over xrandr
16 1 lynxis
17 1 lynxis
TODO: check ViewPort/VirtualScreenSize - it's missing + testing this!
18 1 lynxis
<pre>
19 1 lynxis
Section "ServerLayout"
20 1 lynxis
        Identifier     "X.org Configured"
21 1 lynxis
        Screen      0  "aticonfig-Screen[0]-0" 0 0
22 1 lynxis
EndSection
23 1 lynxis
24 1 lynxis
Section "Device"
25 1 lynxis
        Identifier  "aticonfig-Device[0]-0"
26 1 lynxis
        Driver      "fglrx"
27 1 lynxis
        BusID       "PCI:4:0:0"
28 1 lynxis
    Option      "Monitor-DFP2" "Unten Monitor"
29 1 lynxis
    Option      "Monitor-CRT2" "Oben Monitor"
30 1 lynxis
EndSection
31 1 lynxis
32 1 lynxis
Section "Monitor"
33 1 lynxis
        Identifier      "Unten Monitor"
34 1 lynxis
EndSection
35 1 lynxis
36 1 lynxis
Section "Monitor"
37 1 lynxis
        Identifier      "Oben Monitor"
38 1 lynxis
        Option          "Above" "Unten Monitor"
39 1 lynxis
EndSection
40 1 lynxis
41 1 lynxis
Section "Screen"
42 1 lynxis
        Identifier "aticonfig-Screen[0]-0"
43 1 lynxis
        Device     "aticonfig-Device[0]-0"
44 1 lynxis
        DefaultDepth     24
45 1 lynxis
        SubSection "Display"
46 1 lynxis
                Viewport   0 0
47 1 lynxis
                Depth     24
48 1 lynxis
        EndSubSection
49 1 lynxis
EndSection
50 1 lynxis
</pre>
51 1 lynxis
52 1 lynxis
h2. AMD/ATI
53 1 lynxis
54 1 lynxis
_Tested with ATI HD 6950 using proprietary drivers from amd_
55 1 lynxis
Same way like Intel. Use xrandr-cmdline or use system graphic or you can configure it over xorg.conf
56 1 lynxis
57 1 lynxis
h2. Nvidia
58 1 lynxis
59 1 lynxis
_Tested with GTX 660 Ti using proprietary drivers from nvidia_
60 1 lynxis
You have to use TwinView
61 1 lynxis
<pre>
62 1 lynxis
Section "Device"
63 1 lynxis
        Identifier      "Device0"
64 1 lynxis
        Driver          "nvidia"
65 1 lynxis
        BusId       "PCI:1:0:0"
66 1 lynxis
EndSection
67 1 lynxis
68 1 lynxis
Section "Screen"
69 1 lynxis
        Identifier      "Screen0"
70 1 lynxis
        Device          "Device0"
71 1 lynxis
        DefaultDepth    24
72 1 lynxis
        Option          "TwinView" "1"
73 1 lynxis
        Option          "TwinViewXineramaInfoOrder" "DFP-0"
74 1 lynxis
#Option          "metamodes" "DFP-0: 1366x768_60 +0+0, DFP-1: 1920x1200_60 +1366+0, DFP-2: 1920x1200_60 +3286+0"
75 1 lynxis
        Option          "metamodes" "DFP-0: 1920x1200_60 +0+0, DFP-1: 1920x1200_60 +1366+0, DFP-2: 1366x768_60 +3286+0"
76 1 lynxis
        SubSection      "Display"
77 1 lynxis
                Depth       24
78 1 lynxis
        EndSubSection
79 1 lynxis
EndSection
80 1 lynxis
81 2 lynxis
</pre>
82 2 lynxis
83 2 lynxis
Maybe also interesting for you : http://www.x.org/wiki/XInputCoordinateTransformationMatrixUsage and https://wiki.archlinux.org/index.php/Touchscreen