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

Vulkan examples don't work with MoltenVK

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.12.5
    • 5.13
    • GUI: Vulkan
    • None
    • 364240ed11f5f72341d9e2fa5009baecb4398b1b

    Description

      building qtbase at `65cfac73bd`, with latest MoltenVK, none of the vulkan examples succeed at creating a proper surface

      $ ./hellovulkancubes 
      [mvk-info] MoltenVK version 1.0.35. Vulkan version 1.0.106.
      	The following 34 Vulkan extensions are supported:
      		VK_KHR_16bit_storage v1
      		VK_KHR_8bit_storage v1
      		VK_KHR_bind_memory2 v1
      		VK_KHR_dedicated_allocation v3
      		VK_KHR_descriptor_update_template v1
      		VK_KHR_get_memory_requirements2 v1
      		VK_KHR_get_physical_device_properties2 v1
      		VK_KHR_get_surface_capabilities2 v1
      		VK_KHR_image_format_list v1
      		VK_KHR_maintenance1 v2
      		VK_KHR_maintenance2 v1
      		VK_KHR_maintenance3 v1
      		VK_KHR_push_descriptor v2
      		VK_KHR_relaxed_block_layout v1
      		VK_KHR_sampler_mirror_clamp_to_edge v1
      		VK_KHR_shader_draw_parameters v1
      		VK_KHR_shader_float16_int8 v1
      		VK_KHR_storage_buffer_storage_class v1
      		VK_KHR_surface v25
      		VK_KHR_swapchain v70
      		VK_KHR_swapchain_mutable_format v1
      		VK_KHR_variable_pointers v1
      		VK_EXT_debug_marker v4
      		VK_EXT_debug_report v9
      		VK_EXT_host_query_reset v1
      		VK_EXT_memory_budget v1
      		VK_EXT_shader_viewport_index_layer v1
      		VK_EXT_vertex_attribute_divisor v3
      		VK_EXTX_portability_subset v1
      		VK_MVK_macos_surface v2
      		VK_MVK_moltenvk v20
      		VK_AMD_gpu_shader_half_float v1
      		VK_AMD_negative_viewport_height v1
      		VK_NV_glsl_shader v1
      [mvk-info] GPU device:
      		model: AMD Radeon Pro 560X
      		type: Discrete
      		vendorID: 0x1002
      		deviceID: 0x67ef
      		pipelineCacheUUID: 00002733-0000-2715-C125-BBD2482815F2
      	supports Metal Shading Language version 2.1 and the following Metal Feature Sets:
      		macOS GPU Family 2 v1
      		macOS GPU Family 1 v4
      		macOS GPU Family 1 v3
      		macOS GPU Family 1 v2
      		macOS GPU Family 1 v1
      		macOS Read-Write Texture Tier 2
      [mvk-info] GPU device:
      		model: Intel(R) UHD Graphics 630
      		type: Integrated
      		vendorID: 0x8086
      		deviceID: 0x3e9b
      		pipelineCacheUUID: 00002733-0000-2715-C125-BBD2482815F2
      	supports Metal Shading Language version 2.1 and the following Metal Feature Sets:
      		macOS GPU Family 2 v1
      		macOS GPU Family 1 v4
      		macOS GPU Family 1 v3
      		macOS GPU Family 1 v2
      		macOS GPU Family 1 v1
      [mvk-info] Created VkInstance with the following 2 Vulkan extensions enabled:
      		VK_KHR_surface v25
      		VK_EXT_debug_report v9
      Failed to find vkCreateMacOSSurfaceMVK
      QVulkanWindow: Failed to retrieve Vulkan surface for window
      Failed to find vkCreateMacOSSurfaceMVK
      QVulkanWindow: Failed to retrieve Vulkan surface for window
      

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            mkrus Mike Krus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes