Nouveau Makes Its Own NV40 Firmware Replacement

Posted by Michael Larabel on December 16, 2009

Since last week the DRM code for the Nouveau driver has been in the mainline kernel code-base for its official debut with the Linux 2.6.33 kernel. However, by default this DRM will not work with hardware newer than the GeForce 5 series as there is some firmware that must be loaded. Due to legal issues with this firmware/microcode (referred to as "ctx_voodoo"), this binary code must be installed separately if you wish to use Nouveau with one of the newer NVIDIA graphics cards.

While this ctx_voodoo installation really only affects those wishing to play with this staging driver early as Red Hat ships Fedora with ctx_voodoo and other distributions will likely do the same (or at least make for an easy installation), there is a better solution on the horizon and it will make this free software driver even more pure.

Red Hat's Ben Skeggs over the past few days ended up being able to write his own firmware replacement for the context switching microcode (ctx_voodoo) that for at least his GeForce 6/7 graphics cards is working correctly. His free software version of ctx_voodoo is much less complex than NVIDIA's blob, but for the Nouveau purposes it seems that it will work out at least for the time being.

This generated firmware made by Ben can be found on the Nouveau mailing list. Assuming others report success with this firmware, it will end up being pushed into the DRM shortly, which means the NVIDIA ctx_voodoo right now will only be needed for the GeForce 8 series graphics cards and newer. Over time we may end up seeing new firmware replacements for the other NVIDIA graphics cards too.

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. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Unity 8, Mir Made Progress This Week On Features
  2. LLVM Clang 3.3 RC2 Is Ready For Testing
  3. AMD RadeonSI Gallium3D Begins Simple CL Demos
  4. Intel Shows Off GNOME3-Based Tizen Shell
  5. Linux Desktop Security Could Be A Whole Lot Better
  6. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  7. New NVIDIA Linux Driver Supports The GeForce GTX 780
  8. Chrome 28 To Offer More Speed Improvements
  9. Digia Announces "Boot To Qt" Project
  10. X.Org Libraries Hit By Round Of Security Issues
  11. Wayland's Weston Gets Output Scaling Support
Latest Forum Talk
  1. KDE 4.11 Will Be The Last Major KDE4 Workspaces...
  2. AMD RadeonSI Gallium3D Begins Simple CL Demos
  3. Could the forum help improve the quality of...
  4. Linux Desktop Security Could Be A Whole Lot Better
  5. X.Org Libraries Hit By Round Of Security Issues
  6. Intel Shows Off GNOME3-Based Tizen Shell
  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