From: eoi@mace.cc.purdue.edu (Chenmin Zhang)
Subject: Re: XFree 1.1 runs color on my Trident 8900C card !!!!!!!!!!!!!!!!!!!!
Summary: Chenmin's Xconfig file for XFree386-1.1 trident 8900 card as requested
	 suggestions, corrections are very welcomed.
Keywords: XFree 1.1 runs color on my Trident 8900C card !!!!!!!!!!!!!!!!!!!!
Organization: Purdue University
Date: Sat, 17 Oct 1992 03:07:48 GMT

In article <Bw6H3L.4n3@mentor.cc.purdue.edu>, eoi@mace.cc.purdue.edu (Chenmin Zhang) writes:
> Several days ago I download XFree386 1.1 version from tsx-11.mit.edu site
> on my 386sx-25 box.  Yesterday I finally got X running in color.   
> It's so wonderful to see how far linux has gone since it was born.  I am 
> not unix expert, but I could share my experience for someone who is
> interested.
> 
> My machine configuration:
> 
> 386SX-25 CPU
> Trident 8900C (0x04 version according README.trident) with 1M on board.
> TVM super VGA monitor capable 1024x768 non-interlaced display.      
> 105M IDE Seagate hard drive with DOS on C: (66M)
>                                  LINUX on D: (3M+30M+6M for / /usr swap)
> 
>  
> I have no problem running xeyes, xgas,  and xcalc programs (tried so far)
> but xtetris program doesn't run and gave some error message like:
> something cann't covert to pixmap or bitmap stuff.  Is there some fonts
> I missed?  I installed XFree386 1.1 using Xbin, Xfonts (5 total ???)
> only.  
> 
> ----
> chenmin
>  
> 
>    


      This is the Xconfig file I promised today by request from several
      people.  Sorry I don't have time to mail it individually..
      My machine is a 386SX-25MHz IBM compatible clone with the configuration:

      Trident 8900C Super(?) VGA Card with 1M memory on board.
      TVM MediaScan 4A+ Super VGA capable for 1024x768 non-interlaced mode.
      Linux 0.98pl1 from Hlu's bootable rootdisk
      Hlu's base system and GCC 2.2.2d7
      XFree386-1.1 (bin+fonts)downloaded one week ago from tsx-11.mit.edu site.

      The Xconfig file is merely Rolle's (appended) Xconfig + modification
by reading README.trident and recent FAQ and comp.os.linux discussion.  
I am not a Unix nor X expert.  I just summarized those info. and put in
my Xconfig.  It works fine for me both in color and in momo. mode. 
It appears to me that it runs in "640x480' mode.  I know my Xconfig isn't
perfect.  I will be very happy to receive any suggestions.  I post my file
only for your reference.  

      Note 1: Thomas Roell's machine runs 25MHz as mine.  Yours might be not.
      Note 2: The "Server ..." error stuff is mostly due to faulse font path
              or bad file type.  The font file itself has to be in compressed
              form, while fonts.dir and fonts.alias must be uncompressed form.
              (I uncompress fonts file before by mistake)


# $XConsortium: Xconfig,v 1.2 91/08/26 14:34:55 gildea Exp $
#
# Author:  Thomas Roell, roell@informatik.tu-muenchen.de
# modified by obz for easier linux porting
##
# modified by Chenmin by try and error method. 
#
# some nice paths, to avoid conflicts with other X-servers
#
RGBPath		"/usr/X386/lib/X11/rgb"
FontPath	"/usr/X386/lib/X11/fonts/misc/,/usr/X386/lib/X11/fonts/Speedo/,/usr/X386/lib/X11/fonts/75dpi/"

Keyboard
  AutoRepeat 500 5
  ServerNumLock

MicroSoft	"/dev/ttys2"
BaudRate	1200
#
# The graphics drivers
# original under vga256 is
# Clocks	25 
vga256
  Clocks	25 28 45 36 57 65 50 40 
  Virtual	1024 1024
  ViewPort      0 0
  Modes	        "640x480"
vga2
  Clocks	25 28 45 36 57 65 50 40 
  Virtual	640x480
  ViewPort      0 0
  Modes	        "640x480"

ModeDB
# clock  horzontal timing      vertical timing
 "640x480"   25     640  672  768  800    480  490  492  525
             28     640  672  768  800    480  490  492  525

 "800x600"   25     800  816  952 1056    600  608  610  633  Interlace
             36     800  832  966  966    600  600  609  631
             39     800  872  968 1104    600  600  606  624
             39     800  864  896 1008    600  600  606  624

 "920x690"   62     920  952 1088 1168    690  688  718  724

 "1024x768i" 25    1024 1064 1224 1264    768  777  785  817   Interlace
	     45    1024 1064 1224 1264    768  777  785  817   Interlace
 "1024x768"  62    1024 1092 1220 1344    768  786  791  810
             62    1024 1096 1272 1328    768  776  778  808
             62    1024 1072 1176 1272    768  778  779  804
             62    1024 1072 1200 1240    768  766  782  786

 "1152x900"  62    1152 1184 1288 1360    900  898  929  939   Interlace
    




   The following is the full text of Thomas Roell's Xconfig file and notes.

 
Here is my Xconfig for a trident 8900c card.
I have clocks specified to 25, and resolution to 640x480, as this is
all my monitor will accept, but 1152x900 virtual works fine.


# $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

#
# some nice paths, to avoid conflicts with other X-servers
#
RGBPath		"/usr/lib/X11/rgb"
FontPath	"/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/"

Keyboard
  AutoRepeat 500 5
  ServerNumLock

MouseSystems	"/dev/ttys1"
BaudRate	1200
#
# The graphics drivers
#
vga256
  Clocks	25 
  Virtual	1152 900
  ViewPort      0 0
  Modes	        "640x480"
ModeDB
# clock  horzontal timing      vertical timing
 "640x480"   25     640  672  768  800    480  490  492  525
             28     640  672  768  800    480  490  492  525

 "800x600"   25     800  816  952 1056    600  608  610  633  Interlace
             36     800  832  966  966    600  600  609  631
             39     800  872  968 1104    600  600  606  624
             39     800  864  896 1008    600  600  606  624

 "920x690"   62     920  952 1088 1168    690  688  718  724

 "1024x768i" 25    1024 1064 1224 1264    768  777  785  817   Interlace
	     45    1024 1064 1224 1264    768  777  785  817   Interlace
 "1024x768"  62    1024 1092 1220 1344    768  786  791  810
             62    1024 1096 1272 1328    768  776  778  808
             62    1024 1072 1176 1272    768  778  779  804
             62    1024 1072 1200 1240    768  766  782  786

 "1152x900"  62    1152 1184 1288 1360    900  898  929  939   Interlace

James