Section "ServerLayout"
	Identifier	"Dual-Head-Layout"
	Screen		"Dual-Head"
EndSection

Section "Files"
	FontPath	"/usr/lib64/X11/fonts/dejavu"
	FontPath	"/usr/lib64/X11/fonts/TTF"
EndSection

Section "Module"
	Load		"dbe"  	# Double buffer extension
	Load		"extmod"  # Change
	SubSection "extmod"
		Option	"omit xfree86-dga"   # don't initialise the DGA extension
	EndSubSection
	Load		"freetype"
	Load		"record"
	Load		"type1" 
	Load		"glx"
	Load		"dri"
	Load		"drm"
EndSection

Section "Monitor"
#	ModeLine	"1280x800@60" 83.9 1280 1312 1624 1656 800 816 824 841
	Identifier	"LCD"
#	Option		"VendorName" "MSI"
#	Option		"ModelName" "MSI S271 LCD"
	Option		"DPMS" "true"
#	Option		"RightOf" "Eizo S2100"
#	Option		"Below" "Eizo S2100"
#	Option		"Position" "1024 0"
#	DisplaySize	384	240
EndSection

#Section "Monitor"
#	Identifier	"Eizo S2100"
#	Option		"VendorName" "Eizo"
#	Option		"ModelName" "S2100"
#	Option		"DPMS" "true"
#	Option		"Above" "LCD"
#	Option		"Position" "1024 0"
#	DisplaySize	200		150
#EndSection

Section "Device"
	Identifier	"ati-1100-Dual"
	Driver		"radeon"
	Option		"RenderAccel" "on"
	Option		"DRI" "true"
#	Option		"OpenGlOverlay" "off"
#	Option		"VideoOverlay" "on"
## Check if textured video works.
	Option		"AccelDFS"       "On" 
	Option		"FBTexPercent"   "30"
	Option		"MigrationHeuristic" "greedy"
	#Option		"EnablePageFlip" "On"
	Option		"AccelMethod" "EXA" 
	#Option		"backingstore" "true"
	Option		"monitor-LVDS" "LCD"
#	Option		"monitor-VGA-0" "Eizo S2100"
	BusID		"PCI:1:5:0"
EndSection

Section "Screen"
	Identifier 	"Dual-Head"
	Device     	"ati-1100-Dual"
	Monitor    	"LCD"
	DefaultDepth    24
	SubSection "Display"
		Viewport	0 0
		Depth     	24
		Modes    	"1280x800@60"
		Virtual		2880 2400
		#Virtual		1600 1200
		#Virtual		1600 2400
	EndSubSection
EndSection

Section "DRI"
	Mode		0666
EndSection

Section "Extensions"
#	Option		"Composite" "false"
	Option		"Composite" "true"
EndSection

Section "ServerFlags"
	Option		"DefaultServerLayout" "Dual-Head-Layout"
	Option		"AIGLX" "on"
#	Option		"AIGLX" "off"
EndSection