Notes
Taken from Using Nouveau on Exherbo
You can install everything except the nouveau kernel module using paludis, from exhereses, since we don’t have any kernel handling in Exherbo yet.
Installation
- Install x11-dri/libdrm with video_drivers: nouveau enabled.
echo "*/* video_drivers: nouveau" >> /etc/paludis/options.conf paludis --install libdrm
- Install the kernel module. Ensure that CONFIG_DRM is disabled in your kernel. Get drm from git, make sure LINUXDIR is the path to your kernel. You can also use importare instead of make install.
git clone git://anongit.freedesktop.org/git/mesa/drm cd drm/linux-core make LINUXDIR=/usr/src/linux nouveau.o sudo make LINUXDIR=/usr/src/linux install
- Install the 2D driver.
paludis --install xf86-video-nouveau
- Load drm and nouveau modules.
rmmod nvidia modprobe drm && modprobe nouveau
- Enable nouveau in xorg.conf by adding 'Driver "nouveau"' to the Devices section.
vim /etc/X11/xorg.conf
- Optional: To try 3D, build x11-dri/mesa(-scm).
echo "x11-dri/mesa *" >> /etc/paludis/package_unmask.conf paludis --install mesa
- Restart X, and check that everything is working.
/etc/init.d/displaymanager restart glxinfo | grep OpenGL | grep string
You should see:- OpenGL vendor string: Tungsten Graphics, Inc. and nouveau OpenGL renderer string: Gallium 0.2 on NV4B OpenGL version string: 1.5 Mesa 7.5-devel

