From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97461] FS-UAE waits forever with glClientWaitSync() when using glFenceSync() on amdgpu/radeonsi Date: Thu, 25 Aug 2016 01:55:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1997319207==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 028B96E8DE for ; Thu, 25 Aug 2016 01:55:51 +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 --===============1997319207== Content-Type: multipart/alternative; boundary="14720901500.10a4CdCb.5644"; charset="UTF-8" --14720901500.10a4CdCb.5644 Date: Thu, 25 Aug 2016 01:55:50 +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=3D97461 --- Comment #3 from Lem --- I just verified it with a new apitrace. There is indeed glFenceSync() being called. Frame 3 now looks like: 1510 @0 glFenceSync(condition =3D GL_SYNC_GPU_COMMANDS_COMPLETE, flags =3D = 0) =3D 0x8c47bf0 1511 @0 glFlush() 1512 @0 glClientWaitSync(sync =3D 0x8c47bf0, flags =3D GL_SYNC_FLUSH_COMMAN= DS_BIT, timeout =3D 0) =3D GL_TIMEOUT_EXPIRED 1513 @0 glClientWaitSync(sync =3D 0x8c47bf0, flags =3D 0x0, timeout =3D 0) = =3D GL_ALREADY_SIGNALED 1514 @0 glBegin(mode =3D GL_QUADS) 1515 @0 glTexCoord2d(s =3D 0, t =3D nan) ... 1523 @0 glEnd() 1524 @0 glXSwapBuffers(dpy =3D 0x88db6a0, drawable =3D 83886088) and onto Frame 4, and so forth. --=20 You are receiving this mail because: You are the assignee for the bug.= --14720901500.10a4CdCb.5644 Date: Thu, 25 Aug 2016 01:55:50 +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= # 3 on bug 97461<= /a> from Lem
I just verified it with a new apitrace. There is indeed glFenc=
eSync() being
called. Frame 3 now looks like:

1510 @0 glFenceSync(condition =3D GL_SYNC_GPU_COMMANDS_COMPLETE, flags =
=3D 0) =3D
0x8c47bf0
1511 @0 glFlush()
1512 @0 glClientWaitSync(sync =3D 0x8c47bf0, flags =3D GL_SYNC_FLUSH_CO=
MMANDS_BIT,
timeout =3D 0) =3D GL_TIMEOUT_EXPIRED
1513 @0 glClientWaitSync(sync =3D 0x8c47bf0, flags =3D 0x0, timeout =3D=
 0) =3D
GL_ALREADY_SIGNALED
1514 @0 glBegin(mode =3D GL_QUADS)
1515 @0 glTexCoord2d(s =3D 0, t =3D nan)
...
1523 @0 glEnd()
1524 @0 glXSwapBuffers(dpy =3D 0x88db6a0, drawable =3D 83886088)

and onto Frame 4, and so forth.


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