Cannot detect fans. Lenovo Legion

Hi all,

The system does not show fans working for AMD GPU. I have tried many things and stuck now. I have read this topic as well Sensors-detect no fans

  1. sensors shows:
legion_hwmon-isa-0000
Adapter: ISA adapter
Fan 1:           2343 RPM  (max = 10000 RPM)
Fan 2:           2366 RPM  (max = 10000 RPM)
CPU Temperature:  +74.0°C  
GPU Temperature:  +73.0°C  
IC Temperature:   +67.0°C  

amdgpu-pci-0300
Adapter: PCI adapter
vddgfx:        6.00 mV 
fan1:           0 RPM  (min =    0 RPM, max = 3800 RPM)
edge:         +72.0°C  (crit = +100.0°C, hyst = -273.1°C)
                       (emerg = +105.0°C)
junction:     +74.0°C  (crit = +100.0°C, hyst = -273.1°C)
                       (emerg = +105.0°C)
mem:          +82.0°C  (crit = +105.0°C, hyst = -273.1°C)
                       (emerg = +110.0°C)
PPT:          34.00 W  (cap = 140.00 W)

nvme-pci-0400
Adapter: PCI adapter
Composite:    +54.9°C  (low  = -273.1°C, high = +81.8°C)
                       (crit = +84.8°C)
Sensor 1:     +54.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +61.9°C  (low  = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +74.0°C 

I have installed LACT and it shows 0 RPM

I tried to install GitHub - johnfanv2/LenovoLegionLinux: Driver and tools for controlling Lenovo Legion laptops in Linux including fan control and power mode., the build fails, so I tried installing packages:

I am not sure if I installed too much of this or what to do next. But if I try to run games or do video editing the temperatures goes high

But legion_hwmon-isa-0000 sensors started showing after I installed LenovoLegionLinux packages.

Before I got:

sensors                                                                                                                                     ✔  20:30:32  
spd5118-i2c-24-50
Adapter: SMBus PIIX4 adapter port 0 at 0b00
temp1:        +60.5°C  (low  =  +0.0°C, high = +55.0°C)  ALARM (HIGH)
                       (crit low =  +0.0°C, crit = +85.0°C)

amdgpu-pci-3700
Adapter: PCI adapter
vddgfx:      695.00 mV 
vddnb:         1.04 V  
edge:         +67.0°C  
PPT:          42.04 W  

mt7921_phy0-pci-0500
Adapter: PCI adapter
temp1:        +58.0°C  

nvme-pci-0700
Adapter: PCI adapter
Composite:    +53.9°C  (low  = -273.1°C, high = +75.8°C)
                       (crit = +86.8°C)
Sensor 1:     +53.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +50.9°C  (low  = -273.1°C, high = +65261.8°C)

BAT0-acpi-0
Adapter: ACPI interface
in0:          16.57 V  
power1:        0.00 W  

spd5118-i2c-24-51
Adapter: SMBus PIIX4 adapter port 0 at 0b00
temp1:        +57.8°C  (low  =  +0.0°C, high = +55.0°C)  ALARM (HIGH)
                       (crit low =  +0.0°C, crit = +85.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +69.0°C  

amdgpu-pci-0300
Adapter: PCI adapter
vddgfx:        6.00 mV 
fan1:           0 RPM  (min =    0 RPM, max = 3800 RPM)
edge:         +67.0°C  (crit = +100.0°C, hyst = -273.1°C)
                       (emerg = +105.0°C)
junction:     +68.0°C  (crit = +100.0°C, hyst = -273.1°C)
                       (emerg = +105.0°C)
mem:          +78.0°C  (crit = +105.0°C, hyst = -273.1°C)
                       (emerg = +110.0°C)
PPT:          33.00 W  (cap = 140.00 W)

nvme-pci-0400
Adapter: PCI adapter
Composite:    +50.9°C  (low  = -273.1°C, high = +81.8°C)
                       (crit = +84.8°C)
Sensor 1:     +50.9°C  (low  = -273.1°C, high = +65261.8°C)
Sensor 2:     +57.9°C  (low  = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +69.0°C  

And you can hear the fan spinning? It’s just that rpm shows 0?

I’d report a bug upstream, probably here: https://gitlab.freedesktop.org/drm/amd