From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97556] amdgpu fan behavior doesn't match windows Date: Thu, 24 Aug 2017 08:25:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1089159325==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id AEED86E0D1 for ; Thu, 24 Aug 2017 08:25:51 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1089159325== Content-Type: multipart/alternative; boundary="15035631510.D0dd34.26864"; charset="UTF-8" --15035631510.D0dd34.26864 Date: Thu, 24 Aug 2017 08:25:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97556 --- Comment #6 from Dimitrios Liappis --- I have the same issue on an Asus Radeon RX-550[1] and amdgpu. The fan is on all the time. By default pwm1_enable shows 1, however, even when I write 2 to it nothing changes. Interestingly enough, `fan1_input` reports no such device, whereas, temp1_i= nput seems to show the right temp. This seems to be corroborated by the sensors output where temp is correctly reported but not fan speed. [root@MS-7885 hwmon0]# pwd /sys/devices/pci0000:00/0000:00:03.0/0000:03:00.0/hwmon/hwmon0 [root@MS-7885 hwmon0]# cat temp1_input && echo && sensors 32000 amdgpu-pci-0300 Adapter: PCI adapter fan1: N/A temp1: +32.0=C2=B0C (crit =3D +0.0=C2=B0C, hyst =3D +0.0=C2=B0C) ... [1]: 03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] L= exa PRO [Radeon RX 550] (rev c7) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device 0513 Physical Slot: 4 Flags: bus master, fast devsel, latency 0, IRQ 37, NUMA node 0 Memory at e0000000 (64-bit, prefetchable) [size=3D256M] Memory at f0000000 (64-bit, prefetchable) [size=3D2M] I/O ports at e000 [size=3D256] Memory at fbe00000 (32-bit, non-prefetchable) [size=3D256K] Expansion ROM at 000c0000 [disabled] [size=3D128K] Capabilities: [48] Vendor Specific Information: Len=3D08 Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable+ Count=3D1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=3D0001 Rev=3D1 = Len=3D010 Capabilities: [150] Advanced Error Reporting Capabilities: [200] #15 Capabilities: [270] #19 Capabilities: [2b0] Address Translation Service (ATS) Capabilities: [2c0] Page Request Interface (PRI) Capabilities: [2d0] Process Address Space ID (PASID) Capabilities: [320] Latency Tolerance Reporting Capabilities: [328] Alternative Routing-ID Interpretation (ARI) Capabilities: [370] L1 PM Substates Kernel driver in use: amdgpu Kernel modules: amdgpu --=20 You are receiving this mail because: You are the assignee for the bug.= --15035631510.D0dd34.26864 Date: Thu, 24 Aug 2017 08:25:51 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 6 on bug 97556<= /a> from Dimitrios Liappis
I have the same issue on an Asus Radeon RX-550[1] and amdgpu.

The fan is on all the time.
By default pwm1_enable shows 1, however, even when I write 2 to it nothing
changes.

Interestingly enough, `fan1_input` reports no such device, whereas, temp1_i=
nput
seems to show the right temp. This seems to be corroborated by the sensors
output where temp is correctly reported but not fan speed.

[root@MS-7885 hwmon0]# pwd
/sys/devices/pci0000:00/0000:00:03.0/0000:03:00.0/hwmon/hwmon0

[root@MS-7885 hwmon0]# cat temp1_input && echo && senso=
rs
32000

amdgpu-pci-0300
Adapter: PCI adapter
fan1:             N/A
temp1:        +32.0=C2=B0C  (crit =3D  +0.0=C2=B0C, hyst =3D  +0.0=C2=B0C)
...

[1]:
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] L=
exa
PRO [Radeon RX 550] (rev c7) (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. Device 0513
        Physical Slot: 4
        Flags: bus master, fast devsel, latency 0, IRQ 37, NUMA node 0
        Memory at e0000000 (64-bit, prefetchable) [size=3D256M]
        Memory at f0000000 (64-bit, prefetchable) [size=3D2M]
        I/O ports at e000 [size=3D256]
        Memory at fbe00000 (32-bit, non-prefetchable) [size=3D256K]
        Expansion ROM at 000c0000 [disabled] [size=3D128K]
        Capabilities: [48] Vendor Specific Information: Len=3D08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=3D1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=3D0001 Rev=3D1 =
Len=3D010
<?>
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [200] #15
        Capabilities: [270] #19
        Capabilities: [2b0] Address Translation Service (ATS)
        Capabilities: [2c0] Page Request Interface (PRI)
        Capabilities: [2d0] Process Address Space ID (PASID)
        Capabilities: [320] Latency Tolerance Reporting
        Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [370] L1 PM Substates
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu


You are receiving this mail because:
  • You are the assignee for the bug.
= --15035631510.D0dd34.26864-- --===============1089159325== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1089159325==--