This section presents hardware-specific information for normal use and troubleshooting.
The 3dfx DRI driver requires special versions of the 3dfx Glide library. Different versions of Glide are needed for Banshee/Voodoo3 than for Voodoo4/5. The Glide libraries can be downloaded from the DRI website.
Your XF86Config file's device section must specify the
tdfx
device. For example:
Section "Device" Identifier "Voodoo3" VendorName "3dfx" Driver "tdfx" EndSection
Or,
Section "Device" Identifier "Voodoo5" VendorName "3dfx" Driver "tdfx" EndSection
The Screen section should then reference the Voodoo device:
Section "Screen" Identifier "Screen 1" Device "Voodoo3" Monitor "High Res Monitor" DefaultDepth 16 Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection
Or,
Section "Screen" Identifier "Screen 1" Device "Voodoo5" Monitor "High Res Monitor" DefaultDepth 24 Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection
The kernel module for 3dfx hardware is named tdfx.o
and
should be installed in /lib/modules/2.4.x/kernel/drivers/char/drm/.
It will be automatically loaded by the Xserver if needed.
The DRI 3D driver for 3dfx hardware should be in
/usr/X11R6/lib/modules/dri/tdfx_dri.so
.
This will be automatically loaded by libGL.so.
The Voodoo5 supports 3D rendering in 16 and 32 bpp modes. When running in 32bpp mode an 8-bit stencil buffer and 24-bit Z (depth) buffer are offered. When running in 16bpp mode only a 16-bit Z (depth) buffer is offered and stencil is implemented in software.
A software-based accumulation buffer is available in both 16 and 32bpp modes.
gd error (glide): gd error (glide): grSstSelect: non-existent SSTgd error (glide): grSstSelect: non-existent SSTSit means that you have the wrong version of the Glide library for your hardware.
xdpyinfo
to verify that all your visuals are depth 16.
Edit your XF86Config file if needed./dev/3dfx
device is not used for DRI; it's only for
Glide on older 3dfx hardware.
FX_GLIDE_SWAPINTERVAL
environment variable.
The value of this variable indicates the maximum number of
swap buffer commands can be buffered.
Zero allows maximum frame rate.internalFormat
parameter to glTexImage2D
can be
used to control texel size.
Quake3 and other games let you control this as well.glTexEnv
mode GL_BLEND
is not directly supported
by the Voodoo3 hardware.
It can be accomplished with a multi-pass algorithm but it's not
implemented at this time.
Applications which use that mode, such as the Performer Town
demo, may become sluggish when falling back to software
rendering to render in that mode.GL_LIGHT_MODEL_COLOR_CONTROL
to
GL_SEPARATE_SPECULAR_COLOR
.glBlendEquation(GL_LOGIC_OP)
.glDrawBuffer(GL_FRONT_AND_BACK)
.glPolygonMode(face, GL_POINT)
or
glPolygonMode(face, GL_LINE)
.GL_DISTANCE_ATTENUATION_EXT
).glColorMask(r, g, b, a)
when r!=g or g!=b.GL_BLEND
texture env mode is fully supported in
hardware.
Third, glColorMask
is fully supported in hardware when
the screen is configured for 32 bits/pixel.
A kernel with AGP GART support (such as Linux 2.4.x) is needed.
Your XF86Config file's device section must specify the
i810
device, and specify a usable amount of video
ram to reserve.
Section "Device" Identifier "i810" VendorName "Intel" Driver "i810" Option "AGPMode" "1" VideoRam 10000 EndSectionThe Screen section should then reference the i810 device:
Section "Screen" Identifier "Screen 1" Device "i810" Monitor "High Res Monitor" DefaultDepth 16 Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection
The kernel module for the i810 is named i810.o
and
should be installed in /lib/modules/2.4.x/kernel/drivers/char/drm/.
It will be automatically loaded by the Xserver if needed.
The DRI 3D driver for the i810 should be in
/usr/X11R6/lib/modules/dri/i810_dri.so
.
This will be automatically loaded by libGL.so.
xdpyinfo
to verify that all your visuals are depth 16.
Edit your XF86Config file if needed.Basically all of the i810 features which can be exposed through OpenGL 1.2 are implemented. However, the following OpenGL features are implemented in software and will be slow:
A kernel with AGP GART support (such as Linux 2.4.x) is needed.
Your XF86Config file's device section must specify the
mga
device:
Section "Device" Identifier "MGA" VendorName "Matrox" Driver "mga" Option "AGPMode" "1" VideoRam 32768 EndSectionThe Screen section should then reference the MGA device:
Section "Screen" Identifier "Screen 1" Device "MGA" Monitor "High Res Monitor" DefaultDepth 16 Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSectionTo use a 32bpp screen mode, use this
Screen
section
instead:
Section "Screen" Identifier "Screen 1" Device "MGA" Monitor "High Res Monitor" DefaultDepth 24 DefaultFbBpp 32 Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection
The kernel module for the G200/G400 is named mga.o
and
should be installed in /lib/modules/2.4.x/kernel/drivers/char/drm/.
It will be automatically loaded by the Xserver if needed.
The DRI 3D driver for the G200/G400 should be in
/usr/X11R6/lib/modules/dri/mga_dri.so
.
This will be automatically loaded by libGL.so.
Software rendering will be used under any of the following conditions:
The AGP mode may be set to 1, 2, or 4. One is used by default. Higher AGP speeds may result in unreliable performance depending on your motherboard.
Compaq has funded the implementation of AGP accelerated ReadPixels and DrawPixels in this driver. With this implementation, on a G400 drawing directly from AGP memory (exported to the client), throughput of up to 1 GB/sec has been measured.
Additionally Compaq's funding has produced several new extensions in Mesa, including one (packed_depth_stencil_MESA) which enables Read/DrawPixels functionality to operate directly on the packed 24/8 depth/stencil buffers of this hardware.
In order to access this functionality, the application must ensure that all pixel processing operations are disabled. There are in addition a fairly complex set of rules regarding which packing/unpacking modes must be used, and which data formats are supported, and alignment constraints. See the files in lib/GL/mesa/src/drv/mga/DOCS for a summary of these. The extension definitions are included in the Mesa 3.4 source distribution.
There have been problems in the past with the MGA driver being very sluggish when the DRI is enabled (to the point of being unusable.) This is caused by the graphics card not having an interrupt assigned to it. The current DRI trunk will attempt to detect this condition and bail out gracefully.
The solution to the above problem is to assign an interrupt to your graphics card. This is something you must turn on in your system BIOS configuration. Please consult your system BIOS manual for instructions on how to enable an interrupt for your graphics card.
MGAHALlib.a is a binary library Matrox has provided for use under Linux to expose functionality for which they can not provide documentation. (For example TV-Out requires MacroVision be enabled on the output.) This binary library also sets the pixel/memory clocks to the optimal settings for your Matrox card.
Currently the MGAHAL library is required for the G450 to work. You can download this from the driver section on Matrox's website: www.matrox.com/mga
Here modifications to the DRI build instructions which make the mga ddx driver use the MGAHAL library:
1.Put the following define in your host.def file #define UseMatroxHal YES 2. Place mgaHALlib.a in the following directory xc/programs/Xserver/hw/xfree86/drivers/mga/HALlib/
You can use DualHead on the G400/G450 DH cards by creating two device sections which both point to the same BusID. For most AGP devices the BusID will be "PCI:1:0:0". Configure your screen section as you would normally configure XFree86 4.x Multihead. It should be noted that currently the second head does not support direct rendering.
None.
A kernel with AGP GART support (such as Linux 2.4.x) is needed.
Your XF86Config file's device section must specify the
ati
device:
Section "Device" Identifier "Rage128" VendorName "ATI" Driver "ati" Option "AGPMode" "1" Option "UseCCEFor2D" "false" EndSectionThe Screen section should then reference the Rage 128 device:
Section "Screen" Identifier "Screen 1" Device "Rage128" Monitor "High Res Monitor" DefaultDepth 16 Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 32 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection
The kernel module for the Rage 128 is named r128.o
and
should be installed in /lib/modules/2.4.x/kernel/drivers/char/drm/.
It will be automatically loaded by the Xserver if needed.
The DRI 3D driver for the Rage 128 should be in
/usr/X11R6/lib/modules/dri/r128_dri.so
.
This will be automatically loaded by libGL.so.
You may also set your screen depth to 32 for 32bpp mode.
While PCI Rage 128 based cards are supported, they do not yet support PCI GART, so they will not perform as well as their AGP counterparts.
For AGP cards, the AGP mode may be set to 1, 2, or 4. One is used by default. Higher AGP speeds may result in unreliable performance depending on your motherboard.
Note that even at 32bpp there is no alpha channel.
The following OpenGL features are implemented in software and will be slow:
If you experience stability problems you may try setting the
UseCCEFor2D
option to true
. This will
effectively disable 2D hardware acceleration. Performance will
be degraded, of course.
A kernel with AGP GART support (such as Linux 2.4.x) is needed.
Your XF86Config file's device section must specify the
ati
device:
Section "Device" Identifier "Radeon" VendorName "ATI" Driver "ati" Option "AGPMode" "1" EndSectionThe Screen section should then reference the Radeon device:
Section "Screen" Identifier "Screen 1" Device "Radeon" Monitor "High Res Monitor" DefaultDepth 16 Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 32 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection
The kernel module for the Radeon is named radeon.o
and
should be installed in /lib/modules/2.4.x/kernel/drivers/char/drm/.
It will be automatically loaded by the Xserver if needed.
The DRI 3D driver for the Radeon should be in
/usr/X11R6/lib/modules/dri/radeon_dri.so
.
This will be automatically loaded by libGL.so.
You may also set your screen depth to 32 for 32bpp mode.
While this driver supports many of the features of ATI Radeon cards, we do not yet fully support the card's TCL features. This work is progressing, but is not yet ready.
The AGP mode may be set to 1, 2, or 4. One is used by default. Higher AGP speeds may result in unreliable performance depending on your motherboard.
The following OpenGL features are implemented in software and will be slow:
The GL_EXT_texture_env_combine, GL_EXT_texture_env_add and GL_EXT_texture_env_dot3 extensions are supported (or will be soon supported in the new driver based on Mesa 3.5).
We hope to implement support for the following features in the future:
Certain (early?) revisions of the AMD Irongate chipset have AGPGART problems which effect Radeon, and other graphics cards. The card may work unreliably, or not work at all. If the DRM kernel module is not loaded, the 2D Xserver may work. There's hope that this can be fixed in the future.
The driver for this hardware was experimental and is no longer being developed or supported.