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

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

    XMLWordPrintable

Details

    • All
    • f0057f0269 (qt/qtbase/dev) f0057f0269 (qt/tqtc-qtbase/dev) e0d0905cff (qt/qtbase/6.3) e0d0905cff (qt/tqtc-qtbase/6.3) ac782945fc (qt/qtbase/6.2) ac782945fc (qt/tqtc-qtbase/6.2) 8f69c4ba5c (qt/tqtc-qtbase/5.15)

    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

        For Gerrit Dashboard: QTBUG-73470
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              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