From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105113] [hawaii, radeonsi, clover] Running Piglit cl/program/execute/{, tail-}calls{, -struct, -workitem-id}.cl cause GPU VM error and ring stalled GPU lockup Date: Tue, 04 Dec 2018 17:40:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1100178164==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id DE1B76E2F7 for ; Tue, 4 Dec 2018 17:40:53 +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 --===============1100178164== Content-Type: multipart/alternative; boundary="15439452533.C22FEC481.8651" Content-Transfer-Encoding: 7bit --15439452533.C22FEC481.8651 Date: Tue, 4 Dec 2018 17:40:53 +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=3D105113 --- Comment #11 from Jan Vesely --- (In reply to Maciej S. Szmigiero from comment #10) > (In reply to Jan Vesely from comment #9) > > (In reply to Maciej S. Szmigiero from comment #8) > > > Aren't program@execute@calls-struct and program@execute@tail-calls te= sts > > > from comment 4 examples of this behavior? > > > These seem to run but return wrong results, or am I not parsing the p= iglit > > > test results correctly? > >=20 > > This is more of a piglit problem. piglit uses a combination of enqueue = and > > clFinish. However, the error happens on kernel launch. thus; > > 1.) clEnqueueNDRangeKernel -- success > > 2.) The driver tries to launch the kernel and fails on relocations > > 3.) application(piglit) calls clFinish > >=20 > > depending on the order of 2. and 3. clFinish can either see an empty qu= eue > > and succeed or try to wait for kernel execution and fail. > >=20 > > The following series should address that: > > https://patchwork.freedesktop.org/series/52857/ >=20 > Thanks for the detailed explanation and the patches. >=20 > I can confirm that with them applied program@execute@calls-struct and > program@execute@tail-calls exit with > CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST, so I guess they work > (or rather, fail) as expected. >=20 > Feel free to add > "Tested-by: Maciej S. Szmigiero " tag if you > would > like. Thanks. I pushed the piglit patches. I'll keep this bug open until mesa properly supports relocations. --=20 You are receiving this mail because: You are the assignee for the bug.= --15439452533.C22FEC481.8651 Date: Tue, 4 Dec 2018 17:40:53 +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 # 11 on bug 10511= 3 from Jan Vesely
(In reply to Maciej S. Szmigiero from comment #10)
> (In reply to Jan Vesely from comment #9)
> > (In reply to Maciej S. Szmigiero from comment #8)
> > > Aren't program@execute@calls-struct and program@=
execute@tail-calls tests
> > > from comment 4 e=
xamples of this behavior?
> > > These seem to run but return wrong results, or am I not pars=
ing the piglit
> > > test results correctly?
> >=20
> > This is more of a piglit problem. piglit uses a combination of en=
queue and
> > clFinish. However, the error happens on kernel launch. thus;
> > 1.) clEnqueueNDRangeKernel -- success
> > 2.) The driver tries to launch the kernel and fails on relocations
> > 3.) application(piglit) calls clFinish
> >=20
> > depending on the order of 2. and 3. clFinish can either see an em=
pty queue
> > and succeed or try to wait for kernel execution and fail.
> >=20
> > The following series should address that:
> > https=
://patchwork.freedesktop.org/series/52857/
>=20
> Thanks for the detailed explanation and the patches.
>=20
> I can confirm that with them applied program@execute@calls-str=
uct and
> program@execute@tail-calls exit with
> CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST, so I guess they work
> (or rather, fail) as expected.
>=20
> Feel free to add
> "Tested-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>" tag if you
> would
> like.

Thanks. I pushed the piglit patches. I'll keep this bug open until mesa
properly supports relocations.


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