I’m using Manjaro Gnome kernel version 5.16.14.1, my graphics card is AMD ATI Radeon RX 6700 XT and i’m using the standard amdgpu driver.
Couple of months ago my GPU fan speed started showing as 0 rpm on lm-sensors. I also dual boot to pop!_os and the fan speed seems to be working fine, the kernel version is 5.16.11-76051611-generic.
I know the fan is working, because when I adjust the fan speed on corectrl you can hear the fan increasing or decreasing, I just can’t see what speed the fan is running at.
What is your purpose ? i.e run lm_sensors/corectl or getting fans pwm running ?
At first look, its seems to not be compatible between corectl and fancontrol from lm_sensors here.
If you want to get your fans working and nothing all, try amdfan of mcgillij available in AUR. Follow instructions
for installation and will work fine.
If i’m not wrong amdfan extracts fan speed info from /sys/class/drm/card0/device/hwmon/hwmon2/fan1_input, so if the fan1_input is 0 amdfan will show 0, therefore it’s not a amdfan bug
I have no issue with my AMD RX 5700. I did not change the setting or did not install AMDGPU fan that was enabled by default in KDE. I am using Linux Kernel 5.16
In my case and then in my experience, my fans were working when I was booting my computer and after, nothing. It is a Gigabyte Radeon RX5500 XT 8Go.
And I don’t know why. I have search a lot on documentation, test a lot of times lm_sensors and I have found amdfan which has saved me and without any configuration. And since this time (mi-january), that works like a charm at around 35 C° and 1150 pwm/minutes.
Hum I remember I have used it in manual mode like automatic mode doesn’t work for me.
What did you get when you ran in a terminal amdfan ?
Hum let me come back to my other computer and find if possible my command lines.
If i’m not wrong amdfan extracts fan speed info from /sys/class/drm/card0/device/hwmon/hwmon2/fan1_input, so if the fan1_input is 0 amdfan will show 0, therefore it’s not a amdfan bug
lm_sensor use /sys/class/drm/card0/device/hwmon/hwmon2/fan1_input but not amdfan and that’s why that’s work.
Let me not the number of the thread and found my notes.
@Zesko
Not for me before using amdfan and at first look for ak2022. After yes like you.
@ak2022
Okay.I have finally found my notes and found my bash too. We are going to pass some commands in a terminal for seing why it doesn’t work for you.
pacman -Qi amdfan
systemctl status amdfan
Normally you should get that:
pacman -Qi amdfan
Nom : amdfan
Version : 0.1.17-1
Description : Python daemon for controlling the fans on amdgpu cards
Architecture : any
URL : https://github.com/mcgillij/amdfan
Licences : GPL2
Groupes : --
Fournit : --
Dépend de : python python-yaml python-numpy python-rich python-click
Dépendances opt. : --
Requis par : --
Optionnel pour : --
Est en conflit avec : --
Remplace : --
Taille installée : 32,47 KiB
Paqueteur : Unknown Packager
Compilé le : sam. 05 mars 2022 20:25:38
Installé le : sam. 05 mars 2022 20:33:09
Motif d’installation : Explicitement installé
Script d’installation : Non
Validé par : --
[olivier@thorielle ~]$ systemctl status amdfan
● amdfan.service - amdfan controller
Loaded: loaded (/usr/lib/systemd/system/amdfan.service; enabled; vendor preset: disabled)
Active: active (running) since Fri 2022-03-18 19:45:04 CET; 12min ago
Main PID: 555 (amdfan)
Tasks: 1 (limit: 38405)
Memory: 57.2M
CPU: 294ms
CGroup: /system.slice/amdfan.service
└─555 /usr/bin/python /usr/bin/amdfan --daemon
mars 18 19:45:04 thorielle systemd[1]: Started amdfan controller.
mars 18 19:45:06 thorielle amdfan[555]: [19:45:06] INFO Starting amdfan >
lines 1-12/12 (END)
The /sys/class/drm/card* is read by a lot of software like amdgpu, amdfan and lm_sensors because it is here that the system get some informations about your graphic card. And it is the same for hwmon .
Besides you can see all the options provided by this driver, just do in a terminal :
ls /sys/class/drm/card0/device/hwmon/hwmon*/
And if you want to know what number is your first graphic card :
ls /sys/class/drm/card0/device/hwmon/
And see values of the options for sample the fan1_input