Using The Nouveau Driver In Ubuntu 9.04

Published on April 24, 2009
Written by Michael Larabel
Page 1 of 1
Discuss This Article

As we reported in December, the Nouveau driver is available in Ubuntu 9.04. Unlike Fedora 11 where the Nouveau driver is being enabled by default on NVIDIA hardware, the Nouveau driver will be an after-installation option to Ubuntu users. In this article are the simple steps on how to enabled the Nouveau driver in Ubuntu and what you can expect from this open-source, community-spawned graphics driver.

The Nouveau developers have been working on both the DDX X.Org driver with 2D and X-Video acceleration and then the 3D driver that is using the Gallium3D architecture. In the Ubuntu 9.04 release, only the DDX driver is an option but hopefully come time for Ubuntu 9.10 we will see the Gallium3D support in Ubuntu's Mesa stack. Mesa 7.5 is here, but by the time of the Karmic Koala we will ideally see Mesa 7.7/7.8 at least. The 3D support in Nouveau also varies quite a bit depending upon the NVIDIA ASIC and other factors.

Similar to the 3D situation, the Nouveau developers have mode-setting support in the traditional DDX driver but also they have already worked quite a bit on kernel mode-setting support. This Nouveau kernel mode-setting support is not yet in a released kernel and we probably will not see it be pushed into a mainline kernel until Linux 2.6.31 or more likely would be 2.6.32. It is possible we could see Nouveau kernel mode-setting in Ubuntu 9.10, but with the Jaunty Jackalope release it is limited to traditional mode-setting.

Acquiring the Nouveau driver on an Ubuntu 9.04 system just requires running sudo apt-get install xserver-xorg-video-nouveau. Besides fetching the xf86-video-nouveau driver, there is also a Nouveau-specific version of the libdrm that is needed as well as the Nouveau kernel module. Until there is the Nouveau support in a released kernel, there will be the nouveau-kernel-source package on Ubuntu for providing this support. The nouveau-kernel-source package uses DKMS (Dynamic Kernel Module Support) for automatically rebuilding the kernel module when you have upgraded or otherwise changed your Linux kernel.

Once the necessary packages are installed, the Nouveau driver needs to be set in the /etc/X11/xorg.conf file by adding Driver "nouveau" to the graphics card's device section. After that, reboot and you should be running with the Nouveau driver. An easy way to ensure you are running the Nouveau driver is by running cat /var/log/Xorg.0.log | grep NOUVEAU and then look at the output.

Even a novice Linux user can do this setup process within just a few minutes. While there is no 3D support for Nouveau in this Ubuntu release, the Nouveau driver is at least more actively being worked on than xf86-video-nv, which is the default NVIDIA driver in Ubuntu. While xf86-video-nv is the official open-source NVIDIA driver, it's 2D-only, ill maintained, contains a very slim set of features, and the code is intentionally obfuscated. In fact, there really have only been a few commits to the xf86-video-nv driver in the past several months.

The Nouveau driver still has a ways to go before seeing a stable release or the driver being feature-complete for any product generation, but they are making great progress and it is beginning to be picked up by more Linux distributions. General questions about the Nouveau driver can be asked in the Phoronix Forums.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.

Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. AMD RadeonSI Gallium3D Begins Simple CL Demos
  2. A New X.Org-Free Wayland LiveCD Released
  3. Debian GNU/Hurd 2013 Release Brings New Packages
  4. Steam: No used games...
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Unity 8, Mir Made Progress This Week On Features
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite