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. Linux Desktop Security Could Be A Whole Lot Better
  2. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  3. New NVIDIA Linux Driver Supports The GeForce GTX 780
  4. Chrome 28 To Offer More Speed Improvements
  5. Digia Announces "Boot To Qt" Project
  6. X.Org Libraries Hit By Round Of Security Issues
  7. Wayland's Weston Gets Output Scaling Support
  8. Raspberry Pi Gets New Wayland Weston Renderer
  9. Debian GNU/Hurd 2013 Release Brings New Packages
  10. Intel Ultrabook Performance Is Faster With Mesa 9.2
  11. Hot Relocation HDD To SSD Support For Btrfs
Latest Forum Talk
  1. Linux Desktop Security Could Be A Whole Lot Better
  2. Fedora 19 Alpha Gets Its First Delay Due To UEFI
  3. Raspberry Pi Gets New Wayland Weston Renderer
  4. Wayland's Weston Gets Output Scaling Support
  5. X.Org Libraries Hit By Round Of Security Issues
  6. Fedora 18 Comes To ARMv6, Raspberry Pi
  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