Firebird News

Wednesday, February 23, 2011

Gallium3 nouveau on !debian sid now enabled part two

After hitting the building mesa bug error in first part
: nouveau/nouveau_class.h: No such file or directory

I have decided to install libdrm 2.4.24 but there is no such thing in debian
so you must install by source from git
git clone git://anongit.freedesktop.org/git/mesa/drm
cd drm
./autogen.sh
./configure --enable-nouveau-experimental-api --prefix=/usr
sudo make install 

Then go back to mesa dir from git
make
sudo cp lib/gallium/nouveau_dri.so /usr/lib/dri/
LIBGL_DEBUG=verbose glxinfo 2>&1 >/dev/null | grep so$
libGL: OpenDriver: trying /usr/lib/dri/tls/nouveau_dri.so
libGL: OpenDriver: trying /usr/lib/dri/nouveau_dri.so
libGL: OpenDriver: trying /usr/lib/dri/tls/nouveau_dri.so
libGL: OpenDriver: trying /usr/lib/dri/nouveau_dri.so
glxinfo | egrep renderer
OpenGL renderer string: Gallium 0.4 on NVAA

Now you can play with opengl:openarena,xonotic or webgl
So i'm really free of nvidia's blobs
Update: seems that is possible to install nouveau gallium with a simple
sudo apt-get install libgl1-mesa-dri-experimental

dpkg -L  libgl1-mesa-dri-experimental | grep nouveau
/usr/lib/dri/nouveau_dri.so

No comments: