I had some initial problems with getting the tdfx driver to work. After installing libgl1-mesa-dri-legacy glxgears/glxinfo would crash with the following error:
Setting "export LIBGL_DEBUG=verbose" revealed the following lines preceded the above error message:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Serial number of failed request: 33
Current serial number in output stream: 36
libglide3.so had already been installed in /usr/lib/ by the libglide3 package, but replacing /usr/lib/libglide3.so with the one from the glide sourceforge project fixed this.
libGL: can't find Glide library, dlopen(libglide3-v3.so) and dlopen(libglide3.so) both failed.
libGL: dlerror() message: /usr/lib/libglide3.so: undefined symbol: __LINE__