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

vulkanunderqml example throws errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0 RC
    • GUI: Vulkan
    • None
    • Emulator Android 13, 14

      Pixel 4a Android 13
    • Android

    Description

      The example vulkanunderqml runs on various Android versions (13 and 14 tested at least), however, it throws some errors.

      Pixel 4a Android 13

      E qdgralloc: GetGpuPixelFormat: No map for format: 0x38
      E AdrenoUtils: <validate_memory_layout_input_parmas:1923>: Unknown Format 0
      E AdrenoUtils: <adreno_init_memory_layout:4634>: Memory Layout input parameter validation failed!
      E qdgralloc: GetGpuResourceSizeAndDimensions Graphics metadata init failed
      E Gralloc4: isSupported(1, 1, 56, 1, ...) failed with 1
      E GraphicBufferAllocator: Failed to allocate (4 x 4) layerCount 1 format 56 usage b00: 1
      E AHardwareBuffer: GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -1), handle=0x0
      E qdgralloc: GetGpuPixelFormat: No map for format: 0x38
      E AdrenoUtils: <validate_memory_layout_input_parmas:1923>: Unknown Format 0
      E AdrenoUtils: <adreno_init_memory_layout:4634>: Memory Layout input parameter validation failed!
      E qdgralloc: GetGpuResourceSizeAndDimensions Graphics metadata init failed
      E Gralloc4: isSupported(1, 1, 56, 1, ...) failed with 1
      E GraphicBufferAllocator: Failed to allocate (4 x 4) layerCount 1 format 56 usage b00: 1
      E AHardwareBuffer: GraphicBuffer(w=4, h=4, lc=1) failed (Unknown error -1), handle=0x0
      E Surface : freeAllBuffers: 1 buffers were freed while being dequeued!
      E Surface : getSlotFromBufferLocked: unknown buffer: 0xb400007749d47ac0
      E vulkan  : queueBuffer failed: Invalid argument (-22)
      W libvulkanunderqmlapp_arm64-v8a.so: Failed to present: -1000000000
      W libvulkanunderqmlapp_arm64-v8a.so: Failed to end frame 

       

      Emulator Android 14 slightly different error and if the app goes to background and back up again, it's just a black screen.

      E BufferQueueProducer: [SurfaceView[org.qtproject.example.vulkanunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:202200000001,api:0,p:-1,c:8226) requestBuffer: BufferQueue has no connected producer
      E Surface : dequeueBuffer: IGraphicBufferProducer::requestBuffer failed: -19
      E BufferQueueProducer: [SurfaceView[org.qtproject.example.vulkanunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:202200000001,api:0,p:-1,c:8226) cancelBuffer: BufferQueue has no connected producer
      E vulkan  : dequeueBuffer failed: No such device (-19)
      W libvulkanunderqmlapp_arm64-v8a.so: Failed to acquire next swapchain image: -1000000000
      W libvulkanunderqmlapp_arm64-v8a.so: Failed to start frame
      E BufferQueueProducer: [SurfaceView[org.qtproject.example.vulkanunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:202200000001,api:0,p:-1,c:8226) query: BufferQueue has been abandoned
      E vulkan  : NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS query failed: No such device (-19)
      E OpenGLRenderer: Unable to match the desired swap behavior.
      E OpenGLRenderer: Unable to match the desired swap behavior. 

      Emulator Android 13

      E BufferQueueProducer: [SurfaceView[org.qtproject.example.vulkanunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:5c7d00000001,api:0,p:-1,c:23677) dequeueBuffer: BufferQueue has been abandoned
      E vulkan  : dequeueBuffer failed: No such device (-19)
      W libvulkanunderqmlapp_arm64-v8a.so: Failed to acquire next swapchain image: -1000000000
      W libvulkanunderqmlapp_arm64-v8a.so: Failed to start frame
      E BufferQueueProducer: [SurfaceView[org.qtproject.example.vulkanunderqmlapp/org.qtproject.qt.android.bindings.QtActivity]#1(BLAST Consumer)1](id:5c7d00000001,api:0,p:-1,c:23677) dequeueBuffer: BufferQueue has been abandoned
      E vulkan  : dequeueBuffer failed: No such device (-19)
      W libvulkanunderqmlapp_arm64-v8a.so: Failed to acquire next swapchain image: -1000000000
      W libvulkanunderqmlapp_arm64-v8a.so: Failed to start frame
      E OpenGLRenderer: Unable to match the desired swap behavior.
      D HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_vulkan_batched_descriptor_set_update ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma ANDROID_EMU_hwc_multi_configs GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_1
      W lkanunderqmlapp: Cleared Reference was only reachable from finalizer (only reported once) 

      Attachments

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

        Activity

          People

            qtandroidteam Qt Android Team
            assam Assam Boudjelthia
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes