
# With libXiconfig we don't need configuration for
# ps and usb mice.
# For serial mice we will set up all serial devices.
#
# Composite is not yet stable on even major drivers;
# uncomment to enable
#Section "Extensions"
#	Option      "RENDER" "Enable"
#	Option      "Composite" "Enable"
#EndSection

#Section "ServerLayout"
#	Identifier     "Minimal layout"
#	Screen         "Screen0" 0 0
#	InputDevice    "/dev/ttyS1" "CorePointer"
#	InputDevice    "/dev/ttyS0" "AlwaysCore"
#EndSection

Section "Module"
#	Load  "freetype"
	Load  "glx"
	Load  "dri"
	Load  "dbe"
	SubSection "extmod"
		Option	    "omit xfree86-dga"
	EndSubSection
EndSection

Section "ServerFlags"
	Option	    "AutoAddDevices" "true"
	Option	    "AllowMouseOpenFail" "true"
	Option	    "AIGLX" "true"
EndSection

#Section "InputDevice"
#	Identifier  "/dev/ttyS2"
#	Driver      "mouse"
#	Option	    "Device" "/dev/ttyS2"
#	Option	    "Protocol" "microsoft"
#EndSection

#Section "InputDevice"
#	Identifier  "/dev/ttyS1"
#	Driver      "mouse"
#	Option	    "Device" "/dev/ttyS1"
#	Option	    "Protocol" "microsoft"
#EndSection

#Section "InputDevice"
#	Identifier  "/dev/ttyS0"
#	Driver      "mouse"
#	Option	    "Device" "/dev/ttyS0"
#	Option	    "Protocol" "microsoft"
#EndSection


Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 190.0
    VertRefresh     56.0 - 125.0
    DisplaySize     479    296
EndSection


Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9800 GT"
EndSection

Section "Screen"

# Removed Option "metamodes" "1680x1050 +0+0; 1280x1024 +0+0; 1280x960 +0+0; 1152x864 +0+0; 1024x768 +0+0; 960x720 +0+0; 832x624 +0+0; 800x600 +0+0; 640x480 +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "UseEdidDpi" "false"
    Option         "TwinView" "0"
    Option         "metamodes" "1680x1050_120 +0+0; 1680x1050 +0+0; 1280x1024 +0+0; 1280x960 +0+0; 1152x864 +0+0; 1024x768 +0+0; 960x720 +0+0; 832x624 +0+0; 800x600 +0+0; 640x480 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Section "DRI"
	Group        "xgrp"
	Mode         0660
EndSection
