Bug 202019 - amdgpu: fan speed reported incorrectly when the fan is off
Summary: amdgpu: fan speed reported incorrectly when the fan is off
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P1 low
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-18 11:11 UTC by Aleksandr Mezin
Modified: 2019-05-11 13:34 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.20-rc7
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Aleksandr Mezin 2018-12-18 11:11:04 UTC
I have a card with semi-passive cooling (Sapphire RX Vega 64 Nitro+)
When the fan turns off, non-zero speed is still reported through hwmon fan1_input.
If I'm not mistaken, the same problem was present with my previous card - Sapphire RX 580 Pulse (so I guess it's the same for all cards).

On Windows zero rpm was correctly reported for both cards, of course.
Comment 1 Felix Schwarz 2018-12-18 11:46:25 UTC
Probably a silly question but still: Did you confirm (visually) that the fans are actually turned off? AFAIK on Windows there is extra software running which turns of the fans when the GPU temperature is below a certain threshold. IIRC you need third-party scripts to achieve the same.
Comment 2 Felix Schwarz 2018-12-18 11:47:06 UTC
Oh and probably AMD developers would like to know which kernel version you are using.
Comment 3 Aleksandr Mezin 2018-12-18 12:19:51 UTC
(In reply to Felix Schwarz from comment #1)
> Probably a silly question but still: Did you confirm (visually) that the
> fans are actually turned off? 

Yes

> AFAIK on Windows there is extra software
> running which turns of the fans when the GPU temperature is below a certain
> threshold. IIRC you need third-party scripts to achieve the same.

On Windows I have no additional software, only AMD driver (downloaded from amd.com, not modded by Sapphire or anything).

Actually, I have my own script that controls fans on Linux (because there's no sysfs knobs to tweak the "automatic" fan curve), it just checks the temperature every second and writes desired fan speed to hwmon/pwm1. I tried to manually write '0' to pwm1 (with pwm1_enable set to '1') - exactly the same bug - fan1_input stops changing (when the fan is actually spinning, fan speed is always slightly changing, +/- few rpms), but doesn't show "0" (and, again, the fans are actually stopped)

This problem occurs with both "pwm1_enable=2" and "pwm1_enable=1, pwm1=0"
Comment 4 Aleksandr Mezin 2018-12-18 12:21:25 UTC
(In reply to Felix Schwarz from comment #2)
> Oh and probably AMD developers would like to know which kernel version you
> are using.

It's here, in "Kernel Version" field in bugzilla. 4.20-rc7

Note You need to log in before you can comment on or make changes to this bug.