From: hasty@netcom.com (Amancio Hasty Jr)
Subject: [386bsd/Linux] XS3 and diamond stealth
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Distribution: comp.unix.bsd,comp.windows.x
Date: Fri, 20 Nov 1992 03:06:37 GMT

Don't ask me questions about the Diamond Stealth because I
don't have one and I am merely making this information 
available.

Here is an e-mail which Jon Tombs send me.


------
>From davidn@cs.tamu.edu Wed Nov 18 01:28:47 1992



> If can can write a short note summarising how to run the server on the 
> stealth, together with your Xconfig, can you send it to me. I can see lots
> of poeple with this problem. Also could you run xbench on your card and
> send me the results, I've very interested to see how the stealth performs.

No problem.  Here is how I get the Stealth to run:
I put a DOS diskette in and run VPIC, a graphics viewer and show a couple of
GIFs in the different graphics modes.  I also understand that the SMODE.EXE
DOS program that is supplied with the Stealth also will work to do this.
Then I can boot up Linux and run X normally with the Xconfig I have attached
to this mail.  As long as I don't power-off I don't have to run the DOS
program to set the graphics modes.  Fortunately I hardly ever power-off.
Anyway it's a little involved for the Stealth than with the other S3 cards
but I can assure you that it is worth it.  It really looks great and your
server is very fast.  I will be looking forward to new versions.

I have included my Xconfig file and the results of a compete xbench run following.

Here is my Xconfig file:

note that the 1024x768 mode has "Interlace" out to the side, it will only work non-interlaced
if the "interlace" word is there, and comes up interlaced if it is absent.

---------cut here for Xconfig for Stealth and MAG 15" multisync------------
# $Header: /home/x_cvs/mit/server/ddx/x386/Xconfig,v 1.14 1992/09/12 07:03:09 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

# this Xconfig is for use with Diamond Stealth VRAM and a MAG 15" multisync monitor
# (it works for me anyway- no guarantees for you, but it may help to get you started)

#
# 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/"
FontPath	"/usr/X386/lib/X11/fonts/misc/,/usr/X386/lib/X11/fonts/75dpi/"

# Use this if the Type1 font code is in the server
#FontPath	"/usr/X386/lib/X11/fonts/misc/,/usr/X386/lib/X11/fonts/75dpi/,/usr/X386/lib/X11/fonts/Type1/,/usr/X386/lib/X11/fonts/Speedo/"

# NoTrapSignals

#Xqueue

Keyboard
  AutoRepeat 500 5
#  Xleds      1 2 3
#  ServerNumLock
#  DontZap

Microsoft 	"/dev/ttys1"
#MouseSystems	"/dev/ttys2"
  BaudRate	1200
#  SampleRate	150
#  Emulate3Buttons

#
# The graphics drivers
# First the colour driver
#
vga256
#  Virtual	1152 900

# To disable SpeedUp, use NoSpeedUp
#
  #NoSpeedUp

  Clocks 25 36 44 50       
 
  ViewPort      0 0
  Chipset 	"s3"
  Videoram	1024
  Modes	        "1024x768"  "800x600" "640x480"                         

# note for the Stealth: if the "Interlace" flag is absent from the 1024x768
# mode, it comes up interlaced.  If you include "interlace", it comes out
# non-interlaced.  Go figure.

ModeDB
# OFFICIAL VESA Monitor timings + IBM Standards - TRY THESE FIRST
# Contributor:          Thomas Roell [roell@sgcs.com]
# Last Edit Date:       3/29/92
#
# name        clock   horizontal timing     vertical timing      flags
 "640x480"     25      640  664  760  800    480  491  493  525
               31      640  664  704  832    480  489  492  520
 "800x600"     36      800  824  896 1024    600  601  603  625
               40      800  840  968 1056    600  601  605  628
               50      800  856  976 1040    600  637  643  666
 "1024x768"    44     1024 1040 1216 1264    768  777  785  817  Interlace

------------------cut here for xbench results-------------------
==================================================
GENERAL INFORMATION

server: Centrix 486-50
client: same
communication: local
notes: linux SLS 0.98-4 with S3 X386 server on Stealth VRAM @ 1024x768x256

==================================================
SERVER INFORMATION

Servervendor            : MIT X Consortium
XSERVER version         : 11.5000
Revision                : 0
Defaultdepth rootwindow : 8
Server Byte-Order       : LSBFirst
Server BitmapBitOrder   : LSBFirst
DisplayWidth            : 1024
DisplayHeight           : 768

==================================================
XBENCH INFORMATION
VERSION: 1 TIMEGOAL = 10 sec; NRUNS = 3

========= line10 ========= 
LINES

294144 vectors of len. 10 in 10 secs
rate = 29414.40 vectors/sec
========= line100 ========= 
LINES

294144 vectors of len. 100 in 10 secs
rate = 29414.40 vectors/sec
========= line400 ========= 
LINES

166656 vectors of len. 400 in 10 secs
rate = 16665.60 vectors/sec
========= dline10 ========= 
DASHED LINES

18432 dashed vectors of len. 10 in 11 secs
rate =  1675.64 vectors/sec
========= dline100 ========= 
DASHED LINES

3840 dashed vectors of len. 100 in 15 secs
rate =   256.00 vectors/sec
========= dline400 ========= 
DASHED LINES

1536 dashed vectors of len. 400 in 24 secs
rate =    64.00 vectors/sec
========= wline10 ========= 
WIDE LINES

41472 wide vectors (linewidth=5) of len. 10 in 10 secs
rate =  4147.20 vectors/sec
========= wline100 ========= 
WIDE LINES

13824 wide vectors (linewidth=5) of len. 100 in 11 secs
rate =  1256.73 vectors/sec
========= wline400 ========= 
WIDE LINES

4608 wide vectors (linewidth=5) of len. 400 in 13 secs
rate =   354.46 vectors/sec
========= rects10 ========= 
RECTANGLES

93952 rectangles with 10 pixel sides in 10 secs
rate =  9395.20 rectangles/sec (375808 Pixels/sec)
========= rects100 ========= 
RECTANGLES

93952 rectangles with 100 pixel sides in 10 secs
rate =  9395.20 rectangles/sec (3758080 Pixels/sec)
========= rects400 ========= 
RECTANGLES

54528 rectangles with 400 pixel sides in 11 secs
rate =  4957.09 rectangles/sec (7931345 Pixels/sec)
========= fillrects10 ========= 
FILLED RECTANGLES

316160 rectangles with 10 pixel sides in 10 secs
rate = 31616.00 rectangles/sec (3161600 Pixels/sec)
========= fillrects100 ========= 
FILLED RECTANGLES

25344 rectangles with 100 pixel sides in 11 secs
rate =  2304.00 rectangles/sec (23040000 Pixels/sec)
========= fillrects400 ========= 
FILLED RECTANGLES

2560 rectangles with 400 pixel sides in 15 secs
rate =   170.67 rectangles/sec (27306666 Pixels/sec)
========= tiledrects10 ========= 
TILE-FILLED RECTANGLES

134144 rectangles with 10 pixel sides in 10 secs
rate = 13414.40 rectangles/sec (1341440 Pixels/sec)
========= tiledrects100 ========= 
TILE-FILLED RECTANGLES

11008 rectangles with 100 pixel sides in 11 secs
rate =  1000.73 rectangles/sec (10007272 Pixels/sec)
========= tiledrects400 ========= 
TILE-FILLED RECTANGLES

1536 rectangles with 400 pixel sides in 22 secs
rate =    69.82 rectangles/sec (11170909 Pixels/sec)
========= stippledrects10 ========= 
STIPPLE-FILLED RECTANGLES

122624 rectangles with 10 pixel sides in 10 secs
rate = 12262.40 rectangles/sec (1226240 Pixels/sec)
========= stippledrects100 ========= 
STIPPLE-FILLED RECTANGLES

11008 rectangles with 100 pixel sides in 11 secs
rate =  1000.73 rectangles/sec (10007272 Pixels/sec)
========= stippledrects400 ========= 
STIPPLE-FILLED RECTANGLES

1536 rectangles with 400 pixel sides in 22 secs
rate =    69.82 rectangles/sec (11170909 Pixels/sec)
========= invrects10 ========= 
INVERTED RECTANGLES

241141 rectangles with 10 pixel sides in 10 secs
rate = 24114.10 rectangles/sec (2411410 Pixels/sec)
========= invrects100 ========= 
INVERTED RECTANGLES

10923 rectangles with 100 pixel sides in 11 secs
rate =   993.00 rectangles/sec (9930000 Pixels/sec)
========= invrects400 ========= 
INVERTED RECTANGLES

1779 rectangles with 400 pixel sides in 28 secs
rate =    63.54 rectangles/sec (10165714 Pixels/sec)
========= arcs10 ========= 
ARCS

27456 arcs with 10 pixel diameter in 10 secs
rate =  2745.60 arcs/sec
========= arcs100 ========= 
ARCS

6036 arcs with 100 pixel diameter in 10 secs
rate =   603.60 arcs/sec
========= arcs400 ========= 
ARCS

1956 arcs with 400 pixel diameter in 12 secs
rate =   163.00 arcs/sec
========= filledarcs10 ========= 
FILLED ARCS

23716 filled arcs with 10 pixel diameter in 10 secs
rate =  2371.60 filled arcs/sec
========= filledarcs100 ========= 
FILLED ARCS

5356 filled arcs with 100 pixel diameter in 11 secs
rate =   486.91 filled arcs/sec
========= filledarcs400 ========= 
FILLED ARCS

1616 filled arcs with 400 pixel diameter in 14 secs
rate =   115.43 filled arcs/sec
========= filledpoly100 ========= 
FILLED POLYGONS

3078 filled polygons with 5 points (size 100) in 11 secs
rate =   279.82 filled polygons/sec
========= screencopy10 ========= 
COPYAREA (SCREEN->SCREEN)

31026 copies with 10 pixel sides in 10 secs
rate =  3102.60 copies/sec (310260 Pixels/sec)
========= screencopy100 ========= 
COPYAREA (SCREEN->SCREEN)

9858 copies with 100 pixel sides in 10 secs
rate =   985.80 copies/sec (9858000 Pixels/sec)
========= screencopy400 ========= 
COPYAREA (SCREEN->SCREEN)

954 copies with 400 pixel sides in 14 secs
rate =    68.14 copies/sec (10902857 Pixels/sec)
========= scroll ========= 
SCROLL

804 scrolls (area: 640 x 400) in 16 secs
rate =    44.67 scrolls/sec (11434666 Pixels/sec)
========= bitmapcopy10 ========= 
COPYPLANE (BITMAP->SCREEN)

3073 copies with 10 pixel sides in 11 secs
rate =   279.36 copies/sec (27936 Pixels/sec)
========= bitmapcopy100 ========= 
COPYPLANE (BITMAP->SCREEN)

641 copies with 100 pixel sides in 15 secs
rate =    42.73 copies/sec (427333 Pixels/sec)
========= bitmapcopy400 ========= 
COPYPLANE (BITMAP->SCREEN)

257 copies with 400 pixel sides in 59 secs
rate =     4.36 copies/sec (696949 Pixels/sec)
========= imagestring:fixed ========= 
DRAW IMAGE STRING - font="fixed" (height = 15)

249690 chars in 11 secs
rate = 22699.09 chars/sec
========= complex1 ========= 
WINDOW CREATE/DRAW/DESTROY

698 runs 10 secs
rate =    69.80 runs/sec
==================================================

30k xstones.