# ********************************************************************** # DRI Section # ********************************************************************** Section "dri" Mode 0666 EndSection # ********************************************************************** # Module section -- this section is used to specify # which dynamically loadable modules to load. # ********************************************************************** Section "Module" # This loads the DBE extension module. Load "dbe" # Double buffer extension Load "type1" Load "freetype" #SubSection "extmod" # Option "omit xfree86-dga" # don't initialise the DGA extension #EndSubSection # This loads the GLX module Load "glx" # libglx.a # Load "dri" # libdri.a Load "extmod" EndSection # ********************************************************************** # Files section. This allows default font and rgb paths to be set # ********************************************************************** Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" # FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" # The module search path. The default path is shown here. ModulePath "/usr/X11R6/lib/modules" EndSection # ********************************************************************** # Input devices # ********************************************************************** # ********************************************************************** # Core keyboard's InputDevice section # ********************************************************************** Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "AutoRepeat" "500 30" Option "XkbRules" "xfree86" Option "XkbModel" "pc101" Option "XkbLayout" "us" Option "XkbOptions" "grp:Alt_shift_toggle,grp_led:scroll,grp_led,num,grp_led:caps,grp:lwin_toggle,grp:rwin_toggle" EndSection # ********************************************************************** # Core Pointer's InputDevice section # ********************************************************************** Section "InputDevice" # Identifier and driver Identifier "Mouse1" Driver "mouse" Option "Protocol" "ImPS/2" Option "ZAxisMapping" "4 5" Option "Device" "/dev/input/mouse0" EndSection # ********************************************************************** # Monitor section # ********************************************************************** # Any number of monitor sections may be present Section "Monitor" Identifier "Monitor0" #HorizSync 30-82 #VertRefresh 56-75 # HorizSync 30.0-110.0 # VertRefresh 50.0-150.0 Option "DPMS" EndSection # === Nvida device section === Section "Device" Identifier "GeforceFX 1" Driver "nvidia" Option "RenderAccel" "true" Option "NvAGP" "3" Option "Coolbits" "1" Option "NoLogo" "1" Option "TwinView" #Option "SecondMonitorHorizSync" "30.0-82.0" #Option "SecondMonitorVertRefresh" "56.0-75.0" #Option "SecondMonitorHorizSync" "30-110" #Option "SecondMonitorVertRefresh" "50-150" Option "MetaModes" "1280x1024,1280x1024;1024x768,1024x768;800x600,800x600;648x480,648x480" Option "TwinViewOrientation" "Rightof" Option "HWcursor" Option "CursorShadow" Option "CursorShadowAlpha" "32" Option "CursorShadowXOffset" "3" Option "CursorShadowYOffset" "3" #Option "backingstore" "true" #if you want Composite and GLX (they don't cooperate): Option "AllowGLXWithComposite" "on" BusID "PCI:2:0:0" #Option "EnableALiAGP" "1" #Option "EnableAGPFW" "1" Screen 0 EndSection # ********************************************************************** # Server flags section. # ********************************************************************** Section "ServerFlags" Option "Xinerama" "false" EndSection Section "Extensions" Option "Composite" "enable" Option "RENDER" "true" # Option "DAMAGE" "true" EndSection Section "Screen" Identifier "Screen0" Device "GeforceFX 1" Monitor "Monitor0" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection EndSection # ********************************************************************** # ServerLayout sections. # ********************************************************************** Section "ServerLayout" Identifier "Server Layout" Screen 0 "Screen0" 0 0 # Screen 1 "Screen1" RightOf "Screen0" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection