Nouveau X.Org Driver Less Than 30k Lines Of Code

Posted by Michael Larabel on July 22, 2012

After delivering some development statistics on the xf86-video-intel driver yesterday, today there's a look at the development activity surrounding xf86-video-nouveau. This is the X.Org driver for Nouveau, the reverse-engineered open-source NVIDIA driver.

The Git stats on xf86-video-nouveau show from 14th of November 2003 through earlier this month with its most recent commit on 6 July. At present, this Nouveau DDX driver component is spread across 60 files with 29,464 lines of code. The Nouveau X.Org driver at less than 30k lines of code was developed over the course of 2,281 commits from 65 different developers. While the Nouveau X.Org driver works for open-source NVIDIA and simply counting the number of lines of code isn't an appropriate measurement for much of anything, the 29.4k LOC size is significantly less than the xf86-video-intel driver at 204.3k LOC. The to-be-published xf86-video-ati Git stats show it's size at 61.4k LOC. So the Nouveau X.Org driver is a seventh the size of Intel's driver and half the size of ATI's driver. Again though this isn't much of a useful measurement for end-users and is only counting the DDX component but not the Mesa or DRM/KMS driver components.

Pace though on developing xf86-video-nouveau has certainly slowed down...

So far in 2012 there have just been 59 commits to xf86-video-nouveau, which is more than in 2011 when there were just 35. However, back in 2007 there were 697 commits, 729 commits in 2008, and 480 commits in 2009. Years ago there was user-space mode-setting (UMS) support in xf86-video-nouveau so there was extra work going on there, etc, but these days most of the interesting happenings are in the Nouveau KMS/DRM kernel driver.

The leading contributors to xf86-video-nouveau include Maarten Maathuis (631 commits), Stuart Bennett (599 commits), Ben Skeggs (520 commits), Stephane Marchesin (112 commits), Arthur Huillet (68 commits), and Francisco Jerez (56 commits).

Since Ben Skeggs became employed by Red Hat to continue work on Nouveau, the number of lines of code he has added to the driver has been very significant.

While Ben has been adding lots of lines of code, when it comes to the number of commits recently, Stuart and Maarten are battling it out for the top spot.

With the removal of UMS support from Nouveau, the DDX driver is no longer as big as it once was, but did increase in size from 2010 to 2011. For the past year, the driver's size by line count has been mostly flat-lined.

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. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. Freedreno Gallium3D Now Banging The Adreno A3XX
  4. Jolla Announces Their First Phone
  5. Mageia 3 Released, Still Using Legacy GRUB
  6. NetBSD 6.1 Brings In More Features
  7. Using Six Monitors With AMD's Open-Source Linux Driver
  8. Benchmarking The Intel P-State, CPUfreq Changes
  9. FreeBSD Still Working On Next-Gen Package Manager
  10. DNF Still Advancing As Experimental Yum For Fedora
  11. Logitech Begins Supporting Linux Users
Latest Forum Talk
  1. Sumo Lounge Emperor
  2. FreeBSD Still Working On Next-Gen Package Manager
  3. Plymouth Planned For Ubuntu 9.10 Integration
  4. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  5. Ubuntu To Look At Replacing Firefox With Chromium
  6. Mageia 3 Released, Still Using Legacy GRUB
  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