On Mon, 31 Jul 2000, fpons wrote:
> Peter Ruskin <[EMAIL PROTECTED]> writes:
> 
> > I want to use Mesa (if possible with glx and agpgart) with my Matrox G400
> > 32MB AGP card.  Do I understand the following release note correctly, that
> > I need Mesa-3.2.1 for glx?  If so, where can I get it?  I can't see it on
> > Cooker.
> 
> It is already here in this Mesa package, 3.2.1 is used for glx libGL.so version
> and 3.3 is used for pure software version (Mesa standard).
> 
> I encourage you to update to 3.3-4mdk instead, there is a wrapper to select the
> right libGL according to your system (if glx-3.so is loaded as module).
> 
> This version of Mesa does not conflict anymore with XFree86-libs, if you want
> accelerated support for you matrox card, get the XFree86 packages of cooker,
> hardware acceleration is available for your card.
> 
Thanks François.  I installed 3.3-4mdk per your advice and I'm encouraged
by the results.  But... Is there a reason for why I only get pseudo-dma,
even though I have agpgart installed?  I attach a few config files FYI...

gears gives me ~200 FPS but q3demo is really unplayable - too jerky and
garbled sound and bzflag just gives:
        Loading required GL library /usr/X11R6/lib/libGL.so.1.0
        @@Created GLX Context..                                                        
                  
and nothing more.

Any help appreciated.
 -- 

------------------------------------------------------
 Peter Ruskin          <[EMAIL PROTECTED]>
 Wrexham, UK          KDE - the professionals' choice
------------------------------------------------------




1835610183:virtual (x, y) (640, 480)
   104:width: 640
    13:depth: 8
    10:memBase: 0x40479000
    13:videoRam: 0x00008000
    11:Detected 0x525 Chip ID
Unsupported depth: 8, only 15,16, and 24 bpp are supported right now
Linux version 2.2.16-9mdk ([EMAIL PROTECTED]) (gcc version 2.95.3 19991030 
(prerelease)) #3 Sun Aug 20 14:06:46 BST 2000
Detected 399964 kHz processor.
ide_setup: ide2=0xd800,0xdc00

ide_setup: ide3=0xe000,0xe400

Console: colour VGA+ 80x25
Calibrating delay loop... 797.90 BogoMIPS
Memory: 387108k/393152k available (1236k kernel code, 420k reserved, 4252k data, 136k 
init, 0k bigmem)
Dentry hash table entries: 262144 (order 9, 2048k)
Buffer cache hash table entries: 524288 (order 9, 2048k)
Page cache hash table entries: 131072 (order 7, 512k)
CPU: Intel Pentium II (Deschutes) stepping 02
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35a (19990819) Richard Gooch ([EMAIL PROTECTED])
PCI: PCI BIOS revision 2.10 entry at 0xfb3c0
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 524288 bhash 65536)
Initializing RT netlink socket
Starting kswapd v 1.5 
matroxfb: Matrox unknown G400 (AGP) detected
matroxfb: MTRR's turned on
matroxfb: 1024x768x32bpp (virtual: 1024x4095)
matroxfb: framebuffer at 0xE8000000, mapped to 0xd8005000, size 33554432
Console: switching to colour frame buffer device 128x48
fb0: MATROX VGA frame buffer device
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
fb1: VGA16 VGA frame buffer device
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.13)
Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: device not capable of full native PCI mode
PIIX4: device disabled (BIOS)
PDC20262: IDE controller on PCI bus 00 dev 50
PDC20262: not 100% native mode: will probe irqs later
PDC20262: ROM enabled at 0xeb000000
PDC20262: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
PDC20262: FORCING PRIMARY MODE BIT 0x00 -> 0x01 MASTER
PDC20262: FORCING SECONDARY MODE BIT 0x00 -> 0x01 MASTER
    ide2: BM-DMA at 0xe800-0xe807, BIOS settings: hde:DMA, hdf:pio
    ide3: BM-DMA at 0xe808-0xe80f, BIOS settings: hdg:DMA, hdh:DMA
hde: probing with STATUS(0x50) instead of ALTSTATUS(0xff)
hde: Maxtor 54098U8, ATA DISK drive
hdf: probing with STATUS(0x00) instead of ALTSTATUS(0xff)
hdf: probing with STATUS(0x00) instead of ALTSTATUS(0xff)
hdg: probing with STATUS(0x50) instead of ALTSTATUS(0xff)
hdg: Maxtor 91020D6, ATA DISK drive
hdh: probing with STATUS(0x50) instead of ALTSTATUS(0xff)
hdh: Maxtor 88400D8, ATA DISK drive
ide2 at 0xd800-0xd807,0xdc00 on irq 10
ide3 at 0xe000-0xe007,0xe400 on irq 10
hde: Maxtor 54098U8, 39082MB w/2048kB Cache, CHS=79406/16/63, UDMA(66)
hdg: Maxtor 91020D6, 9728MB w/256kB Cache, CHS=19765/16/63, UDMA(33)
hdh: Maxtor 88400D8, 8011MB w/256kB Cache, CHS=16278/16/63, UDMA(33)
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
(scsi0) <Adaptec AHA-2940A Ultra SCSI host adapter> found at PCI 0/9/0
(scsi0) Narrow Channel, SCSI ID=7, 3/255 SCBs
(scsi0) Cables present (Int-50 YES, Ext-50 YES)
(scsi0) Downloading sequencer code... 422 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.31/3.2.4
       <Adaptec AHA-2940A Ultra SCSI host adapter>
scsi : 1 host.
(scsi0:0:0:0) Synchronous at 10.0 Mbyte/sec, offset 15.
  Vendor: IBM       Model: DNES-318350       Rev: SA30
  Type:   Direct-Access                      ANSI SCSI revision: 03
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
(scsi0:0:1:0) Synchronous at 10.0 Mbyte/sec, offset 15.
  Vendor: PLEXTOR   Model: CD-ROM PX-32TS    Rev: 1.02
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 1, lun 0
(scsi0:0:3:0) Synchronous at 10.0 Mbyte/sec, offset 15.
  Vendor: YAMAHA    Model: CRW8424S          Rev: 1.0j
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 3, lun 0
(scsi0:0:4:0) Synchronous at 10.0 Mbyte/sec, offset 8.
  Vendor: PIONEER   Model: DVD-ROM DVD-303   Rev: 1.09
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr2 at scsi0, channel 0, id 4, lun 0
  Vendor: UMAX      Model: Astra 2400S       Rev: V1.1
  Type:   Scanner                            ANSI SCSI revision: 02
scsi : detected 3 SCSI cdroms 1 SCSI disk total.
Uniform CD-ROM driver Revision: 3.10
sr1: scsi3-mmc drive: 24x/16x writer cd/rw xa/form2 cdda tray
sr2: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray
SCSI device sda: hdwr sector= 512 bytes. Sectors= 35843670 [17501 MB] [17.5 GB]
ne2k-pci.c:vpre-1.00e 5/27/99 D. Becker/P. Gortmaker 
http://cesdis.gsfc.nasa.gov/linux/drivers/ne2k-pci.html
ne2k-pci.c: PCI NE2000 clone 'RealTek RTL-8029' at I/O 0xec00, IRQ 14.
eth0: RealTek RTL-8029 found at 0xec00, IRQ 14, 00:00:E8:D6:9B:B6.
Partition check:
 sda: sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 >
 hde: [PTBL] [1027/255/63] hde4 < hde5 hde6 hde7 hde8 hde9 hde10 hde11 hde12 hde13 
hde14 hde15 >
 hdg: [PTBL] [1027/255/63] hdg3 < hdg5 hdg6 hdg7 hdg8 hdg9 >
 hdh: [PTBL] [1021/255/63] hdh1 < hdh5 >
udf: registering filesystem
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 136k freed
Adding Swap: 393552k swap-space (priority -1)
Adding Swap: 289128k swap-space (priority -2)

rc.local

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

Section "Files"
   RgbPath    "/usr/X11R6/lib/X11/rgb"
   FontPath   "unix/:-1"
   ModulePath "/usr/X11R6/lib/modules"
EndSection

Section "Module"
# This loads the module for the joystick driver
   Load "xf86Jstk.so"
# This loads the 3DFX module
   Load "glx-3.so"
EndSection

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
#    NoTrapSignals

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
#    DontZap

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.
#    DontZoom

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.
#	DisableVidModeExtension

# Uncomment this to enable the use of a non-local xvidtune client.
#	AllowNonLocalXvidtune

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.
#	DisableModInDev

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).
#	AllowNonLocalModInDev

    # This  allows  the  server  to start up even if the
    # mouse device can't be opened/initialised.
    AllowMouseOpenFail
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Keyboard section
# **********************************************************************
Section "Keyboard"
   Protocol        "Standard"
   AutoRepeat      250 30
# Let the server do the NumLock processing.  This should only be required
# when using pre-R6 clients
#    ServerNumLock

# Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1))
#    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

# To disable the XKEYBOARD extension, uncomment XkbDisable.
# XkbDisable

# These are the default XKB settings for XFree86
   XkbRules    "xfree86"
#   XkbTypes    "default"
#   XkbCompat   "default"
   XkbModel    "pc105"
#   XkbSymbols  "us(pc105)"
   XkbLayout   "gb"
#   XkbVariant  ""
#   XkbOptions  ""
EndSection

Section "Pointer"
   Protocol     "PS/2"
   Device       "/dev/psaux"
   Emulate3Buttons
   Emulate3Timeout 50
EndSection

Section "Xinput"
   SubSection "Joystick"
       Port "/dev/joy0"
       DeviceName "Joystick"
       TimeOut 10
       MinimumXPosition 100
       MaximumXPosition 1300
       MinimumYPosition 100
       MaximumYPosition 1100
       # CenterX 700
       # CenterY 600
       Delta 20
   EndSubSection
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
   Identifier      "Primary Monitor"
   VendorName      "CTX"
   ModelName       "1792UA"
   HorizSync       30-95
   VertRefresh     50-160
# 1600x1200 @ 75 Hz, 93.75 kHz hsync
   ModeLine "1600x1200" 202.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
# 1280x1024 @ 85 Hz, 91.15 kHz hsync
   ModeLine "1280x1024" 157.50 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
# 1152x864 @ 100 Hz, 89.62 kHz hsync
   Modeline  "1152x864"   137.65 1152 1184 1312 1536   864   866   885   902 -hsync -vsync
# 1024x768 @ 100Hz, 80.21 kHz hsync
   Modeline  "1024x768"   115.50 1024 1056 1248 1440   768   771   781   802 -hsync -vsync
# 800x600 @ 100 Hz, 64.02 kHz hsync
   Modeline  "800x600"       69.65   800   864   928 1088   600   604   610   640 -hsync -vsync
# 640x480 @ 100 Hz, 53.01 kHz hsync
   Modeline  "640x480"       45.80   640   672   768   864   480   488   494   530 -hsync -vsync
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
   Identifier      "Primary Card"
   VendorName      "Matrox"
   BoardName       "G400"
   VideoRam        32768

    # Uncomment following option if you see a big white block        
    # instead of the cursor!                                          
    # Option	"sw_cursor"

    Option      "power_saver"
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32)
Section "Screen"
   Driver          "accel"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   DefaultColorDepth 32
   BlankTime       0
   SuspendTime     0
   OffTime         0
   SubSection "Display"
      Depth        8
      Modes        "640x480" 
   EndSubSection
   SubSection "Display"
      Depth        15
      Modes       "640x480"
   EndSubSection
   SubSection "Display"
      Depth        16
      Modes        "640x480"
   EndSubSection
   SubSection "Display"
      Depth        24
      Modes        "640x480"
   EndSubSection
   SubSection "Display"
      Depth        32
      Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection


# The colour SVGA server
Section "Screen"
   Driver          "svga"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
    DefaultColorDepth 32
   SubSection "Display"
      Depth        8
      Modes       "640x480"
        ViewPort    0 0
   EndSubSection
   SubSection "Display"
      Depth        15
      Modes        "640x480"
        ViewPort    0 0
   EndSubSection
   SubSection "Display"
      Depth        16
      Modes        "640x480"
        ViewPort    0 0
   EndSubSection
   SubSection "Display"
      Depth        24
      Modes        "640x480"
        ViewPort    0 0
   EndSubSection
   SubSection "Display"
      Depth        32
      Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
        ViewPort    0 0
   EndSubSection
EndSection


# The 16-colour VGA server
Section "Screen"
    Driver "vga16"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
    Subsection "Display"
        Modes       "640x480" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen"
    Driver "vga2"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
    Subsection "Display"
        Modes       "640x480" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection

# The Mono server
Section "Screen"
   Driver          "VGA2"
   Device          "Primary Card"
   Monitor         "Primary Monitor"
   BlankTime       0
   SuspendTime     0
   OffTime         0
   SubSection "Display"
      Depth        1
      Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection
# /etc/X11/glx.conf
#
# $Id: glx.conf.in,v 1.16 2000/03/26 06:01:20 gareth Exp $
#
# This is a sample configuration file for the Utah GLX module.
# Uncomment and edit as needed. (File is case insensitive)
# For binary (toggle) options, '0' is 'unset', '1' is 'set'.
# 
#
# NOTE: If you are using indirect rendering you will need
# to restart the X server in order for changes in this file
# to take effect.
# If you are using direct rendering some of these options
# might take effect directly, but some will not, for
# example options related to DMA.
#

nohw = 0
#
# If set hardware acceleration is disabled.
# Might be useful if you think you have encountered a bug in
# a chipset specific driver.


hw_boxes = 1
#
# Tells the driver to draw various status information in the upper left corner
# See glx/docs/debug.txt for more information. (Defaults to 0)


hw_logfile = /var/log/glx.log 
#
# Location of driver logfile
# If not set log goes to Xserver's stdout


hw_loglevel = 9
#
# 0            => log only error messages.
# 1 or not set => error + standard debugging messages
# >1           => more messages
# >=10		lots of messages inside each frame


debug = 1
#
# Enables GLX log. See docs/debug.txt for more infrmation.


# allow_override = 0
#
# Allow the user to override variables specified in this file with
# environment variables.
# The environment variable for nohw would be GLX_NOHW for example.


allow_insecure_override = 0
#
# Allow the user to override certain variables that are dangerous
# to change. Right now the following variables are considered dangerous:
# hw_logfile,
# mga_dma, mga_dmasize, mga_dmaadr, mga_gart_mode_mask, mga_cardcmds
# mach64_dma, mach64_dmasize, mach64_dmaadr, mach64_gart_mode_mask,
# mach64_agpsize
#
# WARNING  -  Do not set this unless you absolutely need to  -  WARNING
# WARNING  - This is intended for debugging and development. -  WARNING



# MGA specific variables:

# mga_dma, mga_dmaadr, mga_gart_mode_mask and mga_dmasize are the most
# important variables in the mga section. The other variables are mostly
# intended for debugging.


mga_dma = 3
#
# Valid values: 0 - 3
# 0 (default): the driver will default to using Pseudo DMA to transfer commands
#   to the card. It is not possible to use direct rendering in Pseudo DMA.
#
# 1: A Physical buffer is used to store the commands. Pseudo DMA is used to
#    send the command list to the card.
# 2: Physical buffer is used for commands. Synchronous DMA is used to transfer
#    commands to the card.
# 3: Physical buffer + Asynchronous DMA
#
# 3 gives best performance.
# You shouldn't need to use 1 or 2 except for debugging purposes.
# If not set to 0 you will need to set mga_dmaadr and mga_dmasize as well.


mga_dmaadr = AGP
#
# If set to AGP the driver will use the agpgart kernel module to reserve
# space for command buffers and (optionally) textures. If the kernel module
# is not loaded, or the driver cannot find /dev/agpgart, it will fall back
# to a non-DMA mode. (As in mga_dma=0.)
#
# Otherwise, you can set this to the physical address (measured in
# Megabytes) of an area of physical memory specially reserved for DMA.
# In linux you'll need to reserve space at this location at boot time,
# e.g. to reserve space for 8 M on a 128 M machine, add mem=120M to the
# boot options (see the 'append' command for lilo.conf) and set
# mga_dmaadr = 120
#
# (This is a kludge, go with AGP if you have a working gart module)


mga_gart_mode_mask = 1
#
# Use this option to mask the allowed agp modes. A value of 1 (dafault)
# just allows mode x1. If your motherboard and video card like agp mode x2
# set this to 2. You can also try higher values.
#
# !! Changing this option can lockup your entire system, be prepared !!!


mga_dmasize = 64
#
# This is the size of the DMA buffer area the driver will allocate.


mga_cmdsize = 16
# 
# This is the size of the command buffer (In MB). Default is 4.
# This should be less than mga_dmasize.
# The remaining memory in mga_dmasize may be used for textures if
# mga_systemtexturse is set. It can also be used for backbuffers
# and depthbuffers if you run out of framebuffer memory.
# Using system memory for backbuffers and depthbuffers will
# slow down rendering by quite a lot.


mga_systemtexture = 1
#
# Store textures in host memory instead of on the card.
# This is reported to improve performance at least on the G200.


mga_vsync = 0
#
# If set to 1 the driver will busywait for the vertical retrace
# before swapping the back and front buffer. This will reduce
# performance, but it will also avoid ugly tearing that might
# otherwise show up.


mga_no_multitex = 0
#
# Disable multi-texturing for the G400
# If you think multitexturing is causing a bug you can disable
# it with this variable.


mga_nullprims = 0
#
# Setting this disables the primitive rendering functions
# (TriangleFunc, LineFunc, PointFunc)
# Used for performance testing. Defaults to 0.


mga_nofallback = 0
#
# Do not ever fall back to software rendering.
# Use with care, almost guaranteed to cause improper rendering.


mga_nosgram = 0
#
# Force the driver to disable SGRAM features. (Shouldn't be necessary to
# change this since the X server should autodect the presence of SGRAM.)


mga_no_texenvadd = 0
# Disable the use of the GL_EXT_texture_env_add extension
# (Only available on the G400)


mga_skipdma = 0
#
# If set the driver will fill the command buffers with rendering commands
# but the buffers will not be sent to the card.
# Used for performance testing and debugging.


mga_32bittextures = 0
#
# Always store textures in 32 bit format internally


# And, for the poorly documented variables:

mga_no_fast_path = 0
# Disable the fast path, see servGL/hwglx/mga/mgacontext.c

mga_warp_tgza = 0
# Only use one warp pipe. see servGL/hwglx/mga/mgawarp.c

mga_nosetupdma = 0
# Disable the use of of setup dma.



# Mach64 specific variables:

# mach64_dma is the most important variable in the mach64 section, as it
# takes care of all the essential configuration of the driver.  The other
# variables are mostly intended for debugging.


# mach64_dma = 0
#
# Valid values: 0 - 4
#
# 0: The driver will use pseudo DMA to transfer commands to the card.  It is
#    not possible to use direct rendering with pseudo DMA.
#
# 1: A physical buffer is used for commands, with synchronous DMA transfers
#    to the card.  Local card memory is used for textures.
#
# 2 (default): A physical buffer is used for commands, with asynchronous DMA
#    tranfers to the card.  Local card memory is used for textures.
#
# 3: A physical buffer is used for commands, with asynchronous DMA transfers to
#    the card.  AGP memory is used for textures, with AGP 1X mode.
#
# 4: A physical buffer is used for commands, with asynchronous DMA transfers to
#    the card.  AGP memory is used for textures, with AGP 2X mode.
#    *** Warning: your card may not work with this mode, and may give texture
#    corruption or even lock your machine.  Use with caution.
#
# 2-4 gives best performance.
# You shouldn't need to use 0 or 1 except for debugging purposes.
# If you select a mode that uses AGP memory for texture storage and the agpgart
# module is missing or can't be initialized, the driver will fall back to using
# card memory for textures.


# mach64_no_multitex = 0
#
# Disable multitexturing for the Rage Pro.  If you think multitexturing is
# causing a bug you can disable it with this variable.


# mach64_nullprims = 0
#
# Setting this disables the primitive rendering functions (TriangleFunc,
# LineFunc, PointsFunc).  Used for performance testing.  Defaults to 0.


# mach64_nofallback = 0
#
# Do not ever fall back to software rendering.  Use with care, almost
# guaranteed to cause improper rendering.


# mach64_skipdma = 0
#
# If set the driver will fill the command buffers with rendering commands
# but the buffers will not be sent to the card.  Used for performance testing
# and debugging.


# mach64_drawtest = 0
#
# If set the driver will do some initial rendering tests upon startup.
# Useful to see if the driver is being loaded correctly.



# Intel i810 specific variables:

# i810_dma and i810_dmasize are the most important variables in the
# Intel i810 section. 


# i810_dma = 3
#
# Valid values: 2 - 3
# 3 (default): the driver will default to using 2 large dma buffers
#   to transfer commands asynchronously to the card.  This is the optimal
#   setting and has been stable on all tested systems.  
#
# 2: Physical buffer is used for commands. Synchronous DMA is used to transfer
#    commands to the card.  This is a reduced performance mode for testing.
#
# 1 and 0: not implemented.


# i810_agpsize = 8
#
# This is the size (in MB) of the agp buffer allocated to hold
# textures, backbuffer and depthbuffer.  On i810e and i810-dc100, the
# four megabyte video cache is used to hold the depth buffer instead.


# S3 ViRGE specific variables
# The lightmap hack is described in the readme.  Won't work with DMA
# yet.
# s3virge_lightmap_hack = 1    

#
# Dma...
# 0 - no DMA is used.
# 1 - a 4k command DMA buffer is used
# 2 - s3virge_dmaadr must be set and a mem= line in lilo.conf
# must be used.  Set your system memory to something shorter
# than your actual memory (eg if you have 128M of ram, put 
# mem=124M in your bios, and set s3virge_dmaadr to 124, and
# s3virge_dmasize to 4)
# This is synchronous DMA.  a 64k command buffer is used.
# 3 - Same as 2, but asynchronous DMA
# s3virge_dma = 3
# s3virge_dmaadr = 124
# s3virge_dmasize = 4

Reply via email to