Skip to content

Instantly share code, notes, and snippets.

@daemox
Created August 23, 2013 23:45
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save daemox/6325050 to your computer and use it in GitHub Desktop.
/etc/X11/xorg.conf.d/10-monitor.conf for Dual monitor NVIDIA driver setup. Screen1 is rotated and above screen0.
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 325.15 (buildmeister@swio-display-x64-rhel04-03) Wed Jul 31 19:04:13 PDT 2013
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 1280
Screen 1 "Screen1" 448 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
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"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "BenQ GL2450H"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 76.0
Option "DPMS"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "Samsung 770 Analog"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 85.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 670"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 670"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "HDMI-0: 1920x1080_60 +0+0; HDMI-0: nvidia-auto-select +0+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "CRT-0"
Option "metamodes" "DVI-I-0: 1280x1024_75 +0+0 {rotation=right}; DVI-I-0: 1024x768 +0+0 {rotation=right}; DVI-I-0: 1024x768_75 +0+0 {rotation=right}; DVI-I-0: 1024x768_70 +0+0 {rotation=right}; DVI-I-0: 1024x768_60 +0+0 {rotation=right}; DVI-I-0: 832x624 +0+0 {rotation=right}; DVI-I-0: 800x600 +0+0 {rotation=right}; DVI-I-0: 800x600_75 +0+0 {rotation=right}; DVI-I-0: 800x600_72 +0+0 {rotation=right}; DVI-I-0: 800x600_60 +0+0 {rotation=right}; DVI-I-0: 800x600_56 +0+0 {rotation=right}; DVI-I-0: 720x400 +0+0 {rotation=right}; DVI-I-0: 700x525 +0+0 {rotation=right}; DVI-I-0: 700x525d60 +0+0 {rotation=right}; DVI-I-0: 640x480 +0+0 {rotation=right}; DVI-I-0: 640x480_75 +0+0 {rotation=right}; DVI-I-0: 640x480_73 +0+0 {rotation=right}; DVI-I-0: 640x480_72 +0+0 {rotation=right}; DVI-I-0: 640x480_60 +0+0 {rotation=right}; DVI-I-0: 640x480_60_0 +0+0 {rotation=right}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment