[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why is setting up X so arcane? (SOLVED!!!)



Hello,

yes, finally succeeded. A guru at school assisted me in building a new
XF86Config file. The dotclocks are probed incorrectly, so forcing other
values seemed to work. However, the card has really wierd behaviour and
crashes sometimes when switching between resolutions. But we have
succeeded in getting mode 1024x768 working in 16 bits, but unfortunately
the vertical refresh rate is too low.

I have attached a working XF86Config (sorry, its for the greater good),
works with the SVGA driver as well as with S3. Let this configuration  
help those who have the S3 Vision 964 card.

Greetz,
Sebastiaan
 
# XF86Config auto-generated by XF86Setup
#
# Copyright (c) 1996 by The XFree86 Project, Inc.

#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# See 'man XF86Config' for info on the format of this file

Section "Files"
   RgbPath    "/usr/X11R6/lib/X11/rgb"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi"
EndSection

Section "ServerFlags"
   AllowMouseOpenFail
EndSection

Section "Keyboard"
   Protocol        "Standard"
   AutoRepeat      500 30
   LeftAlt         Meta
   RightAlt        Meta
   ScrollLock      Compose
   RightCtl        Control
   XkbKeycodes     "xfree86"
   XkbTypes        "default"
   XkbCompat       "default"
   XkbSymbols      "us(pc101)"
   XkbGeometry     "pc"
   XkbRules        "xfree86"
   XkbModel        "pc104"
   XkbLayout       "us"
EndSection

Section "Pointer"
   Protocol        "MouseSystems"
   Device          "/dev/mouse"
   BaudRate        1200
   Emulate3Timeout 50
   Resolution      100
   Buttons         3
   Emulate3Buttons
EndSection

Section "Monitor"
   Identifier      "Primary Monitor"
   VendorName      "Unknown"
   ModelName       "Unknown"
   HorizSync       31.5-52
   VertRefresh     50-90

   Modeline  "1024x768"   70.00 1024 1032 1152 1360 768 784 787 823
#   Modeline  "1024x768"   65.00 1024 1032 1152 1360 768 784 787 823
   Modeline  "640x480"    25.18 640 664 760 800 400 409 411 450
EndSection

Section "Device"
   Identifier      "Primary Card"
   VendorName      "Unknown"
   BoardName       "None"
   VideoRam        2048

#These two lines helps

   Ramdac "bt485"
   ClockChip "s3gendac"
EndSection

# Note that Nvida Riva 128  sometimes crashes when switching
# dynnamically from one resolution to another ! (KL Nov 99)

Section "Screen"
   Driver          "SVGA"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   DefaultColorDepth 16
   BlankTime       0
   SuspendTime     0
   OffTime         0
   SubSection "Display"
      Depth        8
      Modes        "1024x768" "640x480"
   EndSubSection
   SubSection "Display"
      Depth        16
      Modes        "1024x768" "640x480"
   EndSubSection
EndSection

Section "Screen"
   Driver          "Accel"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   DefaultColorDepth 16
   BlankTime       0
   SuspendTime     0
   OffTime         0
   SubSection "Display"
      Depth        8
      Modes        "1024x768" "640x480"
   EndSubSection
   SubSection "Display"
      Depth        16
      Modes        "1024x768" "640x480"
   EndSubSection
EndSection

Section "Screen"
   Driver          "VGA16"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   BlankTime       0
   SuspendTime     0
   OffTime         0
   SubSection "Display"
      Depth        4
      Modes        "1280x1024"
   EndSubSection
EndSection

Section "Screen"
   Driver          "VGA2"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   BlankTime       0
   SuspendTime     0
   OffTime         0
   SubSection "Display"
      Depth        1
      Modes        "1280x1024"
   EndSubSection
EndSection

Reply to: