Nouveau Gallium3D Kepler Is Already Here

Posted by Michael Larabel on April 14, 2012

Over three months passed between the time the Radeon HD 7970 launched and the time that initial Gallium3D support landed (yesterday). So how long is it going to take for a Gallium3D driver for NVIDIA's GeForce GTX 680 "Kepler" that launched just last month and has to be reverse-engineered by the community Nouveau members? Well, as of this afternoon, the Kepler Gallium3D driver is already available.

As talked about on the GTX 680 launch day, two members of the Nouveau community managed to get access to early Kepler hardware through unspecified means. At launch they already had the support working for the Nouveau DRM/KMS driver so it could be pulled quickly into the Linux 3.4 kernel, which had its merge window open at the time. Afterwards they pushed the support into the xf86-video-nouveau DDX and now they have support for Kepler in Nouveau Gallium3D. Benefiting them is that NVIDIA's graphics architecture didn't change too much in going from Fermi to Kepler.

As said in this commit today, "Most things that work on Fermi should work on Kepler too. There are a few performance optimizations left to do, like better placement of texture barriers and adding scheduling data to the shader instructions (without them, a thread group will be masked for 32 cycles after each single instruction issue)."

The changes between NVIDIA's GeForce 400/500 "Fermi" series and the GeForce 600 "Kepler" isn't as nearly as invasive as going from the Radeon HD 6000 "Northern Islands" / "Cayman" to Radeon HD 7000 "Southern Islands" with the new Graphics Core Next (GCN) architecture, but still the Nouveau driver has managed quite nice timing in this case. For reference, the Radeon HD 6000 series (which wasn't as invasive in going from Northern Islands to Southern Islands / GCN) took two months before the support arrived to succeed AMD's Radeon "Evergreen" generation. Adding in the Radeon HD 6900 Cayman support also took some time.

Meanwhile the Nouveau developers reverse-engineered and tacked in support for the latest-generation hardware in less than one month. This isn't to bash the small open-source AMD crew, but to say nice job to the Nouveau developers. Enabling the NVIDIA GeForce GTX 600 series open-source support in the Mesa repository just resulted in a net of around 600 lines of new code.

As usual though, an initial limitation of this new-found open-source support is that the Kepler acceleration code requires the external NVIDIA firmware to be loaded. This firmware isn't re-distributable so first you must load the NVIDIA graphics driver while MMIOtrace support is found within the kernel and then dump the bits. After that point, the Nouveau Kepler support should hopefully be good to go. I need to send back my GTX 680 Kepler soon, but will try to run some quick Nouveau benchmarks versus the NVIDIA binary blob on it this weekend.

The Nouveau Gallium3D Kepler support has evidently been done for a few days already but was held up by the massive Nouveau code push with the new libdrm interface.

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. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Unity 8, Mir Made Progress This Week On Features
  3. AMD RadeonSI Gallium3D Begins Simple CL Demos
  4. Debian GNU/Hurd 2013 Release Brings New Packages
  5. Steam: No used games...
  6. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  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