Created
July 24, 2014 08:21
-
-
Save debsankha/432736304a8f58ecb618 to your computer and use it in GitHub Desktop.
xorg.conf for dual GPU triple monitor setup using one nvidia GPU and onboard intel GPU, uses xinerama and zaphodhead
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "ServerLayout" | |
Identifier "Layout0" | |
Screen "left" 0 0 | |
Screen "center" RightOf "left" | |
Screen "right" RightOf "center" | |
InputDevice "Keyboard0" "CoreKeyboard" | |
InputDevice "Mouse0" "CorePointer" | |
Option "Xinerama" "true" | |
EndSection | |
Section "ServerFlags" | |
Option "Xinerama" "ON" | |
# Option "RandR" "false" | |
EndSection | |
Section "Module" | |
Load "glx" | |
Load "record" | |
Load "dbe" | |
Load "dri" | |
Load "drm" | |
Load "extmod" | |
EndSection | |
Section "Files" | |
EndSection | |
Section "InputDevice" | |
# generated from default | |
Identifier "Mouse0" | |
Driver "mouse" | |
Option "Protocol" "auto" | |
Option "Device" "/dev/psaux" | |
Option "Emulate3Buttons" "no" | |
Option "ZAxisMapping" "4 5" | |
EndSection | |
Section "InputDevice" | |
# generated from default | |
Identifier "Keyboard0" | |
Driver "kbd" | |
EndSection | |
Section "Monitor" | |
Identifier "eizo24" | |
VendorName "Unknown" | |
ModelName "Eizo S2402W" | |
HorizSync 31.0 - 76.0 | |
VertRefresh 59.0 - 61.0 | |
Option "DPMS" | |
EndSection | |
Section "Monitor" | |
Identifier "eizo19" | |
VendorName "Unknown" | |
ModelName "Unknown" | |
Option "DPMS" | |
# Option "Rotate" "right" | |
EndSection | |
Section "Monitor" | |
Identifier "fujitsu" | |
VendorName "Unknown" | |
ModelName "Unknown" | |
Option "DPMS" | |
Option "Rotate" "right" | |
# Option "PreferredMode" "1280x1024_60.00" | |
EndSection | |
Section "Device" | |
Identifier "nvidia" | |
Driver "nvidia" | |
VendorName "NVIDIA Corporation" | |
BusID "PCI:1:0:0" | |
EndSection | |
Section "Device" | |
Identifier "nvidia2" | |
Driver "nvidia" | |
VendorName "NVIDIA Corporation" | |
BusID "PCI:1:0:0" | |
Screen 1 | |
Option "ZaphodHeads" "DVI-0" | |
EndSection | |
Section "Device" | |
Identifier "intel" | |
Driver "intel" | |
VendorName "Intel Corporation" | |
BusID "PCI:0:2:0" | |
Option "AccelMethod" "sna" | |
# Option "TearFree" "true" | |
# Option "RandR" "false" | |
EndSection | |
Section "Screen" | |
Identifier "left" | |
Device "nvidia" | |
Monitor "eizo19" | |
Option "metamodes" "DFP-1: nvidia-auto-select +0+0 {rotation=90}" | |
SubSection "Display" | |
Depth 24 | |
EndSubSection | |
EndSection | |
Section "Screen" | |
Identifier "center" | |
Device "nvidia2" | |
Monitor "eizo24" | |
SubSection "Display" | |
Depth 24 | |
EndSubSection | |
EndSection | |
Section "Screen" | |
Identifier "right" | |
Device "intel" | |
Monitor "fujitsu" | |
# Option "metamodes" "LCD-1: {rotation=-90}" | |
SubSection "Display" | |
Depth 24 | |
# Modes "1280x1024" "1024x768" "800x600" | |
EndSubSection | |
EndSection | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works:
Doesn't work: