# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
#	Load	"i2c"
#	Load	"bitmap"
#	Load	"ddc"
	Load	"dri"
#	Load	"extmod"
#	Load	"freetype"
	Load	"glx"
#	Load	"int10"
#	Load	"vbe"
        Load    "v4l"
        Load    "dbe"
        Load    "fglrx"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"vesa"
	BusID		"PCI:1:5:0"
EndSection

Section "Device"
	Identifier	"Radeon Xpress 1250"
	Driver		"fglrx"
#        Option "MetaModes" "720x480; 640x480"
#        Option          "MonitorLayout" "NONE,TV"
        Option          "TVStandard" "Video"
#	Option	    "UseFBDev" "false"
	Option	    "VideoOverlay" "on"
	Option	    "OpenGLOverlay" "off"
	Option	    "TVFormat" "NTSC-M"
#	Option	    "TVFormat" "NTSC"
#	Option	    "ForceMonitors" "crt1,tv"
	Option	    "ForceMonitors" "tv,none"
	Option	    "NoTV" "no"
        Option "UseInternalAGPGART" "no"  
        Option "XAANoOffscreenPixmaps" "on"  
        Option "TexturedVideo" "on"  
         Option "OpenGLOverlay" "off"  
#         Option "Textured2D" "on"  
#         Option "TexturedXrender" "on"  
#         Option "UseFastTLS" "1?
	Option	    "OverlayOnCRTC2" "1"
	Option	    "DesktopSetup" "clone"
#	Option	    "TVHSizeAdj"   "0"
#	Option      "TVVSizeAdj"   "0"
#	Option      "TVHPosAdj"    "0"
#	Option      "TVVPosAdj"    "0"
#	Option      "TVHStartAdj"  "0"
#	Option      "TVColorAdj"   "0"
	BusID		"PCI:1:5:0"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-32
	VertRefresh	43-60
EndSection

Section "Monitor"
        Identifier      "JVC AV-32D201"
	VertRefresh	60.0
#        Option          "TV Format" "NTSC"
#        ModeLine "NTSCspec-59.94i" 14.318 768 784 848 910 483 484 492 525 Interlace
#        ModeLine "Broadcast-59.94i" 483 484 492 525 Interlace
#        ModeLine "NTSC-DVD-59.94i" 13.5 720 736 800 858 480 484 492 525 Interlace
#        ModeLine "NTSC-DVD-60i" 13.514 720 736 800 858 480 484 492 525 Interlace
#         ModeLine  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync  
         ModeLine  "640x480" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync  
         Gamma   1.0  
EndSection

#Section "Unusable"
#        Identifier      "Unusable"
## Analog-RegularModes
#ModeLine "NTSCspec-59.94i" 14.318 768 784 848 910 483 484 492 525 Interlace
#ModeLine "NTSCspec-59.94p" 28.636 768 784 848 910 483 484 492 525
#ModeLine "Laserdisk-59.94i" 567 583 647 684 483 484 492 525 Interlace
#ModeLine "Laserdisk-59.94p" 567 583 647 684 483 484 492 525
#ModeLine "Broadcast-59.94i" 483 484 492 525 Interlace
#ModeLine "Broadcast-59.94p" 483 484 492 525
#ModeLine "VHS-59.94i" 483 484 492 525 Interlace
#ModeLine "VHS-59.94p" 483 484 492 525
## DVD-NativeModes
#ModeLine "NTSC-DVD-59.94i" 13.5 720 736 800 858 480 484 492 525 Interlace
#ModeLine "NTSC-DVD-60i" 13.514 720 736 800 858 480 484 492 525 Interlace
#ModeLine "NTSC-DVD-59.94p" 27.0 720 736 800 858 480 484 492 525
#ModeLine "NTSC-DVD-60p" 27.027 720 736 800 858 480 484 492 525
#ModeLine "NTSC-DVD-71.93p" 32.4 720 736 800 858 480 484 492 525
#ModeLine "NTSC-DVD-72p" 32.432 720 736 800 858 480 484 492 525
#ModeLine "NTSC-DVD-119.88p" 54.0 720 736 800 858 480 484 492 525
#ModeLine "NTSC-DVD-120p" 54.054 720 736 800 858 480 484 492 525
#
##DTV-StandardModes
#ModeLine "ATSC-480-59.94i" 11.958 640 664 736 760 480 484 492 525 Interlace
#ModeLine "ATSC-480-60i" 11.97 640 664 736 760 480 484 492 525 Interlace
#ModeLine "ATSC-480-59.94p" 23.916 640 664 736 760 480 484 492 525
#ModeLine "ATSC-480-60p" 23.94 640 664 736 760 480 484 492 525
#ModeLine "ATSC-480a-59.94i" 11.958 640 664 736 760 480 484 492 525 Interlace
#ModeLine "ATSC-480a-60i" 11.97 640 664 736 760 480 484 492 525 Interlace
#ModeLine "ATSC-480a-59.94p" 23.916 640 664 736 760 480 484 492 525
#ModeLine "ATSC-480a-60p" 23.94 640 664 736 760 480 484 492 525
#ModeLine "ATSC-720-59.94p" 74.176 1280 1320 1376 1650 720 722 728 750
#ModeLine "ATSC-720-60p" 74.25 1280 1320 1376 1650 720 722 728 750
#ModeLine "ATSC-1080-59.94i" 74.176 1920 1960 2016 2200 1080 1082 1088 1125 Interlace
#ModeLine "ATSC-1080-60i" 74.25 1920 1960 2016 2200 1080 1082 1088 1125 Interlace
#ModeLine "ATSC-1080-59.94p" 148.352 1920 1960 2016 2200 1080 1082 1088 1125
#ModeLine "ATSC-1080-60p" 148.5 1920 1960 2016 2200 1080 1082 1088 1125
#
##DTV-MovieModes
#ModeLine "ATSC-480-71.93p" 28.699 640 664 736 760 480 484 492 525
#ModeLine "ATSC-480-72p" 28.728 640 664 736 760 480 484 492 525
#ModeLine "ATSC-480-119.88p" 47.832 640 664 736 760 480 484 492 525
#ModeLine "ATSC-480-120p" 47.88 640 664 736 760 480 484 492 525
#ModeLine "ATSC-720-71.93p" 89.011 1280 1296 1360 1650 720 722 728 750
#ModeLine "ATSC-720-72p" 89.1 1280 1296 1360 1650 720 722 728 750
#ModeLine "ATSC-720-119.88p" 148.351 1280 1296 1360 1650 720 722 728 750
#ModeLine "ATSC-720-120p" 148.5 1280 1296 1360 1650 720 722 728 750
#ModeLine "ATSC-1080-71.93i" 1920 1960 2016 2200 1080 1082 1088 1125 Interlace
#ModeLine "ATSC-1080-72i" 1920 1960 2016 2200 1080 1082 1088 1125 Interlace
#ModeLine "ATSC-1080-71.93p" 178.022 1920 1960 2016 2200 1080 1082 1088 1125
#ModeLine "ATSC-1080-72p" 178.2 1920 1960 2016 2200 1080 1082 1088 1125
#
##DTV-PCTweakedModes
#ModeLine "NTSC-59.94i" 14.35 768 808 864 912 483 485 491 525 Interlace
#ModeLine "NTSC-59.94p" 28.699 768 808 864 912 483 485 491 525
#ModeLine "NTSC-DVD-59.94i" 13.469 720 760 816 856 480 482 488 525 Interlace
#ModeLine "NTSC-DVD-60i" 13.482 720 760 816 856 480 482 488 525 Interlace
#ModeLine "NTSC-DVD-59.94p" 26.937 720 760 816 856 480 482 488 525
#ModeLine "NTSC-DVD-60p" 26.964 720 760 816 856 480 482 488 525
#ModeLine "NTSC-DVD-71.93p" 32.324 720 760 816 856 480 482 488 525
#ModeLine "NTSC-DVD-72p" 32.357 720 760 816 856 480 482 488 525
#ModeLine "ATSC-480-59.94p" 23.916 640 664 736 760 480 482 488 525
#ModeLine "ATSC-480-60p" 23.94 640 664 736 760 480 482 488 525
#ModeLine "ATSC-480-71.93p" 28.699 640 664 736 760 480 482 488 525
#ModeLine "ATSC-480-72p" 28.728 640 664 736 760 480 482 488 525
#ModeLine "ATSC-720-59.94p" 74.086 1280 1320 1376 1648 720 722 728 750
#ModeLine "ATSC-720-60p" 74.16 1280 1320 1376 1648 720 722 728 750
#ModeLine "ATSC-720-71.93p" 88.903 1280 1320 1376 1648 720 722 728 750
#ModeLine "ATSC-720-72p" 88.992 1280 1320 1376 1648 720 722 728 750
#ModeLine "ATSC-1080-59.94i" 74.176 1920 1960 2016 2200 1080 1082 1088 1125 Interlace
#ModeLine "ATSC-1080-60i" 74.25 1920 1960 2016 2200 1080 1082 1088 1125 Interlace
#ModeLine "ATSC-1080-59.94p" 148.352 1920 1960 2016 2200 1080 1082 1088 1125
#ModeLine "ATSC-1080-60p" 148.5 1920 1960 2016 2200 1080 1082 1088 1125
#ModeLine "ATSC-1080-71.93p" 178.022 1920 1960 2016 2200 1080 1082 1088 1125
#ModeLine "ATSC-1080-72p" 178.2 1920 1960 2016 2200 1080 1082 1088 1125
#EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		32
		Modes		"640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Family Room TV"
	Device		"Radeon Xpress 1250"
	Monitor		"JVC AV-32D201"
	DefaultDepth	24
	SubSection "Display"
		Depth		16
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
                Virtual 640     480 
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		32
		Modes		"640x480"
	EndSubSection
#        Option "Connected Monitor" "TV"
#        Option "TVStandard" "NTSC"
#        Option "TVStandard" "HD480i"
#        Option "TVStandard" "DVD"
#        Option "TVOutFormat" "Component"
#        Option "MetaModes" "720x480; 640x480"
EndSection

Section "Extensions"  
        Option "RENDER" "Enable"  
        Option "DAMAGE" "Enable"  
#        Option "Composite" "Enable"  
        Option "Composite" "Disable"  
        Option "XVideo" "Enable"  
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "ServerLayout"
	Identifier	"layout-fr_client"
	Screen		"Family Room TV"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "ServerFlags"  
#        Option "AIGLX" "on"  
        Option "AIGLX" "off"  
EndSection
