I have a Radeon HD 4890 and I've built mesa from git like this:
and then make, but not make install.
The problem is that it won't load the new driver.
When running Nexuiz, it reports that it is using Mesa 8.0.4-1 which is the version that comes with the system (Debian unstable, linux 3.5-0 amd64).
$ export LIBGL_DRIVERS_PATH=lib
$ LIBGL_DEBUG=verbose glxinfo 2>&1 >/dev/null | grep so$
libGL: OpenDriver: trying lib/tls/r600_dri.so
libGL: OpenDriver: trying lib/r600_dri.so
libGL error: unable to load driver: r600_dri.so
libGL: OpenDriver: trying lib/tls/swrast_dri.so
libGL: OpenDriver: trying lib/swrast_dri.so
libGL error: unable to load driver: swrast_dri.so
$ export LD_LIBRARY_PATH=lib
$ ldd lib/libGLESv2.so | grep glapi
libglapi.so.0 => lib/libglapi.so.0 (0x00007f8a0f5e2000)
$ export EGL_DRIVERS_PATH=lib/egl
$ EGL_LOG_LEVEL=debug test_application 2>&1 >/dev/null | grep '\.so'
edit: When running Nexuiz like this, things are broken: no textures and player models are no tvisible.
Any ideas how to do this right?