Ingmar’s shameless self-blagvertisement.

March 7, 2009

Using nouveau on Exherbo

Filed under: Exherbo — ingmarv @ 12:33 pm

I’ve been using nouveau 2D on my laptop for ages, and given how we don’t package the blob, maybe it’s time I write down how to install the nouveau driver.

Note that while nouveau works wonderfully on all but one of the cards I’ve tried it on, it’s still considered experimental.
Also keep in mind that the Gallium 3D work is completely unsupported, so do not bug the nouveau devs about it.

You can install everything except the nouveau kernel module using paludis, from exhereses, since we don’t have any kernel handling in Exherbo yet. There was some discussion of requirements a while ago, but nothing has materialized so far.

First install x11-dri/libdrm with video_drivers: nouveau enabled.

Second, install the kernel module:

# Ensure that CONFIG_DRM is disabled in your kernel
# Grab the libdrm sources:
git clone git://
cd drm/linux-core
# Adjust LINUXDIR to the path to the kernel that you’re installing the nouveau module for
make LINUXDIR=/usr/src/linux nouveau.o
# Or use importare, for bonus points…
sudo make LINUXDIR=/usr/src/linux install

Third, install the 2D driver, x11-drivers/xf86-video-nouveau.

Fourth, load the drm & nouveau modules automatically, and ensure that the binary nvidia module isn’t loaded.

Enable the driver in xorg.conf.

If you want to try 3D, build x11-dri/mesa with video_drivers: nouveau enabled.

If you did everything right, glxinfo will show the following (and much more…):

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

Or, you can just enable the XRender backend in KWin, and wait for the Gallium 3D API to stabilize…



  1. Thanks for the guide, nouveau works great on my laptop (T61p w/nvidia 570m). I added this guide to the nouveau wiki:

    Comment by Jonathan Dahan — March 7, 2009 @ 8:32 pm | Reply

  2. […] Using nouveau in Exherbo page_revision: 1, last_edited: 1236557176|%e %b %Y, %H:%M %Z (%O ago) edittags history files print site tools+ options edit sections append backlinks view source parent block rename delete help | terms of service | privacy | report a bug | flag as objectionable Hosted by — get your free wiki now! Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License Click here to edit contents of this page. Click here to toggle editing of individual sections of the page (if possible). Watch headings for an “edit” link when available. Append content without editing the whole page source. Check out how this page has evolved in the past. If you want to discuss contents of this page – this is the easiest way to do it. View and manage file attachments for this page. A few useful tools to manage this Site. See pages that link to and include this page. Change the name (also URL address, possibly the category) of the page. View wiki source for this page without editing. View/set parent page (used for creating breadcrumbs and structured layout). Notify administrators if there is objectionable content in this page. Something does not work as expected? Find out what you can do. General documentation and help section. Terms of Service – what you can, what you should not etc. Privacy Policy. _uff = false; _uacct = “UA-68540-5″; _udn=””; urchinTracker(); _qoptions={ qacct:”p-edL3gsnUjJzw-” }; […]

    Pingback by Exherbo: Guides — March 9, 2009 @ 12:17 am | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: