Warning : Nouveau's developers don't want people to build gallium drivers now, and do not support it at all.
They also don't want bug reports on gallium ATM.
This is code in rapid development. Bug reports for this are useless, as it's known to be broken.
However, if you notice a regression within the gallium branch, it is useful if you 'git bisect' the problem, find the commit which broke it and mail a report to the developer who committed the change. Usually, the regression will then be fixed on very short notice in the git tree.
Please note: This is unsupported by the developers, if things break for you: though luck, but don't come crying. Even if some OpenGL games may work for you, but it is possible that they crash sooner or later due to memory problems because we are not using TTM yet and some applications like Google Earth may even crash X itself. In short, to try this stuff, you should know what you are doing.
If you want to fix a crash, use gdb to debug the issue and submit a fix, bug reports are not helpful at the moment as the developers know pretty much what is not working.
Gallium3D and git xservers
Gallium3D is using the old DRI Interface which is used up to Xorg 1.4, so to have a possibility of working transparency, depth, visuals and maybe even AIGLX, you should not be using an git xserver altogh it's EXA is said to be better. To get those things working with git xorg, you'd have to update the DRI interface of Gallium3D.
In case you want to install nouveau_dri.so to /usr/lib(64)/dri/nouveau_dri.so, you should make sure that you disable AIGLX as
Building Gallium3D's nouveau_dri.so
If you have trouble compiling gallium's nouveau_dri.so, do not ask the nouveau developers for help, you will be ignored because this code is only for people which know how to follow these instructions. Some pre-built nouveau packages for e.g. Linux distributions may include the nouveau gallium driver already, ask e.g. the makers of those if you have a problem compiling the nouveau gallium driver.
First, clone nouveau's mesa git (this downloads quite some data and may take a while):
git clone git://anongit.freedesktop.org/git/nouveau/mesa
Now you have to switch to the gallium-0.1 branch :
cd mesa/ git checkout origin/gallium-0.1
Be sure that your PKG_CONFIG_PATH is exported correctly (see InstallingNouveau) in case you didn't install the libdrm it into the system itself. Then, on a 64-bit distribution, run:
make DRI_DIRS=nouveau linux-dri-x86-64
while on 32-bit, run:
make DRI_DIRS=nouveau linux-dri-x86
It's not recommended to install this library, but you can test if it works by setting LD_LIBRARY_PATH and LIBGL_DRIVERS_PATH to /path/to/mesa/lib (32 bits distro) or /path/to/mesa/lib64 (64 bits distro). Here is an example with Openarena:
LD_LIBRARY_PATH="/path/to/mesa/lib64" LIBGL_DRIVERS_PATH="/path/to/mesa/lib64" openarena
You may want sometimes to update your git repo :
git pull origin gallium-0.1

