1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

NVIDIA GeForce 400 "Fermi" Series On Nouveau

Michael Larabel

Published on 29 March 2011
Written by Michael Larabel
Page 1 of 7 - 14 Comments

With NVIDIA still not providing any open-source support or technical documentation for their graphics processors, for those in the open-source community who seek to use their GeForce 400/500 "Fermi" GPUs without NVIDIA's binary driver, they are left to use the reverse-engineered, community-created Nouveau driver. Fortunately, the support for the NVIDIA Fermi GPUs is coming along at a respectable pace -- with even working OpenGL acceleration -- considering that NVIDIA is providing no support at all. In this article are the first benchmarks of this experimental GeForce 400/500 "Nouveau NVC0" driver versus NVIDIA's official proprietary driver.

The GeForce 400 series launched nearly one year ago (April 2010) and just days after the GeForce GTX 470 and GeForce GTX 480 appearing, independent work began on bringing up support for this hardware in the Nouveau driver as well as within the PSCNV Nouveau driver fork. PathScale, the compiler company behind the PSCNV fork that's particularly interested in bringing up OpenCL/Compute support, even offered free Fermi graphics cards to developers.

Just months after the first NVIDIA GPUs appearing that were based upon the Fermi architecture, pushed into the Linux 2.6.36 kernel was NVIDIA Fermi KMS support. This was support in the Nouveau DRM (Direct Rendering Manager) driver for kernel mode-setting (KMS) for the GeForce 400 graphics cards out there at the time. However, this was just mode-setting support and there was no kernel or user-space support yet for 2D/3D/video acceleration. Not long after that, however, 2D and 3D began working. In October, PSCNV proclaimed stable 2D support for Fermi while 3D was a work-in-progress.

In January for the Linux 2.6.38 kernel was when Nouveau Fermi acceleration was merged for 2D/3D/X-Video. With the Linux 2.6.38 kernel, however, you need to use non-free firmware/microcode to initialize the GPU. This is still an unfortunate requirement as of today. If you load the latest Linux kernel on a NVIDIA GeForce 400/500 "Fermi" GPU, there will be kernel mode-setting support, but without any acceleration. There is no "free" Nouveau Fermi microcode/firmware that is redistributed with the Linux kernel and the Nouveau DRM cannot provide acceleration without the firmware.

This used to be a problem originally for earlier generations (GeForce 6 series and newer) of NVIDIA GPUs on Nouveau, for those that remember the ctx_voodoo controversy, but this had changed in late 2009 when a free firmware was created and then in early 2010 when it became possible for Nouveau to generate its own firmware (the DRM driver building its own "ctxprogs" and state internally). This should eventually be the case for Fermi too, but it will not be until the Linux 2.6.40 kernel or later where this changes. For now you may have kernel mode-setting "out of the box", but not acceleration.

The firmware needed by the Nouveau Fermi/NVC0 driver is not hosted publicly either, but interested users need to extract the firmware themselves. Using MMIO-Trace for tracing memory mapped I/O access within the Linux kernel when first using the NVIDIA binary driver does this and from there the binary files can be assembled. Basically you load the memory mapped I/O tracing support (prior to loading Nouveau, the NVIDIA blob, or anything else poking the GPU), load a recent release of NVIDIA's binary display driver that supports the given GPU, start X.Org Server so the GPU is initialized, and then from the recorded MMIO-Trace dump the firmware can be extracted. There are four "fuc" binary files needed for Nouveau support at this time (fuc41ad, fuc409d, fuc41ac, and fuc409c). It is a relatively easy process for an experienced Linux user and can be done in a few minutes, after which you are free from having to use the NVIDIA binary display driver. As of a few days ago, a brief how-to guide was posted to the Nouveau Wiki to ease this process.

Latest Articles & Reviews
  1. Khronos Group Announces Vulkan, OpenCL 2.1, SPIR-V
  2. Samsung 850 EVO SSD Linux Benchmarks
  3. Kubuntu 15.04 Is Turning Out Quite Nice, Good Way To Try Out The Latest KDE
  4. 5-Way Linux Distribution Comparison On The Core i3 NUC
  5. OCZ ARC 100 Linux SSD Benchmarks
  6. Lenovo ThinkPad X1 Carbon Works Great As A Linux Ultrabook
Latest Linux News
  1. SPIR-V In GCC Is Already Being Talked About
  2. PC-BSD 10.1.2 To Add Tor Mode, LibreSSL & Other Features
  3. Valve Launches SteamOS Sale, Confirms A Lot Of New Linux Games
  4. Ubuntu Cloud Switches Over To Using Systemd By Default
  5. System76 Introduces The Broadwell-Powered, Ubuntu-Loaded "Meerkat"
  6. Xfce 4.12 Might Make It For Fedora 22
  7. Pictures Of The Near Production Ready Ubuntu Tablet
  8. OpenVG Support Stripped From Gallium3D
  9. Mozilla Is Getting Excited About WebGL 2
  10. ZOTAC Announces Steam Machine SN970, Powered By SteamOS
Most Viewed News This Week
  1. More Proof That Allwinner Is Violating The GPL
  2. The Tremendous Features Of Fedora 22
  3. Krita 2.9 Released, Their Biggest Release Ever
  4. Confirmed: Vulkan Is The Next-Gen Graphics API
  5. A Single UEFI Executable With The Linux Kernel, Initrd & Command Line
  6. Xfce 4.12 Released After Nearly Three Years Of Work
  7. 8cc: A Small C11 Compiler
  8. LLVM 3.6 & Clang 3.6 Deliver More Features, Complete C++14 Support
%%CLICK_URL_UNESC%%