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
LPT: Controlling case fans based on GPU temp. Fan control Linux equivalent.
https://wiki.archlinux.org/title/Fan_speed_control#Fancontrol_(lm-sensors) More on reddit.com
🌐 r/linux_gaming
24
105
November 23, 2024
🌐
ArchWiki
wiki.archlinux.org › title › Fan_speed_control
Fan speed control - ArchWiki
1 week 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 › andyljones › coolgpus
GitHub - andyljones/coolgpus: GPU fan control for headless Linux · GitHub
This script lets you set a custom GPU fan curve on a headless Linux server.
Starred by 349 users
Forked by 46 users
Languages   Python
🌐
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
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
Fan Curve Control Script for Nvidia GPUs on Linux. Contribute to vandabbin/nvidia-fan-control-linux development by creating an account on GitHub.
Starred by 43 users
Forked by 8 users
Languages   Shell 96.6% | Makefile 3.4%
🌐
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
🌐
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:
🌐
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:
🌐
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...

🌐
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/
🌐
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 is a file” ideology, the amdgpu driver exposes a bunch of monitoring and control endpoints via special files at /sys/class/drm/card0/device/. You can read a file like /sys/class/drm/card0/device/hwmon/hwmon0/temp1_input to find out the GPU’s current temperature ...
🌐
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 and liquidctl to access and control supported hardware, including Thinkpads, some ASUS and HP laptops, 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.
🌐
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....
🌐
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/
🌐
Reddit
reddit.com › r/linux_gaming › lpt: controlling case fans based on gpu temp. fan control linux equivalent.
r/linux_gaming on Reddit: LPT: Controlling case fans based on GPU temp. Fan control Linux equivalent.
November 23, 2024 -

I loved the Fan Control windows app, that lets you set curves for case fans based on the GPU temperature instead of CPU, and was sad that no such thing with GUI exists for Linux.

Today however I stumbed upon a reply somewhere on reddit that such a thing actually exists, and I wanted to share it in case someone wants to use it too and like me hasn't found it yet.

It is called CoolerControl, and here is a gitlab link to it:

https://gitlab.com/coolercontrol/coolercontrol

If you are using Arch, or Arch derived os it is as simple as installing it from AUR and enabling the service. Don't have any experience with setting it up from other distros.

🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › software & applications
(Solved) Changing my graphics card fan speed - Linux Mint Forums
September 27, 2024 - Some widely used monitoring sensors are not documented and Linux kernel devs rely on reverse engineering. Nevertheless, since you have a radeon card, you can try CoreCtrl (available in Software Manager). Of course what CoreCtrl can do depends on the backends it uses. There is another gui utility called Fancontrol (also in Software Manager).
🌐
Level1Techs
forum.level1techs.com › hardware hub › gpu
GPU fan speed Linux interface - GPU - Level1Techs Forums
November 1, 2021 - Is there a preferable way of setting GPU fan speed in Linux? I guess that there are many levels on which this can happen, so I want to ask first what are the caveats. I want to be able to control AMD GPU fan speed either with a simple config file, a profile or a fancy fan curve.