# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Fri Dec 15 10:12:14 PST 2006

# /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 "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
# Added for AIGLX
    Option       "AIGLX"   "true"
EndSection

Section "Files"

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

Section "Module"

#	Load  "dbe"
#	Load  "speedo"
#	Load  "GLcore"
#	Load  "vbe"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
# Added for AIGLX
    Load	   "dri"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us,il"
    Option         "XkbOptions" "grp_led:scroll,grp:alt_shift_toggle"
EndSection

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

Section "Monitor"
    Identifier     "CMC 17 AD"
    HorizSync       30.0 - 82.0
    VertRefresh     60.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "NVidia"
    Driver         "nvidia"
    VendorName     "All"
    BoardName      "All"
    Option "TwinView"
    Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"
    Option "HorizSync" "LCD-0: 30-82; LCD-1: 30-82"
    Option "VertRefresh" "LCD-0: 60; LCD-1: 60"
    Option "TwinViewOrientation" "LCD-0 LeftOf LCD-1"
    Option "ConnectedMonitor" "LCD-0, LCD-1"
# Added for AIGLX
    Option "XAANoOffscreenPixmaps" "true"
    Option "DRI"     "true"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVidia"
    Monitor        "CMC 17 AD"
    Option         "AddARGBGLXVisuals" "True"
    DefaultDepth    24
    SubSection     "Display"

	Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        Depth       1
    EndSubSection
    SubSection     "Display"

	Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        Depth       4
    EndSubSection
    SubSection     "Display"

	Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        Depth       8
    EndSubSection
    SubSection     "Display"

	Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        Depth       15
    EndSubSection
    SubSection     "Display"

	Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        Depth       16
    EndSubSection
    SubSection     "Display"

	Modes    "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        Depth       24
    EndSubSection
EndSection

# Added for AIGLX
Section "Extensions"
    Option  "Composite"     "Enable"
EndSection

# Added for AIGLX
Section "DRI"
  Mode 0666
EndSection