Yet Another Blog

April 27, 2011

nVidia PowerMizer on Linux

Filed under: computer, linux, Software — Tags: , , , , , , — guilleml @ 11:20 pm

Nvidia settings panel has a tab called powermizer where you can set a power policy. It will change Graphics Clock, Memory Clock and Processor Clock depending on the system graphics load.

First get what modes do your card and driver support:

nvidia-settings -q GPUPerfModes -t

perf=0, nvclock=50, memclock=135, processorclock=101 ; perf=1, nvclock=405, memclock=324, processorclock=810 ; perf=2, nvclock=405,
memclock=1800, processorclock=810 ; perf=3, nvclock=715, memclock=1800, processorclock=1430

I have 4 levels, 0, 1, 2 and 3. 0 is the one I want to set as it sets the clocks to the lower frequency.

If you want to set it to a powersave mode with no scaling you can do it by editing /etc/X11/xorg.conf like this:

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
Option  "Coolbits" "1"
 Option  "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3"
EndSection
 
"PowerMizerEnable=0x1;

enables PowerMizer feature (0×0 would disable it instead). This entry may not be needed since in recent driver versions PowerMizer is enabled by default.

PerfLevelSrc=0x2222;

sets the governor approach. 0×2222 means fixed frequencies for both battery and AC mode.

PowerMizerLevel=0x3;

sets the current mode. 0×3 is the lowest, least power intensive mode.

PowerMizerDefault=0x3;

sets the default level on battery. 0×3 is the lowest, least power intensive mode.

PowerMizerDefaultAC=0x3"

sets the default level while with an AC plug. 0×3 is the lowest, least power intensive mode.

Sources: http://linux.aldeby.org/nvidia-powermizer-powersaving.html

http://tutanhamon.com.ua/technovodstvo/NVIDIA-UNIX-driver/

About these ads

7 Comments »

  1. What would I change to make the card run at full speed constantly?

    Comment by scott — June 28, 2011 @ 1:14 am

    • You could disable Powemizer:
      PowerMizerEnable=0×0

      Or enable it and set fixed freqs to the minimum profile your card supports.

      Comment by guilleml — August 12, 2011 @ 10:01 am

  2. [...] this did [...]

    Pingback by nVidia Power Management » Harald's Random Stuff — March 5, 2012 @ 1:28 pm

  3. chika@asus:~$ nvidia-settings -q GPUPerfModes -t
    perf=0, nvclock=270, memclock=405, processorclock=540 ; perf=1, nvclock=740, memclock=800, processorclock=1480
    chika@asus:~$ cat /etc/X11/xorg.conf

    Section “Device”
    Identifier “Default Device”
    Option “NoLogo” “True”
    EndSection

    chika@asus:~$

    there is significant difference with your tutorial .. i want to overwhelming feature on linux because im not in gaming mode on linux

    Comment by Chika Tambun — April 18, 2012 @ 8:25 am

  4. Hi! Thanks for your informative post. Is there any way to change Powermizer modes on the fly? I’d preferably use the command line, for automation purposes.

    Comment by Alex — July 23, 2012 @ 4:23 pm

  5. Great blog here! Also your web site loads up very fast!
    What web host are you using? Can I get your affiliate link to your host?
    I wish my site loaded up as fast as yours lol

    Comment by small business funding report — December 13, 2012 @ 9:38 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Shocking Blue Green Theme. Create a free website or blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: