kevinlekiller / nvidia-control-linux

Bash script to control clock speed, memory speed, power limit, user defined automatic fan control, LED brightness and power state for Nvidia graphics cards on Linux. (allows overcloking / undercloking)
GNU General Public License v2.0
21 stars 3 forks source link

fan speed error #1

Open FlorinAndrei opened 6 years ago

FlorinAndrei commented 6 years ago

Running this command:

POWER=65 nvidia-control.sh

I get this error repeated over and over:

ERROR: Error assigning value 93 to attribute 'GPUTargetFanSpeed'
       (media:0[fan:0]) as specified in assignment
       '[fan:0]/GPUTargetFanSpeed=93' (Unknown Error).

Ubuntu 16.04

Titan X Pascal

driver version 370.28

EDIT: The custom power value is assigned just fine, by the way.

kevinlekiller commented 6 years ago

Hi @FlorinAndrei , sorry for the late reply, I think this error happens if you don't have the right "coolbits" applied to the GPU.

kevinlekiller commented 6 years ago

http://download.nvidia.com/XFree86/Linux-x86/387.12/README/xconfigoptions.html

If you search for "coolbits", you get a description of the various values you can use, 4 is the minimum for fan speed control.

kevinlekiller commented 6 years ago

You can also combine multiple bits to enable multiple features, the arch wiki has some info on this: https://wiki.archlinux.org/index.php/NVIDIA/Tips_and_tricks#Enabling_overclocking

kevinlekiller commented 6 years ago

You can set this at runtime like this (first line applies if you have more than 1 gpu):


nvidia-xconfig --enable-all-gpus
nvidia-xconfig --cool-bits=4

Source: https://devtalk.nvidia.com/default/topic/1003810/linux/adjust-nvidia-gpu-fan-speed-multiple-gpus-one-monitor-/post/5136398/#5136398