Thursday, August 20, 2015

Ubuntu 14.04: Manual fan control for NVIDIA GeForce

You have to enable it manually in xorg.conf (sudo nvidia-xconfig to create one) and then

sudo nano /etc/X11/xorg.conf

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "Coolbits" "8" 
EndSection

Option "Coolbits" "4" does the trick, you have to restart X (sudo service lightdm restart).

Combining with http://sgsai.blogspot.com/2015/05/ubuntu-1404-x-server-without-connected.html, we can manually control the fan without real monitor attached to that GPU.
and:  http://sgsai.blogspot.com/2015/09/nvidia-gpu-coolness.html

Or we can config a screen connected to 2nd monitors in xorg.conf, while that monitor is actually linked to 1st GPU physically (To fool the nvidia-settings ?).


The Coolbits value is the sum of its component bits in the binary numeral system. The component bits are:
1 (bit 0) - Enables overclocking of older (pre-Fermi) cores on the Clock Frequencies page in nvidia-settings.
2 (bit 1) - When this bit is set, the driver will "attempt to initialize SLI when using GPUs with different amounts of video memory".
4 (bit 2) - Enables manual configuration of GPU fan speed on the Thermal Monitor page in nvidia-settings.
8 (bit 3) - Enables overclocking of Fermi and newer cores on the PowerMizer page in nvidia-settings. Available since version 337.12.

12 = 4 + 8
16 (bit 4) - Enables overvoltage of Fermi and newer cores using nvidia-settings CLI options. Available since version 346.16.

To enable multiple features, add the Coolbits values together. For example, to enable overclocking and overvoltage of Fermi cores, set Option "Coolbits" "24".

No comments:

Post a Comment