Mesa Hardware Device Driver for Matrox MGA-G200 and G400
Copyright (C) 1999 Wittawat Yamwong and
Copyright (C) 2000 respective others

The driver is known to work for following graphics cards:
- Millenium G400 of various models
- Millenium G200 and G200SD AGP/PCI 8MB/16MB
- Add other cards here... (Mavel & Mytique)

FIXME: the info below is not completely up to date.

Supported architectures:
------------------------

The driver has been reported to work on the following architectures:
Linux/x86
FreeBSD/x86
Solaris/x86 (No bus mastering DMA)



Configuration variables
-----------------------
The mga driver has a lot of driver specific configuration variables.
See the sample glx.conf for details on exactly what a variable does.

mga_dma:                Set command transfer mode
mga_dmaadr:             Set address of dma buffer
mga_dmasize:            Set size of dma buffer
mga_cmdsize:            Set size of command buffer (Located in dma buffer)
mga_gart_mode_mask:     Set AGP operating mode
mga_systemtexture:      Store textures in main memory instead of on card
mga_vsync:              Wait for vertical sync before swapping buffers


The following options are intended for debugging:
mga_no_multitex:        Disable multitexturing
mga_nullprims:          Disable triangle rendering
mga_nofallback:         Never fall back to software rendering
mga_nosgram:            Disable SGRAM features
mga_no_texenvadd:       Disable the GL_EXT_texture_env_add extension
mga_skipdma:            Don't send any commands to the card
mga_32bittextures:      Store textures in a 32 bpp format
mga_no_fast_path:       Disable the fastpath
mga_warp_tgza:          Use only one warp pipe
mga_nosetupdma:         Disable setup dma




What The Driver Can And Can't Do
--------------------------------
- 3d cannot be accelerated if you are using a desktop set to 8 bpp.

- It can utilize bus mastering DMA for commands.

- If a backbuffer can't fit in offscreen memory on the card it will
  fall back to having the backbuffer in main memory if there is enough
  space in the DMA buffer.

- It can use direct rendering if DMA is enabled and your application
  is running as root. (See glx/docs/direct.txt for details)



---------
$Id: README.mga,v 1.2 2000/04/26 11:36:28 ehliar Exp $