All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 101653] FAN speed is too high when displays are off
@ 2017-06-29 23:32 bugzilla-daemon
  2017-06-30  0:25 ` bugzilla-daemon
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-06-29 23:32 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 101653
           Summary: FAN speed is too high when displays are off
           Product: DRI
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: alexander@tsoy.me

Created attachment 132364
  --> https://bugs.freedesktop.org/attachment.cgi?id=132364&action=edit
kernel log

While investigating bug #101528, I've noticed another issue: FAN speed is too
high when display are off.

Display is off:
$ cat /sys/class/hwmon/hwmon6/fan1_input
1914

Display is on:
$ cat /sys/class/hwmon/hwmon6/fan1_input
941

In both cases sclk, mclk and pcie are in the same lowest state.


GPU:
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Tonga PRO [Radeon R9 285/380] [1002:6939] (rev f1) (prog-if 00 [VGA
controller])
        Subsystem: PC Partner Limited / Sapphire Technology Tonga PRO [Radeon
R9 285/380] [174b:e305]

kernel:
$ uname -r
4.11.7-gentoo

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

[-- Attachment #1.2: Type: text/html, Size: 2850 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] 6+ messages in thread

* [Bug 101653] FAN speed is too high when displays are off
  2017-06-29 23:32 [Bug 101653] FAN speed is too high when displays are off bugzilla-daemon
@ 2017-06-30  0:25 ` bugzilla-daemon
  2017-06-30  3:03 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-06-30  0:25 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Alexander Tsoy <alexander@tsoy.me> ---
It looks like actual FAN speed doesn't change. It's just reported differently.

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

[-- Attachment #1.2: Type: text/html, Size: 1044 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] 6+ messages in thread

* [Bug 101653] FAN speed is too high when displays are off
  2017-06-29 23:32 [Bug 101653] FAN speed is too high when displays are off bugzilla-daemon
  2017-06-30  0:25 ` bugzilla-daemon
@ 2017-06-30  3:03 ` bugzilla-daemon
  2017-06-30 14:02 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-06-30  3:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Alexander Tsoy <alexander@tsoy.me> ---
smu7_get_xclk() returns some crazy values when display is off. And this value
depends on some state that changes every boot.

$ sudo journalctl -b -1 -o cat | grep reference_clock | sort | uniq -c
      4 amdgpu: reference_clock = 232169472, tmp = 0
      5 amdgpu: reference_clock = 2700, tmp = 0
$ sudo journalctl -b -o cat | grep reference_clock | sort | uniq -c
     16 amdgpu: reference_clock = 1305214976, tmp = 0
     12 amdgpu: reference_clock = 2700, tmp = 0


So now after reboot I get a different FAN speed when display is off:
$ cat /sys/class/hwmon/hwmon6/fan1_input
1057

When display is on, FAN speed is always consistent.
$ cat /sys/class/hwmon/hwmon6/fan1_input
937

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

[-- Attachment #1.2: Type: text/html, Size: 1665 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] 6+ messages in thread

* [Bug 101653] FAN speed is too high when displays are off
  2017-06-29 23:32 [Bug 101653] FAN speed is too high when displays are off bugzilla-daemon
  2017-06-30  0:25 ` bugzilla-daemon
  2017-06-30  3:03 ` bugzilla-daemon
@ 2017-06-30 14:02 ` bugzilla-daemon
  2017-06-30 23:18 ` bugzilla-daemon
  2017-07-24  0:13 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-06-30 14:02 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 132374
  --> https://bugs.freedesktop.org/attachment.cgi?id=132374&action=edit
possible fix

Depends on attachment 132358.

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

[-- Attachment #1.2: Type: text/html, Size: 1592 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] 6+ messages in thread

* [Bug 101653] FAN speed is too high when displays are off
  2017-06-29 23:32 [Bug 101653] FAN speed is too high when displays are off bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-06-30 14:02 ` bugzilla-daemon
@ 2017-06-30 23:18 ` bugzilla-daemon
  2017-07-24  0:13 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-06-30 23:18 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Alexander Tsoy <alexander@tsoy.me> ---
(In reply to Alex Deucher from comment #3)
> Created attachment 132374 [details] [review]
> possible fix

It works. Thanks.

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

[-- Attachment #1.2: Type: text/html, Size: 1432 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] 6+ messages in thread

* [Bug 101653] FAN speed is too high when displays are off
  2017-06-29 23:32 [Bug 101653] FAN speed is too high when displays are off bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-06-30 23:18 ` bugzilla-daemon
@ 2017-07-24  0:13 ` bugzilla-daemon
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon @ 2017-07-24  0:13 UTC (permalink / raw)
  To: dri-devel


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

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

Alexander Tsoy <alexander@tsoy.me> changed:

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

--- Comment #5 from Alexander Tsoy <alexander@tsoy.me> ---
The patch is upstream:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=73cc90798ff765341a1d9c2cfe18153ab231c9bb

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

[-- Attachment #1.2: Type: text/html, Size: 2250 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] 6+ messages in thread

end of thread, other threads:[~2017-07-24  0:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-29 23:32 [Bug 101653] FAN speed is too high when displays are off bugzilla-daemon
2017-06-30  0:25 ` bugzilla-daemon
2017-06-30  3:03 ` bugzilla-daemon
2017-06-30 14:02 ` bugzilla-daemon
2017-06-30 23:18 ` bugzilla-daemon
2017-07-24  0:13 ` 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.