I wanted to lock fans at 80% but in a slightly different manner. I've changed nothing in /sys/class/drm/. Just

readlink -f /sys/class/drm/card1/device

, where card1 is my amd videocard.

Thus I know the path to the file I want to change.

And after that:

sudo sh -c "echo '1' > /sys/devices/pci0000:00/0000:00:03.0/0000:06:00.0/hwmon/hwmon1/pwm1_enable"
sudo sh -c "echo '200' > /sys/devices/pci0000:00/0000:00:03.0/0000:06:00.0/hwmon/hwmon1/pwm1"

Works! Ubuntu kernel 5.4

Answer from alex on Stack Exchange
🌐
GitHub
github.com › DominiLux › amdgpu-pro-fans
GitHub - DominiLux/amdgpu-pro-fans: An alpha version written in bash script for the development of overall concepts for a c++ project I will be releasing soon as open source. · GitHub
It is a simple utility that allows you to set the fan speeds for AMD cards that support use the AMD GPU PRO driver. There are many features I will be adding to this over the coming days and weeks.
Starred by 117 users
Forked by 44 users
Languages   Shell
🌐
GitHub
github.com › boltronics › amdgpu-pro-fans
GitHub - boltronics/amdgpu-pro-fans: Set the fan speeds for AMD cards using the AMDGPU Pro "hybrid" driver stack.
amdgpu-pro-fans is a simple utility that allows you to set the fan speeds for AMD cards when the AMDGPU Pro driver stack is in use.
Author   boltronics
🌐
GitHub
github.com › int03h › amdgpu-pro-fans
GitHub - int03h/amdgpu-pro-fans: An alpha version written in bash script for the development of overall concepts for a c++ project I will be releasing soon as open source. · GitHub
It is a simple utility that allows you to set the fan speeds for AMD cards that support use the AMD GPU PRO driver. There are many features I will be adding to this over the coming days and weeks.
Author   int03h
🌐
GitHub
github.com › HelterBelter › amdgpu-pro-fans
GitHub - HelterBelter/amdgpu-pro-fans: An alpha version written in bash script for the development of overall concepts for a c++ project I will be releasing soon as open source. · GitHub
It is a simple utility that allows you to set the fan speeds for AMD cards that support use the AMD GPU PRO driver. There are many features I will be adding to this over the coming days and weeks.
Author   HelterBelter
🌐
GitHub
github.com › DominiLux › amdgpu-pro-fans › blob › master › README.md
amdgpu-pro-fans/README.md at master · DominiLux/amdgpu-pro-fans
It is a simple utility that allows you to set the fan speeds for AMD cards that support use the AMD GPU PRO driver. There are many features I will be adding to this over the coming days and weeks.
Author   DominiLux
🌐
Reddit
reddit.com › r/amd › temp and fan control with amdgpu-pro
r/Amd on Reddit: Temp and fan control with amdgpu-pro
October 19, 2017 -

I'm currently testing out a Vega 56 (PowerColor) under linux. I've installed the new 17.40 amdgpu-pro driver and things seem to be working fine apart from temperature control.

I've noted amdgpu-pro allows the temperature to rise to quite high levels, or higher than I would have thought is healthy. When I put load on the card, temperature rises to the 84-88 degree range but the fans was still far from 100%.

At one point, I left the computer for an hour only to come back and find that the fan had stopped(!?) and the card was extermely hot. After restarting the computer, the fans didn't start spinning (so I thought it was fried) and after leaving the system on for about a minute, I even heard a noice comming from it, as if something physically popped in there.

Amazingly enough, the card came back to life after cooling down for 20+ minutes, but this incident has left me wondering.

  1. How high can the temperature go without damaging the card?

  2. Is it possible to tell the software to be more agressive with the fans?

I'm greatful for any advice.

Top answer
1 of 2
3

One of the key things to consider when playing with the Vega is that the mem temp is almost more important than the core temp. Since mem is shared on the GPU die it is just as vulnerable to temp fluctuations. The card will throttle HARD if mem temp is high. This is key because you can run core temp at 70c and be baking the mem at 85+.

I used MSI afterburner for my OC. Seeing that mem temp allowed me to really fine tune at pull a 1650 actual OC, was set to 1680 in the software. I did the 64 bios flash. Undervolting is still key here to manage temps and throttling.

As far as temperature neither the GPU or mem should be passing 85c. I too had noticed issues with and software and the fans curve. I just established a custom curve in MSI and it has worked great since. I even set it to turn off the fan when not in use.

2 of 2
2

The fans won't usually hit 100% no matter what. Not with default fan control settings, anyway (even in Windows). The GPU will throttle before the fans are allowed to run above a certain level.

When you left the computer alone for an hour was it just idle? If so, the fans turned off because the GPU temperature was low enough (< 60C on most cards). Yes, that's hot, but it's not a problem. It could survive 20+ years at 60C.

The hum was probably just coil noise - those of us who water cool our cards are aware of that sound.

As for being able to control the fans in Linux, I believe that is supposed to be included with Kernel 4.15 if AMD gets their major driver infrastructure accepted into the mainstream kernel. You can find the branch and build the kernel yourself, I'd imagine, if you don't want to wait.

🌐
GitHub
github.com › DominiLux › amdgpu-pro-fans › blob › master › amdgpu-pro-fans.sh
amdgpu-pro-fans/amdgpu-pro-fans.sh at master · DominiLux/amdgpu-pro-fans
An alpha version written in bash script for the development of overall concepts for a c++ project I will be releasing soon as open source. - DominiLux/amdgpu-pro-fans
Author   DominiLux
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › hardware support › graphics cards & monitors
Fan control Radeon RX 470 - Linux Mint Forums
sudo apt install fancontrol https://linux.die.net/man/8/fancontrol Radeon Profile works perfectly and does everything I want. Thanks for the help guys. I can nicely create profiles to manage the fan. For the record i'm running AMDGPU-PRO drivers on kernel 4.8.5.
Find elsewhere
🌐
GitHub
github.com › chestm007 › amdgpu-fan
GitHub - chestm007/amdgpu-fan: Fan controller for AMD graphics cards running the amdgpu driver on Linux · GitHub
If you experience problems please create an issue. Install from the AUR using your favorite helper, or build manually as shown below: ... $ sudo amdgpu-fan Start the daemon with $ sudo systemctl start amdgpu-fan Make it with run at startup with $ sudo systemctl enable amdgpu-fan
Starred by 147 users
Forked by 41 users
Languages   Python 94.9% | Shell 5.1%
🌐
GitHub
github.com › Cftok-Main › amdgpu-powerlimit-amdgpu-fans
GitHub - Cftok-Main/amdgpu-powerlimit-amdgpu-fans
It is a simple utility that allows you to set the fan speeds for AMD cards that support use the AMD GPU PRO driver. There are many features I will be adding to this over the coming days and weeks.
Author   Cftok-Main
🌐
GitHub
github.com › DominiLux › amdgpu-pro-fans › issues › 9
Set fan speed per GPU · Issue #9 · DominiLux/amdgpu-pro-fans
Add feature to allow setting of setting each GPU's fan speed independently. (Some GPUs run hotter than others :) )
Author   DominiLux
🌐
GitHub
github.com › DominiLux › amdgpu-pro-fans › issues › 10
Fan speed keeps changing · Issue #10 · DominiLux/amdgpu-pro-fans
Some motherboards by default will have an automatic fan speed control (some brands will allow you to edit this controller) that will change the fan speeds of your PCI slot graphics card (generally non-expansion PCI card connections). I would check your bios and or motherboard manual to see if this is the reason why. Another thing is that it could be a driver setting. You won't likely see this setting in the Mesa drivers, but the AMDgpu drivers you may.
Author   DominiLux
🌐
Foldingathome
forum.foldingathome.org › board index › current software › v7.5.1 public release windows/linux/macos x [deprecated]
Setup Guide: Multi GPU Ubuntu Server AMD & nvidia - Folding Forum
@reboot /home/<user>/amdgpu-pro-fans/amdgpu-pro-fans.sh -s 80 nvidia Fan Control: This section is TBD. Currently the default fan control is keeping the rig at decent temps. I would like to come back to this to get the temps down a few degrees. It is important to balance power consumption for cooling vs.
🌐
GitHub
github.com › nhmanas › amdgpu-pro-fans-gui
GitHub - nhmanas/amdgpu-pro-fans-gui: GUI for amdgpu-pro-fans project
August 5, 2019 - This is a GUI for amdgpu-pro-fans project Original Project link: https://github.com/DominiLux/amdgpu-pro-fans
Author   nhmanas
🌐
GitHub
github.com › DominiLux › amdgpu-pro-fans › issues › 11
Fans doesen't spin · Issue #11 · DominiLux/amdgpu-pro-fans
June 29, 2017 - Hi, I'm on ubuntu 16.04 lst and i've a r9 fury but the fans doesen't spin i've used "sudo ./amdgpu-pro-fans.sh s 80" but nothings happened, in windows the videocard works ...
Author   DominiLux
🌐
GitHub
github.com › sysdrum › amdgpu-simple-settings-tool
GitHub - sysdrum/amdgpu-simple-settings-tool: This is now a beta release written in bash script for amdgpu open and pro. A GUI is being built. · GitHub
May 20, 2023 - This utility suite allows you to fine tune your fan curve and check thermals for AMD cards that support both the AMDGPU Open and AMD GPU PRO driver.
Author   sysdrum
🌐
GitHub
github.com › DominiLux › amdgpu-pro-fans › issues › 14
Error: Unable To Determine Maximum Fan Speed For Card0! · Issue #14 · DominiLux/amdgpu-pro-fans
January 17, 2018 - so i have been using this on my other rx580 with no problems. tried setting fan speeds on a system with 2 r9 295x2 and i keep getting the following errors. head: cannot open '/sys/class/drm/card0/device/hwmon/hwmon0/pwm1_max' for reading: No such file or directory ./amdgpu-pro-fans.sh: line ...
Author   DominiLux
🌐
BitcoinTalk
bitcointalk.org › index.php
NEW UTILITY FOR AMD GPU PRO SET FAN SPEEDS
Bitcoin Forum > Alternate cryptocurrencies > Mining (Altcoins) > NEW UTILITY FOR AMD GPU PRO SET FAN SPEEDS