All pastes #536592 Raw Edit

xorg.conf dual screen

public text v1 · immutable
·published 2007-06-04 13:19 UTC
rendered paste body
# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
	FontPath	"/usr/share/fonts/local/"
	FontPath	"/usr/share/fonts/misc"
	FontPath	"/usr/share/fonts/Type1"
	FontPath	"/usr/share/fonts/TTF"
	#FontPath	"/usr/share/fonts/CID"
	FontPath	"/usr/share/fonts/75dpi/"
	FontPath	"/usr/share/fonts/100dpi/"
EndSection

# **********************************************************************
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
# **********************************************************************

Section "Module"
	Load		"glx"
	Load		"record"
	Load		"extmod"
	Load		"dbe"
	Load		"xtrap"
	Load		"type1"
	Load		"freetype"
EndSection

# **********************************************************************
# Server flags section.  This contains various server-wide Options.
# **********************************************************************

Section "ServerFlags"
	Option		"blank time"	"10"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

Section "InputDevice"
	Identifier	"Keyboard0"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbModel"	"pc105"
	Option		"XkbRules"      "xorg"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Mouse0"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"        "/dev/input/mice"
	Option		"Protocol"      "auto"
	Option		"ZAxis Mapping" "4 5"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
	Identifier	"Monitor0"
	VendorName	"ViewSonic"
	ModelName	"VP201b"
	HorizSync	30-92
	VertRefresh	50-85
EndSection

Section "Monitor"
	Identifier	"Monitor1"
	VendorName	"SiliconGraphics"
	ModelName	"GDM-4011P"
	HorizSync	30-85
	VertRefresh	50-100
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
        #Option     "DigitalVibrance"    	# <i>
        #Option     "NoFlip"             	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "UBB"                	# [<bool>]
        #Option     "Stereo"             	# <i>
        #Option     "SWcursor"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "TVStandard"         	# <str>
        #Option     "TVOutFormat"        	# <str>
        #Option     "CursorShadow"       	# [<bool>]
        #Option     "CursorShadowAlpha"  	# <i>
        #Option     "CursorShadowXOffset" 	# <i>
        #Option     "CursorShadowYOffset" 	# <i>
        #Option     "UseEdidFreqs"       	# [<bool>]
        #Option     "FlatPanelProperties" 	# <str>
        #Option     "TwinViewOrientation" 	# <str>
        #Option     "MetaModes"          	# <str>
        #Option     "UseInt10Module"     	# [<bool>]
        #Option     "NoTwinViewXineramaInfo" 	# [<bool>]
        #Option     "NoRenderExtension"  	# [<bool>]
        #Option     "Overlay"            	# [<bool>]
        #Option     "CIOverlay"          	# [<bool>]
        #Option     "ForceEmulatedOverlay" 	# [<bool>]
        #Option     "TransparentIndex"   	# <i>
        #Option     "OverlayDefaultVisual" 	# [<bool>]
        #Option     "NvEmulate"          	# <i>
        #Option     "NoBandWidthTest"    	# [<bool>]
        #Option     "CustomEDID-CRT-0"   	# <str>
        #Option     "CustomEDID-CRT-1"   	# <str>
        #Option     "CustomEDID-DFP-0"   	# <str>
        #Option     "CustomEDID-DFP-1"   	# <str>
        #Option     "CustomEDID-TV-0"    	# <str>
        #Option     "CustomEDID-TV-1"    	# <str>
        #Option     "TVOverScan"         	# <f>
        #Option     "IgnoreDisplayDevices" 	# <str>
        #Option     "MultisampleCompatibility" 	# [<bool>]
        #Option     "RegistryDwords"     	# <str>
        #Option     "RegistryBinary"     	# <str>
        #Option     "NoPowerConnectorCheck" 	# [<bool>]
        #Option     "AllowDFPStereo"     	# [<bool>]
        #Option     "XvMCUsesTextures"   	# [<bool>]
        #Option     "HorizSync"          	# <str>
        #Option     "VertRefresh"        	# <str>
	Identifier  "Card0"
	VendorName  "nVidia Corporation"
	BoardName   "NV40 [GeForce 6800 GT]"
	
	VideoRam    262144
	
	Driver      "nvidia"
	BusID       "PCI:1:0:0"
	Option      "NvAGP" "1"
	
	Screen	    0
	Option	    "UseDisplayDevice" "DFP-0"
	Option      "IgnoreDisplayDevices" "TV"
	Option	    "Xinerama" "on"
	
	#Option	    "TwinView" "true"
	#Option	    "SecondMonitorHorizSync" "30.0-85.0"
	#Option	    "SecondMonitorVertRefresh" "50.0-100.0"
	#Option	    "MetaModes" "DFP-0: 1600x1200, CRT-1: 1600x1200;"
	#Option	    "TwinViewOrientation" "LeftOf"
	
        Option      "HWcursor"
        Option      "NoLogo"
        #Option     "RenderAccel"
        #Option     "AllowGLXWithComposite"
EndSection

Section "Device"
	Identifier  "Card1"
	VendorName  "nVidia Corporation"
	BoardName   "NV40 [GeForce 6800 GT]"

	VideoRam    262144

	Driver      "nvidia"
	BusID       "PCI:1:0:0"
	Option      "NvAGP" "1"

	Screen	    1
	Option      "UseDisplayDevice" "CRT-1"
	Option      "IgnoreDisplayDevices" "TV"
	Option      "Xinerama" "on"
EndSection

# **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth      24

	SubSection "Display"
		Depth     24
		Modes     "1600x1200"
		Viewport   0 0
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	DefaultDepth      24

	SubSection "Display"
		Depth     24
		Modes     "1600x1200"
		Viewport   0 0
	EndSubSection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
	Identifier     "Main Layout"
	Screen      0  "Screen0"    0 0
	Screen      1  "Screen1"    LeftOf "Screen0"
	InputDevice    "Mouse0"	   "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection