From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105733] Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working. Date: Sun, 26 Aug 2018 11:18:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0915367002==" 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 C68D18912D for ; Sun, 26 Aug 2018 11:18:35 +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 --===============0915367002== Content-Type: multipart/alternative; boundary="15352823153.7C2f3061b.24445" Content-Transfer-Encoding: 7bit --15352823153.7C2f3061b.24445 Date: Sun, 26 Aug 2018 11:18:35 +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=3D105733 --- Comment #31 from Jan Jurzitza --- I have found a workaround (amd patched kernel not required): cat /sys/class/drm/card0/device/pp_dpm_sclk # insert appropriate index here, I went for 1077Mhz echo 3 > /sys/class/drm/card0/device/pp_dpm_sclk Makes the GPU a bit slower (changes clock to 1077 Mhz on my card) for the session, but at least applications don't freeze the system anymore now (or = at least this is delaying it so much that it works for multiple hours, but it didn't freeze for me yet) Though because of the slowdown I don't think this is a good solution long-t= erm. Maybe a hint towards a solution though maybe? What I noticed in radeon-prof= ile is that on auto it is capable of running at the boost frequency (1266 Mhz) = and not limited to the base frequency the product page specifies (1120 Mhz) by default, so I changed it here and it basically fixed it. Fixes the issue on kernel 4.18.4 --=20 You are receiving this mail because: You are the assignee for the bug.= --15352823153.7C2f3061b.24445 Date: Sun, 26 Aug 2018 11:18:35 +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 # 31 on bug 10573= 3 from Jan Jurzitza
I have found a workaround (amd patched kernel not required):

cat /sys/class/drm/card0/device/pp_dpm_sclk
# insert appropriate index here, I went for 1077Mhz
echo 3 > /sys/class/drm/card0/device/pp_dpm_sclk

Makes the GPU a bit slower (changes clock to 1077 Mhz on my card) for the
session, but at least applications don't freeze the system anymore now (or =
at
least this is delaying it so much that it works for multiple hours, but it
didn't freeze for me yet)

Though because of the slowdown I don't think this is a good solution long-t=
erm.
Maybe a hint towards a solution though maybe? What I noticed in radeon-prof=
ile
is that on auto it is capable of running at the boost frequency (1266 Mhz) =
and
not limited to the base frequency the product page specifies (1120 Mhz) by
default, so I changed it here and it basically fixed it.

Fixes the issue on kernel 4.18.4


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