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

Nouveau Reclocking: Buggy, But Can Boost Performance

Michael Larabel

Published on 30 January 2012
Written by Michael Larabel
Page 1 of 6 - 23 Comments

Over the weekend I shared that the Nouveau driver project, which seeks to provide an open-source NVIDIA graphics driver for Linux and other platforms via reverse-engineering, hit a major milestone. The Nouveau driver now supports re-clocking for several generations of NVIDIA GeForce hardware, which allows the open-source driver to put the graphics cards at their properly designed operating frequencies for maximum performance. This can result in the Nouveau driver performing much better against the official closed-source NVIDIA graphics driver, but the support is still very experimental. Initial testing over the weekend found this support to perform well when it works, but that overall it is still very buggy.

As said in the earlier re-clocking article, this work hit the Nouveau DRM Git tree last week and will be queued up for the Linux 3.4 kernel in a few months. This re-clocking support is for "NV50" class hardware, which is from the GeForce 8 series through the GeForce 300 series, inclusive. The re-clocking support for the modern NVIDIA GeForce 400/500 "Fermi" series is still a work-in-progress and not currently available. What this new code allows for the NV50 hardware is to properly change the GPU core, graphics memory, and shader clock speeds in real-time along with the memory timings, voltage, and fan speed (though the power management itself is still premature and if manipulating the clocks it will just force the fan(s) to run at 100% speed).

Even if pulling down this latest Nouveau kernel code right now, re-clocking will not be activated by default. Until the support is considered safe and stable, you must first boot your system with the "nouveau.perflvl_wr=7777" kernel module parameter. When the system is then booted, by default it is still running at the frequencies that the graphics card was set at when booting. To change the performance level, you must then write the performance level number to "/sys/class/drm/card0/device/performance_level." The performance levels and their given performance attributes can be found by examining the "/sys/class/drm/card0/device/performance_level_*" files or by looking at the Nouveau output within the kernel dmesg. If all went well, after re-clocking the graphics card, "/sys/class/drm/card0/device/performance_level" should reflect the new performance level information.

That is at least how the support is designed and should work in theory when taking advantage of this new feature. Unlike the Radeon driver and its "dynpm" power management support, there is not an option within the Nouveau driver right now for dynamically switching between performance levels / frequencies based upon the current workload of the GPU. However, the Nouveau driver does at least support separate performance levels to be set for when running on AC and battery power, for those with mobile NVIDIA GeForce/Quadro graphics hardware. Another limitation of this first-cut support is that if using multiple monitors you are forced to run in the highest power state or if your desktop resolution exceeds 1920 x 1200, this is to workaround complexities in re-clocking where scanning out from the video memory is more difficult to do in an effective manner.

Latest Articles & Reviews
  1. Ubuntu 15.04 Is The Easy Path To Better Performance On Intel Broadwell
  2. NVIDIA's Latest Maxwell Line-Up Against AMD With Catalyst On Linux
  3. Preliminary Tests Of Intel Sandy Bridge & Ivy Bridge vs. Broadwell
  4. AMD FX-8320E Performance On Linux
  5. Linux Compiler Benchmarks Of LLVM Clang 3.5 vs. LLVM Clang 3.6-rc1
  6. Intel Broadwell HD Graphics 5500: Windows 8.1 vs. Linux
Latest Linux News
  1. DNF Plugins Extend The Functionality Of Fedora's Yum Successor
  2. LibreOffice 4.4 Released With Better OOXML Support, UI Improvements
  3. Inkscape 0.91 Goes Through C++ Code Conversion, New Cairo Rendering, OpenMP Filters
  4. New Mesa Patch To Improve CPU-Bound Applications
  5. LLVM Adds Options To Do Fuzz Testing
  6. Coreboot Now Supports Another Dual-Socket AMD Motherboard
  7. Atomic Mode-Setting/Display Support Progresses In Linux 3.20
  8. NVIDIA 340.76 Brings Three Stable Fixes
  9. Intel Broadwell-U P-State vs. ACPI CPUFreq Scaling Linux Performance
  10. DragonFlyBSD Is Almost To Linux 3.10 Era Intel Graphics Support
Most Viewed News This Week
  1. LibreOffice 4.4 Is Coming Soon With New Features
  2. My Initial Intel Broadwell Linux Experience With The ThinkPad X1 Carbon
  3. Broadwell Linux Ultrabook Running MUCH Cooler Than Haswell
  4. LZHAM 1.0 Lossless Data Compression Codec Released
  5. Linux Users Upset By Chromium's Busted HiDPI Support
  6. Interstellar Marines On Linux With Catalyst: Bull S*#@
  7. Faster VP9 Decoding Is On The Horizon
  8. Radeon DRM Changes For The Linux 3.20 Kernel