Friday, 18 May 2012

Xorg.conf x4 Monitors

As promised, below is my updated xorg.conf. As predicted, it was a bit of a nightmare getting it up and running with lots of trial and error. I followed this guide to using dual output on my integrated graphics from the i7-2600. However I had the added complication that I couldn't use xrandr whilst my nvidia drivers were loaded, so I had to unplug the nvidia card to find out the identity of the outputs for the option lines for the Intel device.

Anyway, it's done now - that's half a day I'm not getting back. Enjoy.


Section "Module"
        Load "dri"
        Load "dbe"
        Load "extmod"
        Load "type1"
        Load "freetype"
        Load "glx"
EndSection

Section "Monitor"
        Identifier     "Monitor2"
        VendorName     "Unknown"
        Option "Position" "0 0"
        ModelName      "Samsung SyncMaster"
        HorizSync       30.0 - 81.0
        VertRefresh     56.0 - 60.0
        Option         "DPMS"
        Option "PreferredMode"  "1920x1080"
EndSection

Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
    Option "Position" "-1280 0"
        ModelName      "Dell 197FP"
        HorizSync       30.0 - 81.0
        VertRefresh     56.0 - 60.0
        Option         "DPMS"
        Option "PreferredMode"  "1280x1024"
EndSection

Section "Monitor"
        Identifier     "Monitor3"
        Option "Position" "3840 0"
        VendorName     "Unknown"
        ModelName      "Acer"
        HorizSync       30.0 - 81.0
        VertRefresh     56.0 - 60.0
        Option         "DPMS"
        Option "PreferredMode"  "1920x1080"
EndSection

Section "Monitor"
        Identifier     "Monitor1"
        Option "Position" "1920 0"
        VendorName     "Unknown"
        ModelName      "Dell 196FP"                                                                                                                                                                                                                 
        HorizSync       30.0 - 81.0                                                                                                                                                                                                                 
        VertRefresh     56.0 - 60.0
        Option         "DPMS"
        Option "PreferredMode"  "1280x1024"
EndSection


Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GTX 560"
        BusID          "PCI:1:0:0"
        Screen          0
        Option  "NoLogo"        "True"
EndSection

Section "Device"
        Identifier     "Device1"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce GTX 560"
        BusID          "PCI:1:0:0"
        Screen          1
        Option  "NoLogo"        "True"
EndSection

Section "Device"
        Identifier     "Device2"
        Driver         "intel"
        VendorName     "Intel Corporation"
        BoardName      "Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller"
        BusID          "PCI:00:02:0"
        Option  "NoLogo"        "True"
    Option "monitor-HMDI1" "Monitor3"
        Option "monitor-VGA1" "Monitor1"
EndSection

Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "TwinView" "0"
        Option         "metamodes" "DFP: nvidia-auto-select +0+0"
        Option         "DisableGLXRootClipping" "True"
        Option         "AllowGLXWithComposite" "True"
        Option         "RenderAccel" "True"
        Option         "AddARGBGLXVisuals" "True"
        SubSection "Display"
                Depth       24
                Modes      "1920x1080"
        EndSubSection
EndSection

Section "Screen"
        Identifier     "Screen1"
        Device         "Device1"
        Monitor        "Monitor1"
        DefaultDepth    24
        Option         "metamodes" "DFP: nvidia-auto-select +0+0"
        Option         "DisableGLXRootClipping" "True"
        Option         "AllowGLXWithComposite" "True"
        Option         "RenderAccel" "True"
        Option         "AddARGBGLXVisuals" "True"
        SubSection "Display"
                Depth       24
                Modes      "1280x1024"
        EndSubSection
EndSection

Section "Screen"
        Identifier     "Screen3"
        Device         "Device2"
        Monitor        "Monitor3"
        DefaultDepth    24
        Option         "metamodes" "DFP: nvidia-auto-select +0+0"
        Option         "DisableGLXRootClipping" "True"
        Option         "AllowGLXWithComposite" "True"
        Option         "RenderAccel" "True"
        Option         "AddARGBGLXVisuals" "True"
        SubSection "Display"
                Depth       24
                Modes      "1280x1024" 
        EndSubSection
EndSection


Section "Screen"
        Identifier     "Screen2"
        Device         "Device2"
        Monitor        "Monitor2"
        DefaultDepth    24
        Option         "metamodes" "DFP: nvidia-auto-select +0+0"
        Option         "DisableGLXRootClipping" "True"
        Option         "AllowGLXWithComposite" "True"
        Option         "RenderAccel" "True"
        Option         "AddARGBGLXVisuals" "True"
        SubSection "Display"
                Depth       24
                Modes      "1920x1080"
                #Virtual 3840 2160
        EndSubSection
EndSection

Section "Extensions"
        Option         "Composite" "Enable"
EndSection

Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" LeftOf "Screen0"
        Screen     2  "Screen2" RightOf "Screen0"
        Screen     3  "Screen3" RightOf "Screen2"
EndSection

Section "ServerFlags"
        Option         "Xinerama" "1"
EndSection

No comments:

Post a Comment

Leave a comment!

Can we just autofill city and state? Please!

Coming from a country that is not the US where zip/postal codes are hyper specific, it always drives me nuts when you are filling in a form ...