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

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

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • Qt RHI

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes