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.
Answer from waspinator on askubuntu.comIn 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.
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.
Fan speed in Ubuntu for 2080ti FE - GeForce Graphics Cards
Controlling Radeon GPU Fans on Ubuntu
How to control fan speed on ubuntu 23.04 server without screen?
GPU Fan speed control in Ubutu Server without "nvidia-setting"
Videos
Seems like you need to be able to create a custom fan curve. Try Corectrl, rather simple and has gui.
just image from internet but corectrl gui
Add PPA
sudo add-apt-repository ppa:ernstp/mesarcUpdate
sudo apt-get updateInstall Corectrl
sudo apt install -y corectrl
If you want to remove the package and the repository
sudo apt remove corectrl
sudo add-apt-repository --remove ppa:ernstp/mesarc
I can also recommend Radeon Profile, but I don’t think it has custom fan curve.
this is radeon profile
Add PPA
sudo add-apt-repository ppa:radeon-profile/stableUpdate
sudo apt-get updateInstall
sudo apt install -y radeon-profile
If you want to remove package and repository
sudo apt remove radeon-profile
sudo add-apt-repository --remove ppa:radeon-profile/stable
Edit: You can get gnome tweaks which is an extended settings package essentially. In it you will be able to set programs to launch at startup easily.
And yes you should also be able to set the fan curve to exactly the same as in windows if you want. I don't know if you can copy directly with a file or anything but just try to set the same fan curve and it will be fine.
You could try a program called LACT. It works really well with AMD GPUs, not so much with nVidia. Image to temperature curve is below.
Link to the program is here: https://github.com/ilya-zlobintsev/LACT

The fan speed on my graphics card has been locked at 0 no matter how hot the card gets, which is obviously a problem. For the life of me, I can't find a way to control the fan speed that works on my system.
Most of the programs I've seen rely on `lm-sensors`, which (on my system) works fine for temperature sensors, but doesn't detect most fan sensors, and says `There are no usable PWN outputs` when I run `sudo pwmconfig`.
I've seen other users have trouble because of the fglrx driver, but it looks like that's no longer supported (since Ubuntu 16). I've also seen some users get `Found unknown chip with ID 0x____` from `sudo sensors-detect`, which I also get, but their solutions haven't worked (changing grub config -> install it87 driver -> `modprobe it87`, but I can't seem to install the driver properly, and I can't even tell if it's supported by my chipset).
Potentially relevant info:
GPU: Radeon RX 7900XT
Mobo: Gigabyte x870 Eagle Wifi7
CPU: 7800X3D
Ubuntu Version: Ubuntu 24.04.2 LTS
Kernel Version: Linux 6.11.0-17-generic x86_64
Thanks in advance, please let me know if there's any more info I can give
I need to change my nvidia GPU fan curve but MSI afterburner apparently does not work on Linux. What do I do? Is there any alt apps?