management of the rotational speed of a computer fan
Computer fan control - Wikipedia
Fan control is the management of the rotational speed of an electric fan. In computers, various types of computer fans are used to provide adequate cooling, and different fan control mechanisms balance … Wikipedia
🌐
Reddit
reddit.com › r/linux_gaming › heya, need a good way to control fan curve on linux - nvidia
r/linux_gaming on Reddit: Heya, need a good way to control fan curve on Linux - NVIDIA
February 26, 2024 -

So, let me summarize to a lot of you.

my GPU is a 1660 Super, and since NVIDIA has a lot of problems on Linux I tend to try and find solutions and alternatives, but nothing seems to get to fix it.

I want to set a fan curve for my GPU, and Green With Envy sadly seems to just never work.

Even after setting the optimal settings, and enabling coolbits, it still refuses to work no matter what. If there is some kind of way to control fans for GPU fans on Linux, I would be very glad and it would help me a lot.

NVIDIA in general is still awful on Linux from my point of view, but i'm hoping those kinds of things will improve in the future.

🌐
GitHub
github.com › foucault › nvfancontrol
GitHub - foucault/nvfancontrol: NVidia dynamic fan control for Linux and Windows · GitHub
Nvfancontrol provides dynamic fan control for NVidia graphic cards on Linux and Windows. Sometimes it is desirable to control the fan speed of the graphics card using a custom response curve instead of the automatic setting that is built into ...
Starred by 236 users
Forked by 19 users
Languages   Rust
Discussions

How to set fanspeed in Linux from terminal
Hi, New here, and I’m sure I have this post in the wrong thread, as I couldn’t find where it would fit. I’m just trying to find help on how to manually set my fan speed on my Nvidia GPU. the command: nvidia-settings -a “[gpu:0]/GPUFanControlState=1” -a “[fan:0]/GPUCurrentFanSpeed=n” ... More on forums.developer.nvidia.com
🌐 forums.developer.nvidia.com
19
3
April 8, 2019
The Simplest Way to Control Nvidia GPU Fan Speed in Linux
Stupidest? Definitely · What one really wants is a target temperature. There are two pieces I'd use here: More on news.ycombinator.com
🌐 news.ycombinator.com
6
12
June 28, 2024
Controlling fan speed of AMD gpu

You'll want to be installing Radeon Profile.

It seems to be the best tool for undervolting/overclocking/fan control of AMD cards. It's certainly the best I have used.

It operates in two parts. There is a system daemon running in the background, and a front end GUI that connects to it.

Update: I just went back and had another look at Corectrl as well, and it is pretty simple to set up fan curves in it as well (just go to the Profiles section). You won't go far wrong with either.

More on reddit.com
🌐 r/linux_gaming
12
11
July 17, 2020
Controling amdgpu fan speed
I hope I can get some help here. I jumped to the AMD team recently and decided to buy an AMD Radeon RX 7600. My problem is that I tried to control the fan speeds, because the fans don’t start working until it reaches 60 degrees Celsius. I tried several software options, but none of them worked. More on discussion.fedoraproject.org
🌐 discussion.fedoraproject.org
14
0
June 23, 2024
🌐
ArchWiki
wiki.archlinux.org › title › Fan_speed_control
Fan speed control - ArchWiki
5 days ago - This outputs GPU temperature in °C + three zeroes, e.g. 33000 for 33°C. The bash script amdgpu-fancontrol by grmat offers a fully automatic fan control by using the described sysfs hwmon functionality.
🌐
NVIDIA Developer Forums
forums.developer.nvidia.com › accelerated computing › cuda › cuda programming and performance
How to set fanspeed in Linux from terminal - CUDA Programming and Performance - NVIDIA Developer Forums
April 8, 2019 - I’m just trying to find help on how to manually set my fan speed on my Nvidia GPU. the command: nvidia-settings -a “[gpu:0]/GPUFanControlState=1” -a “[fan:0]/GPUCurrentFanSpeed=n” ...
Top answer
1 of 10
26

In the terminal run:

sudo nvidia-xconfig
sudo nvidia-xconfig --cool-bits=4

restart your computer and search for NVIDIA X Server Settings in the Dash. There should be an option to change fan speed under Thermal Settings.

2 of 10
8

To control Nvidia GPU fan speed via Terminal on Linux Mint 20 with a 1070 Ti:

sudo nvidia-xconfig --cool-bits=4

to tell nvidia-xconfig to allow the fan to be controlled in the command line. You may need to reboot here.

nvidia-smi

Gives information about the GPU(s) and their numbers. Importantly I note that my 1070 Ti is GPU 0.

nvidia-settings -a "[gpu:0]/GPUFanControlState=1" -a "[fan:0]/GPUTargetFanSpeed=55"

For a much more detailed overview of this feature including multiple GPU fans, check out this thorough documentation Nvidia Overclocking and Cooling

For a somewhat rambling and wayward thread which lead me to the above link, check out Set Fanspeed in Linux from Terminal

==================END OF ANSWER==================

And as an extra tidbit not asked for in this question, you can also adjust the power output of your Nvidia GPU with:

sudo nvidia-smi -i 0 -pl 90

Where the 0 is my GPU number, and the 90 is the maximum power in watts. If you set this too low, you will get an error. In my limited experience, setting it too high had no effect. I found I can get 95%+ performance for ~75% energy cost by setting the power level to 100 in the above command in my mining rig, but I imagine other power conscious users would appreciate this too.

🌐
GitHub
github.com › KristianHolsheimer › nvidia-fan-controller
GitHub - KristianHolsheimer/nvidia-fan-controller: Nvidia GPU Fan Controller for linux · GitHub
Nvidia GPU Fan Controller for linux. Contribute to KristianHolsheimer/nvidia-fan-controller development by creating an account on GitHub.
Starred by 15 users
Forked by 9 users
Languages   Python
🌐
Medium
medium.com › carre4 › nvidia-fan-controller-for-linux-diy-2b6173176c8f
NVIDIA Fan Controller For Linux(DIY) | by Sabin Sharma | CARRE4 | Medium
May 4, 2021 - awful.spawn.with_shell("nvidia-settings -a '[fan]/GPUTargetFanSpeed=85'") Or if you are not like me using window manager then you could save your time by using GUI. In the following step I will guide you through all the installation process. Step 1: Clone or Download file from the link nvidia-fan-control-gui-linux
Find elsewhere
🌐
GitHub
github.com › vandabbin › nvidia-fan-control-linux
GitHub - vandabbin/nvidia-fan-control-linux: Fan Curve Control Script for Nvidia GPUs on Linux · GitHub
This script allows directly setting fan speed on Nvidia GPUs either manually or with a "fan curve". Supports Day and Night fan curves · While the default fan curve settings will work, you may want to customize them to meet your needs or preferences. Add a line to cron like this to enable automatic fan control...
Starred by 43 users
Forked by 8 users
Languages   Shell 96.6% | Makefile 3.4%
🌐
Hacker News
news.ycombinator.com › item
The Simplest Way to Control Nvidia GPU Fan Speed in Linux | Hacker News
June 28, 2024 - Stupidest? Definitely · What one really wants is a target temperature. There are two pieces I'd use here:
🌐
GitHub
github.com › andyljones › coolgpus
GitHub - andyljones/coolgpus: GPU fan control for headless Linux · GitHub
It does not work on partially-headless servers, where some of the GPUs have displays and some don't · pip install coolgpus sudo $(which coolgpus) --speed 99 99 · If you hear your server take off, it works! Now interrupt it and re-run either with Sensible Defaults (TM), ... This will make the fan speed increase linearly from 15% at <17C to 99% at >84C.
Starred by 349 users
Forked by 46 users
Languages   Python
🌐
CloseX
blog.closex.org › posts › 26a7c6ee
The Simplest Linux NVIDIA GPU Fan Speed Control Tutorial | CloseX
July 29, 2024 - 如果您的 Linux 服务器或电脑配备了 NVIDIA GPU,并且需要通过 SSH 调整其风扇速度,而不需要图形界面,那么这是达到目标的最简单方法。无论您是想减少噪音、提高效率,还是简单地保持硬件冷却,本指南将帮助您快速入门。 · (不需要 GUI,只需要 SSH)(也许是最简单的方法) · 脚本地址: https://github.com/RoversX/nvidia_fan_control_linux/
🌐
Techticity
techticity.com › howto › how-to-control-nvidia-graphics-card-fan-speed-in-linux
How to control Nvidia graphics card Fan Speed Automatically in Linux – Techticity
September 19, 2018 - The reference sheet is available at http://download.nvidia.com/XFree86/Linux-… But it’s recommended to keep it at 28 to enable all the features. After this, a reboot or a logout is required to apply the changes. After the reboot/login, open the NVIDIA X Server Settings application · Go to the ‘Thermal Settings’ section and you can control the fan speed by your own hands:
🌐
Zarino
zarino.co.uk › post › amd-gpu-fan-curve-pop-os-ubuntu
Controlling the fan curve of an AMD GPU on Pop!_OS (or other Ubuntu-like operating systems)
April 23, 2020 - Following Unix’s “everything ... temperature (in millidegrees Celsius, eg: 51000 for 51°C), and you can write a number to a file like /sys/class/drm/card0/device/hwmon/hwmon0/pwm1 to set the fan speed (as an 8-bit binary number, so 0 for fans completely off, up to 255 for ...
🌐
UbuntuHandbook
ubuntuhandbook.org › home › howtos › control gpu/cpu fan speed with coolercontrol in ubuntu 24.04
Control GPU/CPU Fan Speed with CoolerControl in Ubuntu 24.04 | UbuntuHandbook
It depends on Hwmon kernel drivers ... as well as most NVIDIA and AMD GPUs. ... With CoolerControl, you can monitor the temperatures of your CPU, GPU, hard disk, etc devices in graphs, and set fan to either fixed or dynamic speed....
🌐
Reddit
reddit.com › r/linux_gaming › controlling fan speed of amd gpu
r/linux_gaming on Reddit: Controlling fan speed of AMD gpu
July 17, 2020 -

Hi Folks,

I am very new to Linux and try to control my gpu fan speed like I do with Afterburner on Windows.

I installed fancontrol and lm-sensors via the terminal and used "sudo pmwconfig", but am unsure how to proceed.

I get:

"This program will search your sensors for pulse width modulation (pwm)

controls, and test each one to see if it controls a fan on

your motherboard. Note that many motherboards do not have pwm

circuitry installed, even if your sensor chip supports pwm.

We will attempt to briefly stop each fan using the pwm controls.

The program will attempt to restore each fan to full speed

after testing. However, it is ** very important ** that you

physically verify that the fans have been to full speed

after the program has completed.

Found the following devices:

hwmon0 is k10temp

hwmon1 is asus

hwmon2 is amdgpu

Found the following PWM controls:

hwmon2/pwm1 current value: 104

hwmon2/pwm1 is currently setup for automatic speed control.

In general, automatic mode is preferred over manual mode, as

it is more efficient and it reacts faster. Are you sure that

you want to setup this output for manual control? (n)"

How do I now actually create a speed curve for hwmon2? Does the system know which temp sensor belongs to hwmon2?

- I don't want to proceed without a plan, fearing I deactivate the automatic mode and can't compensate it. I read that at some point a config is created, which (for the gpu fan) would be nice

- i don't want to interfere with the cpu fans, as I control them via BIOS and am very happy with it

Thank you very much!

Edit: I just noticed this sub may be not perfectly fitting for this kind of question, sorry. This happens me all the time...

🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › beginner questions
How can i control my Nvidia gpu fans? - Linux Mint Forums
May 1, 2021 - It's a bit messy, you can use the software i mention also (GWE) but you can also just use the default Nvidia software with that 'cool-bits=4' tweak to have manual control of your GPU fan. ... Here is a tutorial similar to what's mentioned above https://www.iodocs.com/how-to-enable-gp ... -in-linux/
🌐
GamingOnLinux
gamingonlinux.com › 2025 › 05 › linux-gpu-control-application-lact-gets-a-new-fan-control-ui-automatic-fan-mode-threshold-on-nvidia
Linux GPU Control Application (LACT) gets a new fan control UI, automatic fan mode threshold on Nvidia | GamingOnLinux
May 13, 2025 - Linux GPU Control Application (LACT) is a wonderful open source app that allows you to tweak various settings for your GPU on Linux. The latest update brings some great new features, like the new fan control UI.
🌐
Medium
medium.com › @s1ddok › control-your-gpu-fan-speeds-while-connecting-to-your-machine-via-ssh-e01895b8909e
Control your GPU fan speeds while connecting to your machine via SSH | by Andrey Volodin | Medium
October 14, 2022 - NVIDIA has nvidia-settings console app which technically allows you to set any GPU settings using terminal. I started googling on how to set the fan speed for individual GPU using that. First of all, you have to set a bitmask that will allow controlling cooling settings:
🌐
nixCraft
cyberciti.biz › nixcraft › howto › centos › how to find fan speed in linux for cpu and gpu
How to find fan speed in Linux for CPU and GPU - nixCraft
September 12, 2024 - The procedure to find fan speed ... by running sudo sensors-detect command. ... Finally, run sensors command in Linux to see CPU and GPU temperature, including fan speed....
🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
Controling amdgpu fan speed - Fedora Discussion
June 23, 2024 - I hope I can get some help here. I jumped to the AMD team recently and decided to buy an AMD Radeon RX 7600. My problem is that I tried to control the fan speeds, because the fans don’t start working until it reaches 60 degrees Celsius. I tried several software options, but none of them worked.