From: bugzilla-daemon@freedesktop.org Subject: [Bug 99312] Long-running OpenCL kernels cause ring stalls and GPU lockups on Kabini Date: Sat, 07 Jan 2017 18:36:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0950619989==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 65D926EB60 for ; Sat, 7 Jan 2017 18:36:56 +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 --===============0950619989== Content-Type: multipart/alternative; boundary="14838142161.dedC.15770"; charset="UTF-8" --14838142161.dedC.15770 Date: Sat, 7 Jan 2017 18:36:56 +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=3D99312 --- Comment #1 from John Bridgman --- If you have not already done so, try disabling the watchdog timer: MODULE_PARM_DESC(lockup_timeout, "GPU lockup timeout in ms (default 10000 = =3D 10 seconds, 0 =3D disable)"); module_param_named(lockup_timeout, radeon_lockup_timeout, int, 0444); As part of HSA/ROC development we dropped the priority of compute work rela= tive to graphics which improved interactivity and *almost* eliminated timeouts without having to disable the timer - when I get back in the office I'll d= ig up the changes. In the meantime, I think disabling the timer will do what y= ou need although you will still have sluggish graphics while long-running kern= els are active. Lowering the priority of compute waves across the board won't be a fully general solution because there are going to be some cases (eg Valve's recent work with using high priority compute to improve VR smoothness) where compu= te will need to be *higher* priority than graphics but it should cover most ca= ses other than "simultaneously running GROMACS and VR". --=20 You are receiving this mail because: You are the assignee for the bug.= --14838142161.dedC.15770 Date: Sat, 7 Jan 2017 18:36:56 +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

Comment= # 1 on bug 99312<= /a> from John Bridgman
If you have not already done so, try disabling the watchdog ti=
mer:


MODULE_PARM_DESC(lockup_timeout, "GPU lockup timeout in ms (default 10=
000 =3D 10
seconds, 0 =3D disable)");
module_param_named(lockup_timeout, radeon_lockup_timeout, int, 0444);

As part of HSA/ROC development we dropped the priority of compute work rela=
tive
to graphics which improved interactivity and *almost* eliminated timeouts
without having to disable the timer  - when I get back in the office I'll d=
ig
up the changes. In the meantime, I think disabling the timer will do what y=
ou
need although you will still have sluggish graphics while long-running kern=
els
are active.

Lowering the priority of compute waves across the board won't be a fully
general solution because there are going to be some cases (eg Valve's recent
work with using high priority compute to improve VR smoothness) where compu=
te
will need to be *higher* priority than graphics but it should cover most ca=
ses
other than "simultaneously running GROMACS and VR".


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