# $Header: /home/x_cvs/mit/server/ddx/x386/Xconfig.cpp,v 1.8 1993/01/24 03:47:46 dawes Exp $ # $XConsortium: Xconfig,v 1.2 91/08/26 14:34:55 gildea Exp $ # # Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany. # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that # copyright notice and this permission notice appear in supporting # documentation, and that the name of Thomas Roell not be used in # advertising or publicity pertaining to distribution of the software without # specific, written prior permission. Thomas Roell makes no representations # about the suitability of this software for any purpose. It is provided # "as is" without express or implied warranty. # # THOMAS ROELL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO # EVENT SHALL THOMAS ROELL BE LIABLE FOR ANY SPECIAL, INDIRECT OR # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, # DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. # # Author: Thomas Roell, roell@informatik.tu-muenchen.de # modified by obz for easier linux porting # Modified by Kevin Fluet (fluet@ee.ualberta.ca) for the Local Bus ATI # Graphics Ultra Pro connected to a Gateway 2000 (MAG) Crystal Scan # 1572 FS March 22, 1993 # bcr: Modified by Bill C. Riemerss (bcr@physics.purdue.edu) I've merged # bcr: our Xconfig files. Both are for the same card and monitor, so # bcr: which modes you use is just a matter of personal preferance. # # some nice paths, to avoid conflicts with other X-servers # RGBPath "/usr/X386/lib/X11/rgb" # # Multiple FontPath entries are allowed (which are concatenated together), # as well as specifying multiple comma-separated entries in one FontPath # command (or a combination of both methods) # FontPath "/usr/X386/lib/X11/fonts/misc/" #FontPath "/usr/X386/lib/X11/fonts/Type1/" FontPath "/usr/X386/lib/X11/fonts/Speedo/" FontPath "/usr/X386/lib/X11/fonts/75dpi/" FontPath "/usr/X386/lib/X11/fonts/100dpi/" #FontPath "/usr/X386/lib/X11/BitstreamType1" # # Keyboard and various keyboard-related parameters # Keyboard AutoRepeat 500 5 ServerNumLock Xleds 1 2 3 # # To set the LeftAlt to Meta, RightAlt key to ModeShift, # RightCtl key to Compose, and ScrollLock key to ModeLock: # LeftAlt Meta RightAlt ModeShift RightCtl Compose ScrollLock ModeLock # # Mouse definition and related parameters # Microsoft "/dev/mouse" Emulate3Buttons BaudRate 1200 # # The graphics drivers # First the 8-bit colour SVGA driver # vga256 Virtual 1152 910 ViewPort 0 0 Modes "1152v910" "1024v767" "800v600" # NB: These are the actual clocks for the Ultra Pro, not just what X386 # gives you. They were determined by playing with the ATI install program. Clocks 51 36 126 25 80 65 45 40 135 32 110 80 45 40 75 65 accel ViewPort 0 0 # If you only have 1MB, then 1024 767 is the maximum allowed... # Virtual 1024 767 # Modes "1024v767" "800v600" # I find the 1152x910 is wavy, and the 1280x1024 is blury, but feel # free to try them, and decide for yourself. # Virtual 1280 1024 # Modes "1280x1024" "1152x910" "1024v767" "800v600" # This is what I use Virtual 1152 910 Modes "1152v910" "1024v767" "800v600" # bcr: These are what Linus reported to the Xfree consortium # bcr: Note I don't understand why the two clock lines must be different... Clocks 100 126 92.4 36 50.35 56.64 0 44.90 135 32 110 80 39.91 44.9 75 65 # # And last, the database of video modes # # These timings are set up for _my_ LB ATI Graphics Ultra Pro with 2MB # VRAM installed. You may need to do some fine tuning due to variations from # card to card and monitor to monitor. These _should_ work on a 1MB card # without too much modification. Here is a quick and dirty description # of how to fine tune these timings by modifying the numbers below: # bcr: No modifications are needed for 1MB VRAM at this time. # # name - Not really a number, just a label. # clock - Increase to reduce flicker at higher resolutions. # You will have to readjust everything if you change this. # bcr: Higher clock speeds means less flickering. However too high # bcr: of a clock speed means you won't be able to use your full # bcr: screen. # # horizontal timing -- all numbers are multiples of 8 # 1st - The width of the display (in pixels) -- don't change this # 2nd,3rd - Increase (the same amount) to move display left. # Decrease (the same amount) to move display right. # 4th - Increase to make display narrower. # - Decrease to make display wider. # # vertical timing -- numbers do _not_ have to be multiples of 8. # 1st - The depth of the display (in pixels) -- don't change this. # 2nd,3rd - Increase (the same amount) to move display up. # Decrease (the same amount) to move display down. # 4th - Increase to make display deeper (taller). # - Decrease to make display more shallow (shorter). # # -- Kevin (fluet@ee.ualberta.ca) # bcr: # bcr: I strongly recommend using vgaset. (Found on sunsite.unc.edu.) # bcr: Any mode with a verticle frequency of about 60Hz or greater should # bcr: appear completely flicker-free. # bcr: # bcr: Bill ModeDB # name clock horizontal timing vertical timing flags # bcr: "sample" CC X1 X2 X3 X4 Y1 Y2 Y3 Y4 # bcr: I now use the following flicker-free modes. (found with vgaset) "800v600" 51 800 800 1000 1000 600 600 606 616 "1024v767" 65 1024 1024 1272 1280 767 770 788 792 "1152v910" 80 1152 1176 1424 1424 910 910 924 936 # bcr: These are Kevin's modes. "800X600" 65 800 824 944 1032 600 600 606 624 "1024X767" 75 1024 1048 1184 1288 767 773 777 806 "1152X910" 80 1152 1176 1272 1432 910 920 930 950 # bcr: These are the modes I used to use. (found by experimentation) "640by480" 40 640 664 9999 824 480 480 0 520 "800by600" 40 800 824 9999 984 600 640 0 737 51 800 824 9999 1024 600 601 0 655 "1024by767" 65 1024 1048 9999 1288 767 775 0 843 75 1024 1048 9999 1288 767 767 0 830 "1152by910" 80 1152 1176 9999 1424 910 925 0 1015 # vgaset won't work with mach32, so again these are found by experimentation "1152x910" 110 1152 1152 1400 1520 910 910 924 936 "1280x1024" 110 1280 1320 1564 1656 1024 1025 1028 1054 # These are the values reported by Gateway 2000 --> They don't work! #"1024x768" 75 1024 1072 1208 1328 768 771 777 806 -hsync -vsync #"1280x1024i" 80 1280 1296 1512 1544 1024 1025 1037 1165 Interlace