Nouveau Fan Management Code Published

Posted by Michael Larabel on August 29, 2011

At long last, if your computer has previously sounded like a jet engine when using the open-source Nouveau driver with your NVIDIA GeForce/Quadro graphics card, there is a solution. Fan management code has now been published by the Nouveau developers to support controlling the graphics card's fan speed when using this in-kernel Linux driver.

Martin Peres writes to the Nouveau mailing list this morning, "Just saw the bitching on Phoronix about lack of fan management in nouveau (no offence Michael, it was justified ;)). Since it has been working flawlessly for more than a week on my desktop, I decided to let you guys know about it and ask for testing."

This power management code for thermal support is currently hosted on Gitorious. This DRM branch supports controlling "PWM" (Pulse Width Modulation) fans with a speed between zero (off) and 100% speed.

Some NVIDIA graphics cards don't use PWM-type fans but rather can only be toggled on and off. Code has been written for these more basic fans, but it hasn't yet been tested for lack of hardware. Fortunately, those fans tend to be in low-end graphics cards anyways where they aren't as noisy.

There's also I2C-accessible fans in high-end NVIDIA graphics cards, but all that the Nouveau driver can do is launch the respective hwmon driver. The hwmon Linux interface currently doesn't let other kernel drivers access the I2C chip methods, but the Nouveau developers are working with the hwmon team to enable such support.

For now, this working fan management support is mostly about PWM fans. This should work for NVIDIA GPUs up to (but not including) the NVA3. The fan speed can be controlled via the sysfs interface. The Nouveau kernel driver supports disabling fan management (the fan runs at 100% continuously), manual fan management, automatic fan management, linear fan management, or even thermal management to target a particular GPU temperature.

On top of the fan management call for testing, Martin also says that soon he will have some power management code ready for testing! Another long sought after Nouveau feature. Hopefully this comes with GeForce 400/500 "Fermi" re-clocking support and I will be happy.

See this mailing list message to find out how to test the Nouveau fan management support. With a bit of luck we could see this support land in the Linux 3.2 kernel.

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. Wayland's Weston Gets Output Scaling Support
  2. Raspberry Pi Gets New Wayland Weston Renderer
  3. Debian GNU/Hurd 2013 Release Brings New Packages
  4. Intel Ultrabook Performance Is Faster With Mesa 9.2
  5. Hot Relocation HDD To SSD Support For Btrfs
  6. Phoronix Test Suite 4.6.0 "Utsira" Released
  7. New Intel X.Org Driver Supports All Of Haswell
  8. SQLite Now Faster With Memory Mapped I/O
  9. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  10. Qt For Tizen Launches, Based On Qt 5.1
  11. KTAP Released For Linux Kernel Dynamic Tracing
Latest Forum Talk
  1. Microsoft Releases Skype For Linux 4.2, Has...
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. What Would You Like To See Next?
  4. Linux 3.10 Kernel Integrates BCache HDD/SSD...
  5. Hot Relocation HDD To SSD Support For Btrfs
  6. Wayland's Weston Gets Output Scaling Support
  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