ExherboInstall

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

  1. Install x11-dri/libdrm with video_drivers: nouveau enabled.
     echo "*/* video_drivers: nouveau" >> /etc/paludis/options.conf
     paludis --install libdrm
  2. 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
  3. Install the 2D driver.
     paludis --install xf86-video-nouveau
  4. Load drm and nouveau modules.
     rmmod nvidia
     modprobe drm && modprobe nouveau
  5. Enable nouveau in xorg.conf by adding 'Driver "nouveau"' to the Devices section.
     vim /etc/X11/xorg.conf
  6. Optional: To try 3D, build x11-dri/mesa(-scm).
     echo "x11-dri/mesa *" >> /etc/paludis/package_unmask.conf
     paludis --install mesa
  7. 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