From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 91880] Radeonsi on Grenada cards (r9 390) exceptionally unstable and poorly performing Date: Tue, 01 Nov 2016 18:53:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0870799974==" 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 4BB136E284 for ; Tue, 1 Nov 2016 18:53:34 +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 --===============0870799974== Content-Type: multipart/alternative; boundary="14780264143.Cc445.4986"; charset="UTF-8" --14780264143.Cc445.4986 Date: Tue, 1 Nov 2016 18:53:34 +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=3D91880 --- Comment #125 from Christoph Seifert --- For me switching power states does also result in a system freeze. With radeon.dpm =3D 0 everthing is working properly but slowly. If I switch manu= ally to another power profile (e.g. echo high > /sys/class/drm/card0/device/power_profile) I got a freeze likewise. With radeon.dpm =3D 1 the freeze happens after a few seconds of video playback o= r some other load, ergo if the card changes its power profile. The work around (k firmware) from comment #115 does not work for me. Same behaviour as without. So I tried disabling specific DPM features as suggested by Alex Deucher in comment #60. Disabling mclk (pi->mclk_dpm_key_disabled =3D 1) does the tric= k for my card but the performance is similar to the radeon.dpm =3D 0 kernel param= eter. With radeon.dpm =3D 1 and only mclk disabled, the sclk (core clock) adjusts= just fine. High on load, low on no load. The mclk (memory clock) is just fixed at 150 Mhz. So the freezes seems to be caused by switching memory clock. Any hints for digging deeper? My card is a MSI Radeon R9 390 too. Linux Kernel 4.8.6 Mesa 13.0.0rc2 --=20 You are receiving this mail because: You are the assignee for the bug.= --14780264143.Cc445.4986 Date: Tue, 1 Nov 2016 18:53:34 +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

Comme= nt # 125 on bug 91880<= /a> from Christoph Seife= rt
For me switching power states does also result in a system fre=
eze. With
radeon.dpm =3D 0 everthing is working properly but slowly. If I switch manu=
ally
to another power profile (e.g. echo high >
/sys/class/drm/card0/device/power_profile) I got a freeze likewise. With
radeon.dpm =3D 1 the freeze happens after a few seconds of video playback o=
r some
other load, ergo if the card changes its power profile.

The work around (k firmware) from =
comment #115 does not work for me. Same
behaviour as without.

So I tried disabling specific DPM features as suggested by Alex Deucher in
comment #60. Disabling mclk (pi=
->mclk_dpm_key_disabled =3D 1) does the trick for
my card but the performance is similar to the radeon.dpm =3D 0 kernel param=
eter.

With radeon.dpm =3D 1 and only mclk disabled, the sclk (core clock) adjusts=
 just
fine. High on load, low on no load. The mclk (memory clock) is just fixed at
150 Mhz.

So the freezes seems to be caused by switching memory clock.


Any hints for digging deeper?

My card is a MSI Radeon R9 390 too.
Linux Kernel 4.8.6
Mesa 13.0.0rc2


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