[FrontPage] [TitleIndex] [WordIndex

Nouveau is the X11 driver which should -- at a later stage -- offer 3D acceleration. Currently 2D support is quite useful and we are working on 3D acceleration and deobfuscating the source we inherited from the X11 nv driver.

Installing Nouveau from git using the latest git kernel and Debian GNU/linux unstable/experimental

A loose compilation of commands for the advanced user. Latest version is available at http://www.alice-dsl.net/jkl345/Installations.html and look for Installation-Nouveau.txt.

There are also precompiled Debian GNU/linux kernel packages available for the AMD64 architecture. The download and compilation takes quite a long time.

This is the kind of recommended way to install Nouveau as of 12th september 2009. It's kind of a quick hack, but not so invasive to package management.

The information below is considered obsolete especially the instructions to install modules from mesa/drm-git. The Nouveau driver is now maintained in a copy of the kernel tree which is synced frequently with latest Linus' git. You may find valuable additional information below though.

Installing Nouveau from Debian Experimental (packages quite outdated as of 2009-09-12)

The Nouveau drivers are now available from Debian experimental. The term "experimental" here refers to the distribution of Debian (such as "stable", "testing", etc).

Installing these drivers requires compilation to ensure that the generated "drm" module is compiled against your kernel correctly. If you would like to try them:

  1. Ensure you are using Debian sid/unstable.
  2. Add experimental sources to your /etc/apt/sources.list.
  3. Run the following commands to prepare your system to compile
     sudo apt-get update
     sudo apt-get install module-assistant
     sudo module-assistant update
  4. Run the following command to compile and install drm:
     sudo DRM_MODULES=nouveau module-assistant auto-install drm
  5. Now we have installed drm, we can install the Nouveau drivers themselves:
     sudo apt-get install xserver-xorg-video-nouveau
  6. Edit your /etc/X11/xorg.conf and specify the nouveau driver in the Device section.
  7. Restart X. You will need to remove the binary nvidia kernel module.

Editing your xorg.conf may be as simple as the replacing nvidia or nv with nouveau; nouveau won’t be chosen automatically over nv yet in Debian.

If you find bugs related to the Debian packaging, please report the problem with the Debian bug tracker.

Problems

  1. Make sure that neither drm nor nvidia (binary version) kernel drivers are loaded. Use

     lsmod | egrep "(drm|nvidia)"
    to find out if the modules are loaded and then unload them using:
     rmmod nvidia
     rmmod drm
    should you still have them loaded.

Q: I can't install xserver-xorg-video-nouveau, it says something like "linux-nouveau-modules not available"
A: Follow the "Installing Nouveau from Debian Experimental" instructions above; you must compile the drm modules which "Provide:" linux-nouveau-modules.

Q: I can't insert the drm module, it says something with "duplicated symbol"
A: Make sure that you haven't set CONFIG_DRM in your kernel config

Q: Inserting nouveau.ko fails with "invalid module format"
A: drm.ko needs to be inserted first.

Q: Compiling xf86-video-nouveau fails with "No nouveau_drm.h found".
A: Make sure that nouveau_drm.h lies in a path which can be found by your compiler. Best thing is to put it in the same directory as the headers of the other X11 drivers. Or add your include path to the makefile.


CategoryHomepage


2013-03-24 13:16