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

Vulkan: Consider suppressing BestPractices "validation" message about depth-stencil buffer

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Qt RHI

      Description

      vkDebug: Validation: 0: Validation Performance Warning: [ UNASSIGNED-BestPractices-vkAllocateMemory-small-allocation ] Object 0: handle = 0x7f40f4649fc0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xdc18ad6b | vkAllocateMemory(): Allocating a VkDeviceMemory of size 45056. This is a very small allocation (current threshold is 262144 bytes). You should make large allocations and sub-allocate from one large VkDeviceMemory.
      vkDebug: Validation: 0: Validation Performance Warning: [ UNASSIGNED-BestPractices-vkBindMemory-small-dedicated-allocation ] Object 0: handle = 0x7f40f4649fc0, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xb3d4346b | vkBindImageMemory(): Trying to bind VkImage 0xfd50000000fd5[] to a memory block which is fully consumed by the image. The required size of the allocation is 45056, but smaller images like this should be sub-allocated from larger memory blocks. (Current threshold is 1048576 bytes.)
      

      This is as expected, and happens when a Qt Quick window or layer size is under a certain threshold. BestPractices is a category that needs to be enabled via vkconfig. Nonetheless it could be that we should filter this message out.

        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:
            lagocs Laszlo Agocs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes