Bug 108323 - RX580 starts doing a constant noise after setting fans to a fixed value, then back to auto
Summary: RX580 starts doing a constant noise after setting fans to a fixed value, then...
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-11 04:01 UTC by bmilreu
Modified: 2019-11-19 08:58 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description bmilreu 2018-10-11 04:01:10 UTC
I'm using the sysfs API with those steps:


To switch to manual fan control from automatic, run
# echo "1" > /sys/class/drm/card0/device/hwmon/hwmon0/pwm1_enable

Set up fan speed to e.g. 50% (100% are 255 PWM cycles, thus calculate desired fan speed percentage by multiplying its value by 2.55):

# echo "128" > /sys/class/drm/card0/device/hwmon/hwmon0/pwm1
To reset to automatic fan control, run

# echo "2" > /sys/class/drm/card0/device/hwmon/hwmon0/pwm1_enable


My RX580 Nitro+ starts beeping a constant high pitched weird noise until I set it back to a fixed value or until reboot. It doesn't happen if start on auto, only after switching to a value then back to auto.
Comment 1 bmilreu 2018-10-18 06:49:18 UTC
Still present on kernels 4.18, 4.19 and 4.21-drm-next-wip
Comment 2 Christian Widmer 2018-10-23 11:59:25 UTC
This is most likely the same issue I encountered some time ago with my RX 580, which is also a Sapphire Nitro+ (Special Edition but that should not matter). I opened a bug report on the kernel bugzilla back then[1].

[1] https://bugzilla.kernel.org/show_bug.cgi?id=199979
Comment 3 bmilreu 2018-10-23 19:28:17 UTC
Yes, seems like the same issue. It would be useful to know if someone with a non-Sapphire RX580 has the same problem.
Comment 4 bmilreu 2018-10-31 20:14:08 UTC
Bug also triggers using the new sysfs API's fan1_target+fan1_enable on latest drm-next-4.21-wip
Comment 5 jpalaciosdev 2019-03-19 12:09:30 UTC
(In reply to bmilreu from comment #3)
> Yes, seems like the same issue. It would be useful to know if someone with a
> non-Sapphire RX580 has the same problem.

MSI RX 480 Gaming X is also affected.
Comment 6 Martin Peres 2019-11-19 08:58:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/554.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.