# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # Multiple FontPath entries are allowed (they are concatenated together)
    # By default, Mandrake 6.0 and later now use a font server independent of
    # the X server to render fonts.
    FontPath "unix/:-1"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "Keyboard"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "fr"
    Option "XkbCompat" ""
    Option "XkbOptions" ""
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "IMPS/2"
    Option "Device" "/dev/usbmouse"
    Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    HorizSync 30-70
    VertRefresh 50-160
    
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    Modeline "1160x870" 165.2 1160 1560 1960 2360 870 873 940 940 #74.468085 Hz
    Modeline "1056x792" 157.9 1056 1456 1856 2256 792 795 861 861 #81.290517 Hz
    Modeline "952x714" 150.6 952 1352 1752 2152 714 717 783 783 #89.376006 Hz
    Modeline "848x636" 143.3 848 1248 1648 2048 636 639 705 705 #99.249224 Hz
    Modeline "744x558" 136.0 744 1144 1544 1944 558 561 627 627 #111.577110 Hz
    Modeline "640x480" 128.8 640 1040 1440 1840 480 483 550 550 #127.272727 Hz
    Modeline "536x402" 121.5 536 936 1336 1736 402 405 471 471 #148.595497 Hz
    Modeline "432x324" 102.6 432 832 1232 1632 324 327 386 393 #159.968568 Hz
    Modeline "328x246" 77.0 328 728 1128 1528 246 249 296 315 #159.976731 Hz
    Modeline "320x240" 75.3 320 720 1120 1520 240 243 289 310 #159.804754 Hz
EndSection

Section "Monitor"
    Identifier "monitor2"
    
    # Sony Vaio C1(X,XS,VE,VN)?
    # 1024x480 @ 85.6 Hz, 48 kHz hsync
    ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "S3 Inc."
    BoardName "S3 Savage4"
    Driver "savage"
    VideoRam 4096
    Screen 0
    BusID "PCI:0:7:0"
    Option "DPMS"
    # Option "no_accel"	# You may enable this if there are timeouts when starting X
EndSection

Section "Device"
    Identifier "device2"
    VendorName "nVidia Corporation"
    BoardName "RIVA TNT2"
    Driver "nv"
    Screen 0
    BusID "PCI:1:0:0"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 16
    
    Subsection "Display"
        Depth 8
        Modes "1208x906" "1120x840" "1032x774" "944x708" "856x642" "768x576" "680x510" "592x444" "504x378" "416x312" "328x246" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1208x906" "1120x840" "1032x774" "944x708" "856x642" "768x576" "680x510" "592x444" "504x378" "416x312" "328x246" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1208x906" "1120x840" "1032x774" "944x708" "856x642" "768x576" "680x510" "592x444" "504x378" "416x312" "328x246" "320x240"
    EndSubsection
    
    Subsection "Display"
        Depth 24
Modeline "1208x906" 100.0 1208 1312 1416 1512 906 909 939 939 #70.434043 Hz
Modeline "1120x840" 99.6 1120 1224 1328 1424 840 843 874 874 #80.027254 Hz
Modeline "1032x774" 93.5 1032 1136 1240 1336 774 777 808 808 #86.615136 Hz
Modeline "944x708" 87.3 944 1048 1152 1248 708 711 742 742 #94.274829 Hz
Modeline "856x642" 81.2 856 960 1064 1160 642 645 677 677 #103.397341 Hz
Modeline "768x576" 75.0 768 872 976 1072 576 579 610 610 #114.692929 Hz
Modeline "680x510" 68.8 680 784 888 984 510 513 544 544 #128.527021 Hz
Modeline "592x444" 62.7 592 696 800 896 444 447 478 478 #146.396817 Hz
Modeline "504x378" 53.2 504 608 712 808 378 381 410 412 #159.809670 Hz
Modeline "416x312" 39.9 416 520 624 720 312 315 339 347 #159.702209 Hz
Modeline "328x246" 30.0 328 432 536 632 246 249 269 297 #159.826109 Hz
Modeline "320x240" 30.0 320 424 528 624 240 243 264 301 #159.723997 Hz
    EndSubsection
EndSection

Section "Screen"
    Identifier "screen2"
    Device "device2"
    Monitor "monitor2"
    DefaultColorDepth 16
    
    Subsection "Display"
        Depth 8
        Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
    Screen "screen2" LeftOf "screen1"
    Option "Xinerama"
EndSection
