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. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. KDE's KWin Made Lots Of Progress In 4.11
  2. Ubuntu Announces Carrier Advisory Group
  3. Qt 5.1 Release Candidate 1 Has Arrived
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Subversion 1.8 Presents New Features
  6. LLVM 3.3 Officially Released
  7. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  8. Intel GPU Driver Tries To Rip Out FBDEV Support
  9. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  10. VP9 Codec Now Enabled By Default In Chrome
  11. openSUSE 13.1 M2 Plays On PulseAudio 4.0
Latest Forum Talk
  1. Ubuntu Announces Carrier Advisory Group
  2. Planetary Annihilation Plans To Come To Linux
  3. LLVM 3.3 Officially Released
  4. Intel Haswell-Based Apple MacBook Air, HD 5000...
  5. Intel GPU Driver Tries To Rip Out FBDEV Support
  6. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  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