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. Samsung 850 EVO SSD Linux Benchmarks
  2. Kubuntu 15.04 Is Turning Out Quite Nice, Good Way To Try Out The Latest KDE
  3. 5-Way Linux Distribution Comparison On The Core i3 NUC
  4. OCZ ARC 100 Linux SSD Benchmarks
  5. Lenovo ThinkPad X1 Carbon Works Great As A Linux Ultrabook
  6. Transcend SSD370 256GB
Latest Linux News
  1. Kdenlive Ported To Qt5/KF5, Coming To KDE Applications 15.04
  2. HTC & Valve Partnered Up For The Steam VR Headset
  3. 8cc: A Small C11 Compiler
  4. Not Everyone Likes The Possible "VULKAN" Name For Next-Gen OpenGL
  5. The Binary Blobs Making Up Coreboot
  6. Linux 4.0 & LLVM vs. GCC Yielded Much Interest This Month
  7. XBMC/Kodi 15.0 Alpha 1 Released
  8. Xfce 4.12 Released After Nearly Three Years Of Work
  9. The Khronos Group Filed A Trademark On "Vulkan" API
  10. Mozilla Thunderbird Adoption Climbs, Thunderbird 38 In May
Most Viewed News This Week
  1. Linux 4.0-RC1 Tagged, Linux 4.0 Will Bring Many Notable Improvements
  2. Screenshots Of The GNOME 3.16 Changes
  3. More Proof That Allwinner Is Violating The GPL
  4. The Tremendous Features Of Fedora 22
  5. Krita 2.9 Released, Their Biggest Release Ever
  6. Linux 4.0 Doesn't Have The Weirdest Codename
  7. A Single UEFI Executable With The Linux Kernel, Initrd & Command Line
  8. Canonical Comes Up With Its Own FUSE Filesystem For Linux Containers
%%CLICK_URL_UNESC%%