All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 97556] amdgpu fan behavior doesn't match windows
@ 2016-09-01  0:46 bugzilla-daemon
  2016-09-02 15:00 ` bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-09-01  0:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1914 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97556

            Bug ID: 97556
           Summary: amdgpu fan behavior doesn't match windows
           Product: DRI
           Version: XOrg git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: notasas@gmail.com
                CC: alexdeucher@gmail.com, notasas@gmail.com

Some AIB vendor cards have fan profiles tuned to them, which include marketing
features like "Zero Frozr", "0 RPM", "Mute Fan" and so on that stop the fan
completely while idle. This doesn't seem to be working with amdgpu, the fan
always spins although some thermal control does seem to work.

My card is MSI RX 470 Gaming X 8G, which has the following vBIOS:
https://www.techpowerup.com/vgabios/185500/185500

Dumping ATOM_Fiji_Fan_Table shows:
usTMin: 4000
usTMed: 6500
usTHigh: 8500
usPWMMin: 2000
usPWMMed: 4000
usPWMHigh: 6000
usTMax: 10900
ucFanControlMode: 1
usFanPWMMinLimit: 18
usFanPWMMaxLimit: 100
usFanPWMStep: 1
usDefaultMaxFanPWM: 100
usMaxFanPWM: 100
usFanRPMMinLimit: 18
usFanRPMMaxLimit: 100

This doesn't seem to really correspond to how it works on Windows, where the
fan stops completely while under 60C (which is how it's also advertised by the
vendor). I've not installed any MSI tools there, just the base AMD driver, it
also doesn't depend on any autorun .exe, only the base driver is needed for it
to behave as advertised on Windows.

So does anyone know what is done different by the Windows driver? Perhaps a
different fan table is used from the vBIOS? Or perhaps the driver has this
logic hardcoded for each partner card?

Can it be done on Linux too?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3370 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97556] amdgpu fan behavior doesn't match windows
  2016-09-01  0:46 [Bug 97556] amdgpu fan behavior doesn't match windows bugzilla-daemon
@ 2016-09-02 15:00 ` bugzilla-daemon
  2016-10-16  9:56 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-09-02 15:00 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 274 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97556

--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
You can also manually control the fan via standard linux hwmon pwm interfaces.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1041 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97556] amdgpu fan behavior doesn't match windows
  2016-09-01  0:46 [Bug 97556] amdgpu fan behavior doesn't match windows bugzilla-daemon
  2016-09-02 15:00 ` bugzilla-daemon
@ 2016-10-16  9:56 ` bugzilla-daemon
  2016-11-01 17:05 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-10-16  9:56 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 367 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97556

--- Comment #2 from sonyp2p@gmail.com ---
The same behavior happen with the PowerColor RX 480 RedDevil.
On Linux the fans are spinning even if the temperature of the card is 40C (on
Windows they are in idle until 60C are reached).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1108 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97556] amdgpu fan behavior doesn't match windows
  2016-09-01  0:46 [Bug 97556] amdgpu fan behavior doesn't match windows bugzilla-daemon
  2016-09-02 15:00 ` bugzilla-daemon
  2016-10-16  9:56 ` bugzilla-daemon
@ 2016-11-01 17:05 ` bugzilla-daemon
  2017-02-01 15:23 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2016-11-01 17:05 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 500 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97556

--- Comment #3 from Grazvydas Ignotas <notasas@gmail.com> ---
Created attachment 127663
  --> https://bugs.freedesktop.org/attachment.cgi?id=127663&action=edit
fan stop hack

This patch allows the fans to stop (tested on top of drm-next-4.10-wip branch),
but I don't know what side effects it may have and if it messes up other cards,
so use at your own risk.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1471 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97556] amdgpu fan behavior doesn't match windows
  2016-09-01  0:46 [Bug 97556] amdgpu fan behavior doesn't match windows bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-11-01 17:05 ` bugzilla-daemon
@ 2017-02-01 15:23 ` bugzilla-daemon
  2017-02-01 15:29 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-02-01 15:23 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 482 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97556

--- Comment #4 from Sergey Kochneff <s.kochneff@gmail.com> ---
On ASUS Strix RX 470, “fan stop” works fine on firmware boot and in GRUB, but
after loading amdgpu module fan starts to spin and never stops. Although it’s
possible to emulate proper behavior with custom script/utility reading and
writing sysfs files it looks like bug to me.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1251 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97556] amdgpu fan behavior doesn't match windows
  2016-09-01  0:46 [Bug 97556] amdgpu fan behavior doesn't match windows bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-02-01 15:23 ` bugzilla-daemon
@ 2017-02-01 15:29 ` bugzilla-daemon
  2017-08-24  8:25 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-02-01 15:29 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 522 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97556

--- Comment #5 from Sergey Kochneff <s.kochneff@gmail.com> ---
In addition to my previous comment. pwm1_enable always reads “1” which usually
means “manual control”, and writing “2” (hardware control) or higher values
doesn’t change file contents neither it changes fan speed. On my previous GCN
1.0 card “2” was default value and fan didn’t spin most of the time.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1291 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97556] amdgpu fan behavior doesn't match windows
  2016-09-01  0:46 [Bug 97556] amdgpu fan behavior doesn't match windows bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-02-01 15:29 ` bugzilla-daemon
@ 2017-08-24  8:25 ` bugzilla-daemon
  2017-10-22 10:02 ` bugzilla-daemon
  2019-11-19  8:09 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-08-24  8:25 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2366 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97556

--- Comment #6 from Dimitrios Liappis <dimitrios.liappis@gmail.com> ---
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_input
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°C  (crit =  +0.0°C, hyst =  +0.0°C)
...

[1]:
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa
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=256M]
        Memory at f0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at e000 [size=256]
        Memory at fbe00000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
<?>
        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.

[-- Attachment #1.2: Type: text/html, Size: 3180 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97556] amdgpu fan behavior doesn't match windows
  2016-09-01  0:46 [Bug 97556] amdgpu fan behavior doesn't match windows bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-08-24  8:25 ` bugzilla-daemon
@ 2017-10-22 10:02 ` bugzilla-daemon
  2019-11-19  8:09 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-10-22 10:02 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1082 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97556

--- Comment #7 from Dimitrios Liappis <dimitrios.liappis@gmail.com> ---
To close the loop with my issue here, it appears that the Asus Radeon RX-550
doesn't have any PWM control. The fan speed is constant and can't be changed in
Windows using the GPU Tweak II software either. A curious bit is that while the
socket for the fan connector has 4 pins, only 2 are actually driving the fan
(however, I have owned graphics cards before that were able to adjust the fan
speed by adjusting the voltage using just the two +/- cables).

After discussing with Asus Support and the shop where I purchased it from, we
came to the conclusion that all 550 series cards in the market don't have PWM
control whereas higher models do. I replaced it with a (Gigabyte) RX-560 which
is very silent. `sensors` now shows the RPM for the card. My understanding is
that all models starting with 560 onwards support fan control, regardless of
the manufacturer.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1860 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 97556] amdgpu fan behavior doesn't match windows
  2016-09-01  0:46 [Bug 97556] amdgpu fan behavior doesn't match windows bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-10-22 10:02 ` bugzilla-daemon
@ 2019-11-19  8:09 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:09 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 803 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97556

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #8 from Martin Peres <martin.peres@free.fr> ---
-- 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/94.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2340 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-11-19  8:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-01  0:46 [Bug 97556] amdgpu fan behavior doesn't match windows bugzilla-daemon
2016-09-02 15:00 ` bugzilla-daemon
2016-10-16  9:56 ` bugzilla-daemon
2016-11-01 17:05 ` bugzilla-daemon
2017-02-01 15:23 ` bugzilla-daemon
2017-02-01 15:29 ` bugzilla-daemon
2017-08-24  8:25 ` bugzilla-daemon
2017-10-22 10:02 ` bugzilla-daemon
2019-11-19  8:09 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.