GL40 FAQ Index |
GL40 Full (Printer-Friendly) view |
FAQ Home
Setting up and troubleshooting OpenGL on XFree86 4.0.x and 4.1.x FAQ
Last Updated on: 2001-06-05 19:39:46
This is a basic guideline on how to install and configure GL drivers for various video cards. Please note that these are intended as a supplement to the
card manufacturer's own instructions. GL driver installation is not supported by Loki Technical Support, and further questions should be directed to your distribution's tech support.
1. Introduction
- 1.1 How to use this FAQ
This FAQ allows you to navigate through the answers by category, or individually, or to view the entire FAQ at once.
The full view is also suitable for printing.
This FAQ is modelled on the Linux HOWTO documents for consistency and ease of navigation.
- 1.2 Authors
The maintainers of the FAQ can be reached by e-mailing faqs@lokigames.com.
Please send all correspondance directly related to the FAQlist tool to that address.
- 1.3 What is the status of this FAQ?
We are in the process of adding documentation for all supported chipset under DRI, and fleshing out the details on the nVidia-based cards.
There are some troubleshooting tips to be added.
2. DRI
- 2.1 What cards/chipsets are currently supported by DRI?
[2001/03/14]:
- 3dfx, supported on Intel x86, AMD and Alpha:
- Voodoo5 5500
- Voodoo4 4500
- Voodoo3 3500 TV
- Voodoo3 3000 AGP
- Voodoo3 3000 PCI
- Voodoo3 2000 AGP
- Voodoo3 2000 PCI
- Voodoo Banshee
- Velocity 100/200
There are many configurations of 3dfx cards on the market.
Not all have been tested.
- Matrox, supported on Intel x86 and AMD:
- Intel i810 (motherboard chipset)
- ATI Rage 128, supported on Intel x86 and AMD:
- Rage Fury
- Rage Magnum
- XPERT 2000
- XPERT 128
- XPERT 99
- All-in-Wonder 128
Note that both PCI and AGP versions of Rage 128 based cards are supported at this time.
- ATI Radeon, supported on Intel x86 and AMD:
- Radeon SDR AGP
- Radeon DDR AGP
- 3Dlabs, supported on Intel x86 and AMD:
- 3DLabs Oxygen GMX 2000 (Dual MX/Gamma based).
- Elsa Gloria-XXL (MX/Gamma based).
The most recent version of this list can be found in the DRI User's Guide (http://dri.sourceforge.net/doc/DRIuserguide.html).
- 2.2 Should I build DRI from source, or can I use the version that came with my XFree86 4.0.x?
As a general rule, you are probably better off building it from source (if you are comfortable doing so).
You need to build it from source if you are using an ATI Radeon card or a Matrox G400/G450 card.
These cards have known issues in the versions which shipped with XFree86 4.0.2.
If your current 3D setup is performing well, you should only upgrade if there is a specific feature or bugfix that you need.
Note: If you are using a version of XFree86 prior to the current release (as of this writing, 4.0.2), you should upgrade to that before determining if you need to build DRI from the source.
Versions of XFree86 prior to 4.0.2 do not provide support for the Rage 128 and Radeon cards.
- 2.3 Is there an easy way to update my copy of DRI?
If you are uncomfortable with CVS, note that the DRI project has begun supplying packages to ease the installation.
You should be able to update an existing XFree86 4.0.x install with these packages easily.
As of this writing, the package files are linked from the DRI download page ( http://dri.sourceforge.net/download.phtml).
3. 3Dfx
- 3.1 What should I read first?
- 3.2 What do I need for 3D support with a 3Dfx card?
The supported cards are the Voodoo Banshee, Voodoo 3, Voodoo 4, and Voodoo 5 cards.
Voodoo 1, Voodoo Rush, and Voodoo 2 cards are not supported by DRI.
You will need a working Glide3 installation (configured specifically for your video card) and an installation of XFree86 4.0.x or later, with a matching version of DRI.
Newer is usually better.
Glide3 is typically available in distributions (if available at all) as glide3_V3 (Banshee and Voodoo 3) or glide3-V5 (Voodoo 4 and Voodoo 5).
You will need to get it from http://glide.sourceforge.net if your distribution does not include it.
Some distributions are known to configure these cards correctly on initial installation, but you may still want to update to XFree86 4.1.0 for improvements in the 3D support.
- 3.3 Games run with periodic slowdowns on my (Voodoo Banshee/Voodoo 3 2000). Is there anything I can do?
Multitexturing is handled in software for the Voodoo Banshee and (empirically) on a subset of the Voodoo 3 cards.
Most games offer a way to disable this (e.g. descent3 --nomultitexture or heretic2 +set gl_extmultitexture 0 ), but you can completely disable the extension with an environment variable.
Set FX_DONT_FAKE_MULTITEX to 1, and then run the game.
For any game which uses multitexturing, this will likely have a noticable speed-up.
An example:
export FX_DONT_FAKE_MULTITEX=1
heretic2
- 3.4 It's not working under RedHat 7.0! What can I do to fix it?
In addition to the base install, you will need to install these packages from the 2nd CD (in the preview/RPMS directory):
Glide3-20000823-1.i386.rpm
Glide3-devel-20000823-1.i386.rpm
tdfx_dri-4.0.1-1.i386.rpm
You will also need to edit /etc/X11/XF86Config-4 and add the line Mode 0666 to the Section "DRI" segment at the end of the file, e.g.:
Section "DRI"
Mode 0666
EndSection
More details about this particular section, and what additional security options are available, can be found in the DRI User's Guide (http://dri.sourceforge.net/doc/DRIuserguide.html) on the DRI web page (http://dri.sourceforge.net/).
It is also possible to use XFree86 3.3.6 with RH 7.
To do this, configure the X server with XConfigurator --preferxf3 and edit the X symlink in /usr/X11R6/bin/ to point to the preferred server.
- 3.5 Some of my OpenGL games "black out" when I play them!
Certain versions of DRI have a known palette-blanking issue when run on 3Dfx hardware, triggered by calling the X-server's gamma functions.
This was fixed in January, 2001, but was not included in the XFree86 4.0.2 and 4.0.3 releases.
XFree86 4.1.0 does include this fix, as does the current DRI CVS.
You should either upgrade to XFree86 4.1.0, or fetch a new version of DRI and build and install it.
Some games (MindRover, Descent 3) have workarounds for this particular driver issue.
See the individual product FAQs for details.
4. ATI
- 4.1 What should I read first?
- 4.2 Is the Rage Pro supported?
The various Rage 128-based cards (including the Rage 128 Pro cards, e.g. the Rage Fury Pro) are supported with DRI.
The original Rage Pro chipset, however, is not well-supported under DRI, and we recommend using Utah-GLX instead.
- 4.3 What do I need for Rage 128 support?
XFree86 4.0.2 or later includes Rage 128 support.
There were a number of texturing issues fixed later (included in XFree86 4.1.0 and in the current DRI CVS), so you may need to update if you are seeing minor texturing glitches.
Some distributions are known to configure these cards correctly on initial installation, but you may still want to update to XFree86 4.1.0 for improvements in the 3D support (e.g. texturing issues).
- 4.4 What do I need for Radeon support?
You will probably need to install XFree86 4.1.0 and DRI from CVS, as XFree86 (through 4.0.3) does not seem to configure good Radeon support.
As this driver is under continual development, it is a good idea to monitor the dri-devel list and periodically update to the current development snapshot.
We have not found any distributions which get this configured well and correctly on initial installation.
5. nVidia
- 5.1 How do I configure my nVidia (TNT, TNT2, GeForce, GeForce 2) under Linux?
The necessary drivers for XFree86 4.0.x are located at http://www.nvidia.com, in the Linux Drivers section.
There are instructions on the site for installation.
The general outline is:
- Download the latest drivers
- Compile and install the nVidia kernel driver
- Install the libraries
- Restart your X server, and check the startup text to make certain the driver was initialized
- Test with an OpenGL application
Most of our games require that your X server has the 640x480 mode as a valid resolution (and defining 800x600 and 1024x768 if you haven't already is probably a good idea).
Please refer to your distribution's documentation (or perhaps the Linux Documentation Project (http://www.linuxdoc.org/)) for information on configuring the correct timings for your monitor.
- 5.2 I'm getting extremely choppy video on my (TNT/TNT2/GeForce) in-game. Can this be fixed?
You are likely hitting one of two issues: either the drivers are not completely installed (in particular, the if the kernel module is not correctly built, you will not be able to attain 3D hardware acceleration without running as root), or you still have copies of the Mesa library still lying around on your system.
nVidia offers advice in their FAQ ( http://www.nvidia.com/; support | drivers | Linux drivers | FAQ) on resolving the latter situation.
You may also want to try the nv_check.sh script to verify that the driver was installed correctly.
See the answer to the next question for more information.
- 5.3 I can't get it to work under RedHat 7.0!
The initial release of RedHat 7.0 has some conflicts with the nVidia drivers.
In particular, it is impossible to compile the kernel module with the default gcc , as it appears that the shipped kernel headers do not match the kernel version.
nVidia has a fix, which is available via DCC on Internet Relay Chat (IRC ).
Visit the channel #nvidia on the IRC server irc.openprojects.net, and /msg ice-dcc xdcc list .
That will return download instructions and file names.
If you cannot or will not join IRC, there are two work-arounds:
- use
kgcc , which is linked to the correct kernel headers
- or build your own kernel, run the newly-built kernel, and then re-build the nVidia kernel module.
- 5.4 Any extra tips for installing the drivers on Mandrake 7.1?
- 5.5 Is there a way to automatically check my driver install?
There is a script ( nv_check.sh ) which can be used to validate the installation and see where any errors may be lurking in the driver setup.
We have mirrored a copy of this handy script at http://www.lokigames.com/~heimdall/nvidia/nv_check.sh.
Prior to assuming that your 3D application or game is broken, we suggest that you check your nVidia driver install with this script.
- 5.6 Every OpenGL game crashes when I try to run it on my nVidia card!
Make sure that glxinfo runs without crashing.
If it doesn't (and it probably will crash), this may be a permissions issue.
Some versions of xdm (and derivatives) incorrectly reset permissions on the various /dev/nv* device nodes, which prevent users from being able to access the card for 3D applications.
Similarly, some distributions use automatic permission-changers during login, which has the same effect.
The fix for this particular problem is to (as root) change the permissions with:
chmod 666 /dev/nv*
which will give read-write permissions to all users.
- 5.7 Are there any additional sites about installing nVidia drivers?
Yes. The following sites also have information about installing the nVidia drivers:
- 5.8 How can I get technical support for my nVidia card under Linux?
Support inquries should be addressed to support@lokigames.com.
FAQ's maintained by faqs@lokigames.com.
![](./images/blurline.gif)
Products | Order | Support | Development | Press | News | About Loki
© 2000 Loki Software, Inc. | Contact Us | Webmaster
OpenGL is a registered trademark of Silicon Graphics, Inc.
|
|