[Mesa-dev] [Bug 108925] vkCmdCopyQueryPoolResults(VK_QUERY_RESULT_WAIT_BIT) for timestamps with large query count hangs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 3 12:26:29 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108925

            Bug ID: 108925
           Summary: vkCmdCopyQueryPoolResults(VK_QUERY_RESULT_WAIT_BIT)
                    for timestamps with large query count hangs
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: Drivers/Vulkan/radeon
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: asmith at feralinteractive.com
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 142700
  --> https://bugs.freedesktop.org/attachment.cgi?id=142700&action=edit
Test case

According to the Vulkan spec we need VK_QUERY_RESULT_WAIT_BIT here to ensure
that all previous query commands have written a result. Using that on RADV with
a large query count causes a GPU hang.

Attached a test case which reproduces this. Hangs for me on a Vega 64, with
latest git master and 18.3 branch. Doesn't hang if the query count is reduced
(in my testing, 512 queries hangs but 256 doesn't), or if
VK_QUERY_RESULT_WAIT_BIT is not used.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181203/82c564b5/attachment.html>


More information about the mesa-dev mailing list