All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rigo Reddig <rigo.reddig-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: amdgpu multi monitor - clock, heat and power problem
Date: Mon, 08 Apr 2019 22:18:40 +0200	[thread overview]
Message-ID: <14039132.b7AKeVp86W@jupiter> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 4779 bytes --]

I have 2 Gigabyte RX580's in my desktop workstation. 
I'm running Arch Linux with KDE Plasma on the 5.0.6 kernel.

The cards themselves work fine, except,
I have two 1080p HDMI monitors plugged into one of these cards.
One in a native HDMI port, one in a passive DVI->HDMI adapter.

This causes the following problem for idle usage:

 1. Memory clock is effectively locked at 200Mhz always
 2. Core clock is constantly at high frequency P-state
 3. Temperatures are increased
 4. Power consumption is increased (significantly)
 5. PCI bus is always at full speed
 6. Forcing core clock to 300Mhz, uses a higher than usual voltage

Below is an excerpt from the rocm-smi utility for the automatic defaults 
(I have omitted overclock and powercap values for formatting purposes)


2 Monitors connected to GPU 0, No monitors connected to GPU 1
ROCm System Management Interface        
==========================================================================
=====
GPU   Temp   AvgPwr   SCLK    MCLK    PCLK           Fan     Perf    GPU%
0     44.0c  36.193W  1145Mhz 2000Mhz 8.0GT/s, x16   40.0%   auto    0%       
1     37.0c  28.104W  300Mhz  300Mhz  2.5GT/s, x8    0.0%    auto    0%       
==========================================================================
=====
End of ROCm SMI Log              

GPU 0 is idle and yet running SCLK and MCLK at unnecessary power levels
GPU 1 is truly idle
Regarding GPU 0 temperature, I have actually setup a daemon to run the fan at a 
consistent rate to prevent it from constantly peaking.

-------------------------------------------------------------------------------

1 Monitors connected to GPU 0, No monitors connected to GPU 1
ROCm System Management Interface        
==========================================================================
=====
GPU   Temp   AvgPwr   SCLK    MCLK    PCLK           Fan     Perf    GPU%
0     36.0c  28.103W  300Mhz  300Mhz  2.5GT/s, x8    0.0%    auto    0%       
1     37.0c  28.104W  300Mhz  300Mhz  2.5GT/s, x8    0.0%    auto    0%       
==========================================================================
=====

2 Monitors connected to GPU 0, No monitors connected to GPU 1

2 Monitors connected to GPU 0, No monitors connected to GPU 1
ROCm System Management Interface        
==========================================================================
=====
GPU   Temp   AvgPwr   SCLK    MCLK    PCLK           Fan     Perf    GPU%
0     44.0c  31.086W  300Mhz 2000Mhz  2.5GT/s, x8   40.0%    low    0%       
1     37.0c  28.104W  300Mhz  300Mhz  2.5GT/s, x8    0.0%    low    0%       
==========================================================================
=====

Peculiarly even with low power state forced, the GPU runs at a voltage (950mV) in excess 
of what is required for 300Mhz (750mV)


==========================================================================
=====
cat /sys/kernel/debug/dri/0/amdgpu_pm_info                                                                                                                                                                                         
jupiter: Mon Apr  8 21:57:29 2019

Clock Gating Flags Mask: 0x3fbcf
        Graphics Medium Grain Clock Gating: On
        Graphics Medium Grain memory Light Sleep: On
        Graphics Coarse Grain Clock Gating: On
        Graphics Coarse Grain memory Light Sleep: On
        Graphics Coarse Grain Tree Shader Clock Gating: Off
        Graphics Coarse Grain Tree Shader Light Sleep: Off
        Graphics Command Processor Light Sleep: On
        Graphics Run List Controller Light Sleep: On
        Graphics 3D Coarse Grain Clock Gating: Off
        Graphics 3D Coarse Grain memory Light Sleep: Off
        Memory Controller Light Sleep: On
        Memory Controller Medium Grain Clock Gating: On
        System Direct Memory Access Light Sleep: Off
        System Direct Memory Access Medium Grain Clock Gating: On
        Bus Interface Medium Grain Clock Gating: Off
        Bus Interface Light Sleep: On
        Unified Video Decoder Medium Grain Clock Gating: On
        Video Compression Engine Medium Grain Clock Gating: On
        Host Data Path Light Sleep: On
        Host Data Path Medium Grain Clock Gating: On
        Digital Right Management Medium Grain Clock Gating: Off
        Digital Right Management Light Sleep: Off
        Rom Medium Grain Clock Gating: On
        Data Fabric Medium Grain Clock Gating: Off

GFX Clocks and Power:
        2000 MHz (MCLK)
        300 MHz (SCLK)
        600 MHz (PSTATE_SCLK)
        1000 MHz (PSTATE_MCLK)
        950 mV (VDDGFX)
        31.14 W (average GPU)

GPU Temperature: 43 C
GPU Load: 0 %

UVD: Disabled

VCE: Disabled
==========================================================================
=====

[-- Attachment #1.1.2: Type: text/html, Size: 29785 bytes --]

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

             reply	other threads:[~2019-04-08 20:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-08 20:18 Rigo Reddig [this message]
2019-04-08 22:58 ` amdgpu multi monitor - clock, heat and power problem Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14039132.b7AKeVp86W@jupiter \
    --to=rigo.reddig-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.