|Initial release||1.0 / 18 June 2012|
|Operating system||Linux, BSDs|
|Platform||x86, x86-64, ARM, PowerPC|
|Type||Device driver and firmware|
The project's goal is to create an open source driver by reverse engineering Nvidia's proprietary Linux drivers. It is managed by the X.Org Foundation, hosted by freedesktop.org, and is distributed as part of Mesa 3D. The project was initially based on the 2D-only free and open-source "nv" driver, which Red Hat developer Matthew Garrett and others claim had been obfuscated. nouveau is licensed under the MIT License.
The name of the project comes from the French word nouveau, meaning new. It was suggested by the original author's IRC client's French autoreplace feature, which suggested the word "nouveau" when he typed "nv".
Nouveau is a Gallium3D-style device driver and works on top of the Direct Rendering Infrastructure (DRI). It is composed of the two Kernel-components DRM & KMS driver, and the user-space components libDRM, and Mesa 3D.
For technical reasons Nvidia GPUs all boot with a low frequency (called "clock"), the device driver has to set a higher frequency after booting. Due to lack of documentation of GPU, nouveau lacked this capability from the beginning on. The result was/is a major loss in performance, as proven by benchmarks which compared the performance of Nvidia proprietary device driver with nouveau's. In June 2014, a breakthrough was finally achieved and initial re-clocking support was added to nouveau.
In a very sharp contrast to AMD, Nvidia has provided no documentation whatsoever about their GPUs. The developers of nouveau have been forced to use clean-room reverse engineering to obtain the necessary data to enable them to write nouveau. The project uses several custom-made programs for its reverse engineering, such as MmioTrace (Memory Mapped I/O Trace), REnouveau and Valgrind MMT.
REnouveau (Reverse Engineering for nouveau) is a program licensed under the GNU GPL (using SDL) that collects data for most of nouveau's reverse engineering work. Users with the proprietary NVIDIA drivers can help the development of nouveau by providing information about the hardware of their NVIDIA cards through REnouveau. REnouveau works by copying the current graphics card MMIO register space, drawing some graphics and taking another copy of the MMIO, and outputting the difference to a text file. It runs about six dozen different tests which the user of the computer then makes a tar.bz2 archive of and submits by e-mail, after which it is automatically transferred to the project's FTP servers for the developers to analyze.
Only the kernel has direct access to the hardware, this includes the graphics card. End-user software accesses it through various interfaces, that are specific to the task. Nouveau is being written as a Gallium3D-type of device driver, which means that it shares large amounts of code with other Gallium3D drivers. Most of this shared core is being mainlined in Mesa 3D and then distributed as such by the various Linux distributions.
Mesa 3D and the drivers it includes, supports multiple rendering interfaces, all designed to give user-space programs, such as e.g. video games or CAD software, access to the correspondent SIP blocks.
A free and open-source implementation of Direct3D version 9 has been mainlined into Mesa 3D. It can be used with nouveau; however, since any software that is using Direct3D is programmed for Windows this software can only be used together with Wine on Linux.
The rendering interface OpenGL is being developed by the Khronos Group. Implementations of this API are part of Nvidia's or AMD's proprietary "Catalyst". Another implementation is being written by free software enthusiasts, such as Brian Paul or Intel and coordinated in Mesa 3D. Being a Gallium3D-type of driver, Nouveau needs only minor adaptations to work with this implementation.
Mesa 3D supports multiple interfaces, all designed the give user-space programs, such as e.g. GStreamer or HandBrake, access to the correspondent SIP blocks. And it is also possible to use the IC designed for rendering calculations for this purpose, though this approach consumes much more electrical power, compared to utilizing the PureVideo SIP block.
Nouveau does not support Nvidia NVENC.
Nouveau does not support CUDA.
Nouveau was started in 2005 by Stephane Marchesin as a series of patches upon the "nv" driver, and officially announced in February 2006 at FOSDEM event. The first live demo of nouveau was at Linux.conf.au 2007. In 2010 nouveau was accepted in the 2.6.33 version of Linux kernel as an experimental driver On 26 March 2012, the nouveau driver was marked as stable and promoted from the staging area of Linux 3.4. Nouveau gained a major internal architecture overhaul in Linux 3.7.
Nouveau originally used the Direct Rendering Infrastructure (DRI) of Mesa 3D for rendering 3D computer graphics, which allows to accelerate 3D drawing using the graphics processing unit (GPU) directly from the 3D application; but in February 2008 the work on DRI support ceased and moved on to the new Gallium3D.
On 23 September 2013 Nvidia publicly announced, that they would release some documentation about their GPUs with the intent to address areas that impact the out-of-the-box usability of NVIDIA GPUs with Nouveau.
As of 9 July 2016, Red Hat employee Ben Skeggs committed a patch which adds support for the Pascal-based GP104 chip found on GeForce GTX 1070 and GeForce GTX 1080-branded graphics cards to the Linux kernel.
The nouveau driver and the 3D contrapart in Mesa, have been used as the default open-source driver for Nvidia cards in many Linux distributions, including Fedora 11, openSUSE 11.3, Ubuntu 10.04, Debian.
In comparison, benchmarks, nouveau has not been able to keep up with Nvidia's proprietary graphics device drivers.
- Free and open-source graphics device driver
- Comparison of Nvidia graphics processing units
- Fastra II
- VESA BIOS Extensions
- von Eitzen, Chris (18 June 2012). "Free NVIDIA graphics driver reaches version 1.0". The H - Open. Heinz Heise. Retrieved 13 June 2013.
- Airlie, Dave (8 December 2015). "xf86-video-nouveau 1.0.12". nouveau (Mailing list).
- "Debian bug tracker". 17 August 2006. Retrieved 7 April 2013.
- "nouveau Wiki". 7 July 2009. Retrieved 23 September 2009.
- "The state of Nouveau, part I". LWN.net. 15 February 2008. Retrieved 24 November 2009.
- "Nouveau vs. NVIDIA proprietary Linux vs. NVIDIA Windows 8.1". Phoronix. 2013-10-31.
- "Nouveau Re-Clocking Details Discussed Further". Phoronix. 2014-05-17.
- "Nouveau Re-Clocking Is Way Faster". Phoronix. 2014-06-20.
- "Nouveau PowerManagement documentation". freedesktop.org.
- "MmioTrace (Memory Mapped I/O Trace)". nouveau Wiki.
- "Valgrind-mmt". nouveau Wiki.
- "REnouveau (Reverse Engineering for nouveau)". nouveau Wiki.
- "Nouveau Video Acceleration". freedesktop.org.
- Peres, Martin; Stach, Lucas. "Nouveau Recap, on-going and future work" (PDF). Retrieved 1 September 2014.
- "The state of Nouveau, part I". LWN.net. Retrieved 1 September 2014.
- "Nouveau To Go Into Linux 2.6.33 Kernel!". Phoronix. 11 December 2009.
- Jonathan Corbet (23 March 2012). "The Nouveau driver graduates from staging". LWN.net.
- Peres, Martin. "Nouveau XDC 2013 slides" (PDF). X.Org. Retrieved 1 September 2014.
- "The state of Nouveau, part 2". LWN.net. 26 February 2008. Retrieved 7 March 2008.
- "Nouveau Companion 36 - The irregular Nouveau-Development companion". 7 March 2008. Retrieved 7 March 2008.
- "Nvidia offers to release public documentation on certain aspects of their GPUs". 2013-09-23. Retrieved 2013-09-24.
- "drm/nouveau: initial support for GK20A (Tegra K1)". 2014-01-31.
- "drm/nouveau: initial support for GP104 (Pascal)". 2016-07-09.
- Michael Larabel (29 March 2009). "Testing Out The Nouveau Driver On Fedora 11". Phoronix.
- "Product highlights for openSUSE 11.3 version". openSUSE. Retrieved 29 December 2010.
- "Bug #454821: Bugs: "xserver-xorg-video-nv" package: Ubuntu".
- Debian (11 February 2011). "Nouveau nVidia drivers now available in Debian experimental".
- Sam Spilsbury, head maintainer of Compiz (21 May 2010). "Beware the benchmarks.".
Our recommendation: Use nouveau.
- "Codethink Gets The NVIDIA Jetson TK1 Running With Linux 3.15, Wayland". Phoronix. 2014-06-12.
- "Benchmarking Nouveau and Nvidia's proprietary GeForce driver on Linux". Phoronix. 2014-07-28.