[Bug 88344] New: glClientWaitSync(..., GL_TIMEOUT_IGNORED) fails to wait for sync.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 12 14:50:34 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=88344
Bug ID: 88344
Summary: glClientWaitSync(..., GL_TIMEOUT_IGNORED) fails to
wait for sync.
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/i965
Assignee: idr at freedesktop.org
Reporter: laura at jlekstrand.net
QA Contact: intel-3d-bugs at lists.freedesktop.org
glClientWaitSync(fence, GL_SYNC_FLUSH_COMMANDS_BIT, GL_TIMEOUT_IGNORED)
often returns GL_TIMEOUT_EXPIRED, even though GL_TIMEOUT_IGNORED is a huge
integer (18446744073709551615 on Intel Sandybridge with Mesa). The third
argument to glClientWaitSync should represent the number of nanoseconds the
implementation waits for the signal from fence before giving up and returning
TIMEOUT_EXPIRED.
This test
(http://cgit.freedesktop.org/~ldeks/piglit/commit/?h=adsa-buffer-objects&id=b473b248dc1366c536876752eefc3dbc844c1657),
adapted from bufferstorage-persistent, demonstrates that
glClientWaitSync(fence, GL_SYNC_FLUSH_COMMANDS_BIT, GL_TIMEOUT_IGNORED)
must be called multiple times before the signal is actually recorded and
either GL_CONDITION_SATISFIED or GL_ALREADY_SIGNALED is returned.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20150112/fb80fd3a/attachment.html>
More information about the intel-3d-bugs
mailing list