Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73470

Wrong VkQueue provided to vkQueuePresentKHR in QVulkanWindowPrivate::endFrame()

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.0
    • Fix Version/s: None
    • Component/s: GUI: Vulkan
    • Labels:
      None
    • Platform/s:
      All
    • Technical Risk:
      Low

      Description

      According to spec:

      https://www.khronos.org/registry/vulkan/specs/1.1-extensions/pdf/vkspec.pdf

      VkResult vkQueuePresentKHR(   VkQueue queue,   const VkPresentInfoKHR* pPresentInfo);

      • queue is a queue that is capable of presentation to the target surface’s platform on the same device as the image’s swapchain.

       

      problem in your code is in line:

      err = vkQueuePresentKHR(gfxQueue, &presInfo);

      should be:

      err = vkQueuePresentKHR(presQueue, &presInfo);
      

      Probability that gfxQueue will not has capable to present something is very low but not equal zero. 

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            karolpg Karol Grydziuszko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Gerrit Reviews

                  There are no open Gerrit changes