copperspice / cs_paint

Vulkan rendering library for graphics and text
https://www.copperspice.com/
Other
90 stars 9 forks source link

Error Incompatible Driver #9

Open bgeller opened 2 years ago

bgeller commented 2 years ago
server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
OpenGL vendor string: Intel Inc.
OpenGL renderer string: Intel(R) HD Graphics 6000
OpenGL version string: 2.1 INTEL-14.5.22
OpenGL shading language version string: 1.20

my issue is the same vk::createInstance: ErrorIncompatibleDriver, exiting while running bin/CsPaintDemo

Hardware Overview:

  Model Name:   MacBook Air
  Model Identifier: MacBookAir7,2
  Processor Name:   Dual-Core Intel Core i5
  Processor Speed:  1.8 GHz
  Number of Processors: 1
  Total Number of Cores:    2
  L2 Cache (per Core):  256 KB
  L3 Cache: 3 MB
  Hyper-Threading Technology:   Enabled
  Memory:   8 GB
  Boot ROM Version: 193.0.0.0.0
  SMC Version (system): 2.27f2
  Serial Number (system):   FVFW4FNTJ1WK
  Hardware UUID:    8A722236-598D-502A-AC16-02330DC258F9

Originally posted by @dmitrykolesnikovich on another ticket

bgeller commented 2 years ago

@dmitrykolesnikovich Just letting you know we moved your report to a new ticket since the prior one was closed.

Have you been able to run other programs which use Vulkan on your Mac? Can you run vkcube and vulkaninfo which are both part of the Vulkan SDK. Some Mac systems do not fully support Vulkan natively.

Barbara

dmitrykolesnikovich commented 2 years ago

Surely I can run vkcube

image

agserm commented 2 years ago

Can you provide the output displayed when you run vulkaninfo? That should help us to understand exactly which driver is being selected.

dmitrykolesnikovich commented 2 years ago

here is the result

==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.216

Instance Extensions: count = 13
===============================
    VK_EXT_debug_report                    : extension revision 10
    VK_EXT_debug_utils                     : extension revision 2
    VK_EXT_metal_surface                   : extension revision 1
    VK_EXT_swapchain_colorspace            : extension revision 4
    VK_KHR_device_group_creation           : extension revision 1
    VK_KHR_external_fence_capabilities     : extension revision 1
    VK_KHR_external_memory_capabilities    : extension revision 1
    VK_KHR_external_semaphore_capabilities : extension revision 1
    VK_KHR_get_physical_device_properties2 : extension revision 2
    VK_KHR_get_surface_capabilities2       : extension revision 1
    VK_KHR_portability_enumeration         : extension revision 1
    VK_KHR_surface                         : extension revision 25
    VK_MVK_macos_surface                   : extension revision 3

Layers: count = 4
=================
VK_LAYER_KHRONOS_profiles (Khronos Profiles layer) Vulkan version 1.3.216, layer version 1:
    Layer Extensions: count = 0
    Devices: count = 1
        GPU id = 0 (Intel(R) Iris(TM) Graphics 6000)
        Layer-Device Extensions: count = 1
            VK_EXT_tooling_info : extension revision 1

VK_LAYER_KHRONOS_synchronization2 (Khronos Synchronization2 layer) Vulkan version 1.3.216, layer version 1:
    Layer Extensions: count = 0
    Devices: count = 1
        GPU id = 0 (Intel(R) Iris(TM) Graphics 6000)
        Layer-Device Extensions: count = 1
            VK_KHR_synchronization2 : extension revision 1

VK_LAYER_KHRONOS_validation (Khronos Validation Layer) Vulkan version 1.3.216, layer version 1:
    Layer Extensions: count = 3
        VK_EXT_debug_report        : extension revision 9
        VK_EXT_debug_utils         : extension revision 1
        VK_EXT_validation_features : extension revision 2
    Devices: count = 1
        GPU id = 0 (Intel(R) Iris(TM) Graphics 6000)
        Layer-Device Extensions: count = 3
            VK_EXT_debug_marker     : extension revision 4
            VK_EXT_tooling_info     : extension revision 1
            VK_EXT_validation_cache : extension revision 1

VK_LAYER_LUNARG_api_dump (LunarG API dump layer) Vulkan version 1.3.216, layer version 2:
    Layer Extensions: count = 0
    Devices: count = 1
        GPU id = 0 (Intel(R) Iris(TM) Graphics 6000)
        Layer-Device Extensions: count = 1
            VK_EXT_tooling_info : extension revision 1

Presentable Surfaces:
=====================
GPU id : 0 (Intel(R) Iris(TM) Graphics 6000):
    Surface types: count = 2
        VK_EXT_metal_surface
        VK_MVK_macos_surface
    Formats: count = 50
        SurfaceFormat[0]:
            format = FORMAT_B8G8R8A8_UNORM
            colorSpace = COLOR_SPACE_SRGB_NONLINEAR_KHR
        SurfaceFormat[1]:
            format = FORMAT_B8G8R8A8_SRGB
            colorSpace = COLOR_SPACE_SRGB_NONLINEAR_KHR
        SurfaceFormat[2]:
            format = FORMAT_R16G16B16A16_SFLOAT
            colorSpace = COLOR_SPACE_SRGB_NONLINEAR_KHR
        SurfaceFormat[3]:
            format = FORMAT_A2B10G10R10_UNORM_PACK32
            colorSpace = COLOR_SPACE_SRGB_NONLINEAR_KHR
        SurfaceFormat[4]:
            format = FORMAT_A2R10G10B10_UNORM_PACK32
            colorSpace = COLOR_SPACE_SRGB_NONLINEAR_KHR
        SurfaceFormat[5]:
            format = FORMAT_B8G8R8A8_UNORM
            colorSpace = COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT
        SurfaceFormat[6]:
            format = FORMAT_B8G8R8A8_SRGB
            colorSpace = COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT
        SurfaceFormat[7]:
            format = FORMAT_R16G16B16A16_SFLOAT
            colorSpace = COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT
        SurfaceFormat[8]:
            format = FORMAT_A2B10G10R10_UNORM_PACK32
            colorSpace = COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT
        SurfaceFormat[9]:
            format = FORMAT_A2R10G10B10_UNORM_PACK32
            colorSpace = COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT
        SurfaceFormat[10]:
            format = FORMAT_B8G8R8A8_UNORM
            colorSpace = COLOR_SPACE_DCI_P3_NONLINEAR_EXT
        SurfaceFormat[11]:
            format = FORMAT_B8G8R8A8_SRGB
            colorSpace = COLOR_SPACE_DCI_P3_NONLINEAR_EXT
        SurfaceFormat[12]:
            format = FORMAT_R16G16B16A16_SFLOAT
            colorSpace = COLOR_SPACE_DCI_P3_NONLINEAR_EXT
        SurfaceFormat[13]:
            format = FORMAT_A2B10G10R10_UNORM_PACK32
            colorSpace = COLOR_SPACE_DCI_P3_NONLINEAR_EXT
        SurfaceFormat[14]:
            format = FORMAT_A2R10G10B10_UNORM_PACK32
            colorSpace = COLOR_SPACE_DCI_P3_NONLINEAR_EXT
        SurfaceFormat[15]:
            format = FORMAT_B8G8R8A8_UNORM
            colorSpace = COLOR_SPACE_BT709_NONLINEAR_EXT
        SurfaceFormat[16]:
            format = FORMAT_B8G8R8A8_SRGB
            colorSpace = COLOR_SPACE_BT709_NONLINEAR_EXT
        SurfaceFormat[17]:
            format = FORMAT_R16G16B16A16_SFLOAT
            colorSpace = COLOR_SPACE_BT709_NONLINEAR_EXT
        SurfaceFormat[18]:
            format = FORMAT_A2B10G10R10_UNORM_PACK32
            colorSpace = COLOR_SPACE_BT709_NONLINEAR_EXT
        SurfaceFormat[19]:
            format = FORMAT_A2R10G10B10_UNORM_PACK32
            colorSpace = COLOR_SPACE_BT709_NONLINEAR_EXT
        SurfaceFormat[20]:
            format = FORMAT_B8G8R8A8_UNORM
            colorSpace = COLOR_SPACE_ADOBERGB_NONLINEAR_EXT
        SurfaceFormat[21]:
            format = FORMAT_B8G8R8A8_SRGB
            colorSpace = COLOR_SPACE_ADOBERGB_NONLINEAR_EXT
        SurfaceFormat[22]:
            format = FORMAT_R16G16B16A16_SFLOAT
            colorSpace = COLOR_SPACE_ADOBERGB_NONLINEAR_EXT
        SurfaceFormat[23]:
            format = FORMAT_A2B10G10R10_UNORM_PACK32
            colorSpace = COLOR_SPACE_ADOBERGB_NONLINEAR_EXT
        SurfaceFormat[24]:
            format = FORMAT_A2R10G10B10_UNORM_PACK32
            colorSpace = COLOR_SPACE_ADOBERGB_NONLINEAR_EXT
        SurfaceFormat[25]:
            format = FORMAT_B8G8R8A8_UNORM
            colorSpace = COLOR_SPACE_PASS_THROUGH_EXT
        SurfaceFormat[26]:
            format = FORMAT_B8G8R8A8_SRGB
            colorSpace = COLOR_SPACE_PASS_THROUGH_EXT
        SurfaceFormat[27]:
            format = FORMAT_R16G16B16A16_SFLOAT
            colorSpace = COLOR_SPACE_PASS_THROUGH_EXT
        SurfaceFormat[28]:
            format = FORMAT_A2B10G10R10_UNORM_PACK32
            colorSpace = COLOR_SPACE_PASS_THROUGH_EXT
        SurfaceFormat[29]:
            format = FORMAT_A2R10G10B10_UNORM_PACK32
            colorSpace = COLOR_SPACE_PASS_THROUGH_EXT
        SurfaceFormat[30]:
            format = FORMAT_B8G8R8A8_UNORM
            colorSpace = COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
        SurfaceFormat[31]:
            format = FORMAT_B8G8R8A8_SRGB
            colorSpace = COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
        SurfaceFormat[32]:
            format = FORMAT_R16G16B16A16_SFLOAT
            colorSpace = COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
        SurfaceFormat[33]:
            format = FORMAT_A2B10G10R10_UNORM_PACK32
            colorSpace = COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
        SurfaceFormat[34]:
            format = FORMAT_A2R10G10B10_UNORM_PACK32
            colorSpace = COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT
        SurfaceFormat[35]:
            format = FORMAT_B8G8R8A8_UNORM
            colorSpace = COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT
        SurfaceFormat[36]:
            format = FORMAT_B8G8R8A8_SRGB
            colorSpace = COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT
        SurfaceFormat[37]:
            format = FORMAT_R16G16B16A16_SFLOAT
            colorSpace = COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT
        SurfaceFormat[38]:
            format = FORMAT_A2B10G10R10_UNORM_PACK32
            colorSpace = COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT
        SurfaceFormat[39]:
            format = FORMAT_A2R10G10B10_UNORM_PACK32
            colorSpace = COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT
        SurfaceFormat[40]:
            format = FORMAT_B8G8R8A8_UNORM
            colorSpace = COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
        SurfaceFormat[41]:
            format = FORMAT_B8G8R8A8_SRGB
            colorSpace = COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
        SurfaceFormat[42]:
            format = FORMAT_R16G16B16A16_SFLOAT
            colorSpace = COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
        SurfaceFormat[43]:
            format = FORMAT_A2B10G10R10_UNORM_PACK32
            colorSpace = COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
        SurfaceFormat[44]:
            format = FORMAT_A2R10G10B10_UNORM_PACK32
            colorSpace = COLOR_SPACE_DISPLAY_P3_LINEAR_EXT
        SurfaceFormat[45]:
            format = FORMAT_B8G8R8A8_UNORM
            colorSpace = COLOR_SPACE_BT2020_LINEAR_EXT
        SurfaceFormat[46]:
            format = FORMAT_B8G8R8A8_SRGB
            colorSpace = COLOR_SPACE_BT2020_LINEAR_EXT
        SurfaceFormat[47]:
            format = FORMAT_R16G16B16A16_SFLOAT
            colorSpace = COLOR_SPACE_BT2020_LINEAR_EXT
        SurfaceFormat[48]:
            format = FORMAT_A2B10G10R10_UNORM_PACK32
            colorSpace = COLOR_SPACE_BT2020_LINEAR_EXT
        SurfaceFormat[49]:
            format = FORMAT_A2R10G10B10_UNORM_PACK32
            colorSpace = COLOR_SPACE_BT2020_LINEAR_EXT
    Present Modes: count = 2
        PRESENT_MODE_FIFO_KHR
        PRESENT_MODE_IMMEDIATE_KHR
    VkSurfaceCapabilitiesKHR:
    -------------------------
        minImageCount = 2
        maxImageCount = 3
        currentExtent:
            width  = 256
            height = 256
        minImageExtent:
            width  = 1
            height = 1
        maxImageExtent:
            width  = 16384
            height = 16384
        maxImageArrayLayers = 1
        supportedTransforms: count = 1
            SURFACE_TRANSFORM_IDENTITY_BIT_KHR
        currentTransform = SURFACE_TRANSFORM_IDENTITY_BIT_KHR
        supportedCompositeAlpha: count = 3
            COMPOSITE_ALPHA_OPAQUE_BIT_KHR
            COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR
            COMPOSITE_ALPHA_INHERIT_BIT_KHR
        supportedUsageFlags: count = 5
            IMAGE_USAGE_TRANSFER_SRC_BIT
            IMAGE_USAGE_TRANSFER_DST_BIT
            IMAGE_USAGE_SAMPLED_BIT
            IMAGE_USAGE_STORAGE_BIT
            IMAGE_USAGE_COLOR_ATTACHMENT_BIT

Device Groups:
==============
Group 0:
    Properties:
        physicalDevices: count = 1
            Intel(R) Iris(TM) Graphics 6000 (ID: 0)
        subsetAllocation = 0

    Present Capabilities:
        Intel(R) Iris(TM) Graphics 6000 (ID: 0):
            Can present images from the following devices: count = 1
                Intel(R) Iris(TM) Graphics 6000 (ID: 0)
        Present modes: count = 1
            DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR

Device Properties and Extensions:
=================================
GPU0:
VkPhysicalDeviceProperties:
---------------------------
    apiVersion        = 4198616 (1.1.216)
    driverVersion     = 10110 (0x277e)
    vendorID          = 0x8086
    deviceID          = 0x1626
    deviceType        = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
    deviceName        = Intel(R) Iris(TM) Graphics 6000
    pipelineCacheUUID = 334e0cee-0a0f-07d1-0000-000000000000

VkPhysicalDeviceLimits:
-----------------------
    maxImageDimension1D                             = 16384
    maxImageDimension2D                             = 16384
    maxImageDimension3D                             = 2048
    maxImageDimensionCube                           = 16384
    maxImageArrayLayers                             = 2048
    maxTexelBufferElements                          = 67108864
    maxUniformBufferRange                           = 65536
    maxStorageBufferRange                           = 2147483648
    maxPushConstantsSize                            = 4096
    maxMemoryAllocationCount                        = 1073741824
    maxSamplerAllocationCount                       = 1073741824
    bufferImageGranularity                          = 0x00000100
    sparseAddressSpaceSize                          = 0x00000000
    maxBoundDescriptorSets                          = 8
    maxPerStageDescriptorSamplers                   = 16
    maxPerStageDescriptorUniformBuffers             = 31
    maxPerStageDescriptorStorageBuffers             = 31
    maxPerStageDescriptorSampledImages              = 128
    maxPerStageDescriptorStorageImages              = 8
    maxPerStageDescriptorInputAttachments           = 128
    maxPerStageResources                            = 159
    maxDescriptorSetSamplers                        = 80
    maxDescriptorSetUniformBuffers                  = 155
    maxDescriptorSetUniformBuffersDynamic           = 155
    maxDescriptorSetStorageBuffers                  = 155
    maxDescriptorSetStorageBuffersDynamic           = 155
    maxDescriptorSetSampledImages                   = 640
    maxDescriptorSetStorageImages                   = 40
    maxDescriptorSetInputAttachments                = 640
    maxVertexInputAttributes                        = 31
    maxVertexInputBindings                          = 31
    maxVertexInputAttributeOffset                   = 2047
    maxVertexInputBindingStride                     = 2048
    maxVertexOutputComponents                       = 124
    maxTessellationGenerationLevel                  = 64
    maxTessellationPatchSize                        = 32
    maxTessellationControlPerVertexInputComponents  = 124
    maxTessellationControlPerVertexOutputComponents = 124
    maxTessellationControlPerPatchOutputComponents  = 120
    maxTessellationControlTotalOutputComponents     = 4088
    maxTessellationEvaluationInputComponents        = 124
    maxTessellationEvaluationOutputComponents       = 124
    maxGeometryShaderInvocations                    = 0
    maxGeometryInputComponents                      = 0
    maxGeometryOutputComponents                     = 0
    maxGeometryOutputVertices                       = 0
    maxGeometryTotalOutputComponents                = 0
    maxFragmentInputComponents                      = 124
    maxFragmentOutputAttachments                    = 8
    maxFragmentDualSrcAttachments                   = 1
    maxFragmentCombinedOutputResources              = 159
    maxComputeSharedMemorySize                      = 32768
    maxComputeWorkGroupCount: count = 3
        1073741824
        1073741824
        1073741824
    maxComputeWorkGroupInvocations                  = 1024
    maxComputeWorkGroupSize: count = 3
        1024
        1024
        1024
    subPixelPrecisionBits                           = 4
    subTexelPrecisionBits                           = 4
    mipmapPrecisionBits                             = 4
    maxDrawIndexedIndexValue                        = 4294967295
    maxDrawIndirectCount                            = 1073741824
    maxSamplerLodBias                               = 4
    maxSamplerAnisotropy                            = 16
    maxViewports                                    = 16
    maxViewportDimensions: count = 2
        16384
        16384
    viewportBoundsRange: count = 2
        -32768
        32767
    viewportSubPixelBits                            = 0
    minMemoryMapAlignment                           = 256
    minTexelBufferOffsetAlignment                   = 0x00000010
    minUniformBufferOffsetAlignment                 = 0x00000100
    minStorageBufferOffsetAlignment                 = 0x00000010
    minTexelOffset                                  = -8
    maxTexelOffset                                  = 7
    minTexelGatherOffset                            = -8
    maxTexelGatherOffset                            = 7
    minInterpolationOffset                          = -0.5
    maxInterpolationOffset                          = 0.5
    subPixelInterpolationOffsetBits                 = 4
    maxFramebufferWidth                             = 16384
    maxFramebufferHeight                            = 16384
    maxFramebufferLayers                            = 2048
    framebufferColorSampleCounts: count = 4
        SAMPLE_COUNT_1_BIT
        SAMPLE_COUNT_2_BIT
        SAMPLE_COUNT_4_BIT
        SAMPLE_COUNT_8_BIT
    framebufferDepthSampleCounts: count = 4
        SAMPLE_COUNT_1_BIT
        SAMPLE_COUNT_2_BIT
        SAMPLE_COUNT_4_BIT
        SAMPLE_COUNT_8_BIT
    framebufferStencilSampleCounts: count = 4
        SAMPLE_COUNT_1_BIT
        SAMPLE_COUNT_2_BIT
        SAMPLE_COUNT_4_BIT
        SAMPLE_COUNT_8_BIT
    framebufferNoAttachmentsSampleCounts: count = 4
        SAMPLE_COUNT_1_BIT
        SAMPLE_COUNT_2_BIT
        SAMPLE_COUNT_4_BIT
        SAMPLE_COUNT_8_BIT
    maxColorAttachments                             = 8
    sampledImageColorSampleCounts: count = 4
        SAMPLE_COUNT_1_BIT
        SAMPLE_COUNT_2_BIT
        SAMPLE_COUNT_4_BIT
        SAMPLE_COUNT_8_BIT
    sampledImageIntegerSampleCounts: count = 4
        SAMPLE_COUNT_1_BIT
        SAMPLE_COUNT_2_BIT
        SAMPLE_COUNT_4_BIT
        SAMPLE_COUNT_8_BIT
    sampledImageDepthSampleCounts: count = 4
        SAMPLE_COUNT_1_BIT
        SAMPLE_COUNT_2_BIT
        SAMPLE_COUNT_4_BIT
        SAMPLE_COUNT_8_BIT
    sampledImageStencilSampleCounts: count = 4
        SAMPLE_COUNT_1_BIT
        SAMPLE_COUNT_2_BIT
        SAMPLE_COUNT_4_BIT
        SAMPLE_COUNT_8_BIT
    storageImageSampleCounts: count = 1
        SAMPLE_COUNT_1_BIT
    maxSampleMaskWords                              = 1
    timestampComputeAndGraphics                     = true
    timestampPeriod                                 = 1
    maxClipDistances                                = 1073741824
    maxCullDistances                                = 0
    maxCombinedClipAndCullDistances                 = 1073741824
    discreteQueuePriorities                         = 2
    pointSizeRange: count = 2
        1
        256
    lineWidthRange: count = 2
        1
        1
    pointSizeGranularity                            = 1
    lineWidthGranularity                            = 0
    strictLines                                     = true
    standardSampleLocations                         = true
    optimalBufferCopyOffsetAlignment                = 0x00000100
    optimalBufferCopyRowPitchAlignment              = 0x00000001
    nonCoherentAtomSize                             = 0x00000100

VkPhysicalDeviceSparseProperties:
---------------------------------
    residencyStandard2DBlockShape            = false
    residencyStandard2DMultisampleBlockShape = false
    residencyStandard3DBlockShape            = false
    residencyAlignedMipSize                  = false
    residencyNonResidentStrict               = false

VkPhysicalDeviceDepthStencilResolvePropertiesKHR:
-------------------------------------------------
    supportedDepthResolveModes: count = 1
        RESOLVE_MODE_SAMPLE_ZERO_BIT
    supportedStencilResolveModes: count = 1
        RESOLVE_MODE_SAMPLE_ZERO_BIT
    independentResolveNone = true
    independentResolve     = true

VkPhysicalDeviceDescriptorIndexingPropertiesEXT:
------------------------------------------------
    maxUpdateAfterBindDescriptorsInAllPools              = 1073741824
    shaderUniformBufferArrayNonUniformIndexingNative     = false
    shaderSampledImageArrayNonUniformIndexingNative      = true
    shaderStorageBufferArrayNonUniformIndexingNative     = false
    shaderStorageImageArrayNonUniformIndexingNative      = true
    shaderInputAttachmentArrayNonUniformIndexingNative   = true
    robustBufferAccessUpdateAfterBind                    = true
    quadDivergentImplicitLod                             = false
    maxPerStageDescriptorUpdateAfterBindSamplers         = 16
    maxPerStageDescriptorUpdateAfterBindUniformBuffers   = 31
    maxPerStageDescriptorUpdateAfterBindStorageBuffers   = 31
    maxPerStageDescriptorUpdateAfterBindSampledImages    = 128
    maxPerStageDescriptorUpdateAfterBindStorageImages    = 8
    maxPerStageDescriptorUpdateAfterBindInputAttachments = 128
    maxPerStageUpdateAfterBindResources                  = 159
    maxDescriptorSetUpdateAfterBindSamplers              = 80
    maxDescriptorSetUpdateAfterBindUniformBuffers        = 155
    maxDescriptorSetUpdateAfterBindUniformBuffersDynamic = 155
    maxDescriptorSetUpdateAfterBindStorageBuffers        = 155
    maxDescriptorSetUpdateAfterBindStorageBuffersDynamic = 155
    maxDescriptorSetUpdateAfterBindSampledImages         = 640
    maxDescriptorSetUpdateAfterBindStorageImages         = 40
    maxDescriptorSetUpdateAfterBindInputAttachments      = 640

VkPhysicalDeviceDriverPropertiesKHR:
------------------------------------
    driverID        = DRIVER_ID_MOLTENVK
    driverName      = MoltenVK
    driverInfo      = 1.1.10
    conformanceVersion:
        major    = 0
        minor    = 0
        subminor = 0
        patch    = 0

VkPhysicalDeviceFragmentShaderBarycentricPropertiesKHR:
-------------------------------------------------------
    triStripVertexOrderIndependentOfProvokingVertex = false

VkPhysicalDeviceIDProperties:
-----------------------------
    deviceUUID      = 00008086-0000-1626-0000-000100000412
    driverUUID      = 4d564b00-0000-277e-0a0f-07d100000000
    deviceNodeMask  = 0
    deviceLUIDValid = false

VkPhysicalDeviceInlineUniformBlockPropertiesEXT:
------------------------------------------------
    maxInlineUniformBlockSize                               = 4096
    maxPerStageDescriptorInlineUniformBlocks                = 13
    maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks = 13
    maxDescriptorSetInlineUniformBlocks                     = 52
    maxDescriptorSetUpdateAfterBindInlineUniformBlocks      = 52

VkPhysicalDeviceMaintenance3Properties:
---------------------------------------
    maxPerSetDescriptors    = 700
    maxMemoryAllocationSize = 0x80000000

VkPhysicalDeviceMultiviewProperties:
------------------------------------
    maxMultiviewViewCount     = 32
    maxMultiviewInstanceIndex = 134217727

VkPhysicalDevicePointClippingProperties:
----------------------------------------
    pointClippingBehavior = POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES

VkPhysicalDevicePortabilitySubsetPropertiesKHR:
-----------------------------------------------
    minVertexInputBindingStrideAlignment = 4

VkPhysicalDeviceProtectedMemoryProperties:
------------------------------------------
    protectedNoFault = false

VkPhysicalDevicePushDescriptorPropertiesKHR:
--------------------------------------------
    maxPushDescriptors = 159

VkPhysicalDeviceRobustness2PropertiesEXT:
-----------------------------------------
    robustStorageBufferAccessSizeAlignment = 0x00000001
    robustUniformBufferAccessSizeAlignment = 0x00000001

VkPhysicalDeviceSampleLocationsPropertiesEXT:
---------------------------------------------
    sampleLocationSampleCounts: count = 4
        SAMPLE_COUNT_1_BIT
        SAMPLE_COUNT_2_BIT
        SAMPLE_COUNT_4_BIT
        SAMPLE_COUNT_8_BIT
    maxSampleLocationGridSize:
        width  = 1
        height = 1
    sampleLocationCoordinateRange: count = 2
        0
        0.9375
    sampleLocationSubPixelBits       = 4
    variableSampleLocations          = false

VkPhysicalDeviceSubgroupProperties:
-----------------------------------
    subgroupSize              = 1
    supportedStages: count = 5
        SHADER_STAGE_TESSELLATION_CONTROL_BIT
        SHADER_STAGE_FRAGMENT_BIT
        SHADER_STAGE_COMPUTE_BIT
        SHADER_STAGE_ALL_GRAPHICS
        SHADER_STAGE_ALL
    supportedOperations: count = 1
        SUBGROUP_FEATURE_BASIC_BIT
    quadOperationsInAllStages = false

VkPhysicalDeviceSubgroupSizeControlPropertiesEXT:
-------------------------------------------------
    minSubgroupSize              = 1
    maxSubgroupSize              = 1
    maxComputeWorkgroupSubgroups = 1024
    requiredSubgroupSizeStages:
        None

VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT:
--------------------------------------------------
    storageTexelBufferOffsetAlignmentBytes       = 0x00000010
    storageTexelBufferOffsetSingleTexelAlignment = true
    uniformTexelBufferOffsetAlignmentBytes       = 0x00000010
    uniformTexelBufferOffsetSingleTexelAlignment = true

VkPhysicalDeviceTimelineSemaphorePropertiesKHR:
-----------------------------------------------
    maxTimelineSemaphoreValueDifference = 18446744073709551615

VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT:
----------------------------------------------------
    maxVertexAttribDivisor = 1073741824

Device Extensions: count = 59
-----------------------------
    VK_AMD_gpu_shader_half_float          : extension revision 2
    VK_AMD_negative_viewport_height       : extension revision 1
    VK_AMD_shader_trinary_minmax          : extension revision 1
    VK_EXT_debug_marker                   : extension revision 4
    VK_EXT_descriptor_indexing            : extension revision 2
    VK_EXT_fragment_shader_interlock      : extension revision 1
    VK_EXT_hdr_metadata                   : extension revision 2
    VK_EXT_host_query_reset               : extension revision 1
    VK_EXT_image_robustness               : extension revision 1
    VK_EXT_inline_uniform_block           : extension revision 1
    VK_EXT_memory_budget                  : extension revision 1
    VK_EXT_private_data                   : extension revision 1
    VK_EXT_robustness2                    : extension revision 1
    VK_EXT_sample_locations               : extension revision 1
    VK_EXT_scalar_block_layout            : extension revision 1
    VK_EXT_separate_stencil_usage         : extension revision 1
    VK_EXT_shader_viewport_index_layer    : extension revision 1
    VK_EXT_subgroup_size_control          : extension revision 2
    VK_EXT_texel_buffer_alignment         : extension revision 1
    VK_EXT_vertex_attribute_divisor       : extension revision 3
    VK_GOOGLE_display_timing              : extension revision 1
    VK_INTEL_shader_integer_functions2    : extension revision 1
    VK_KHR_16bit_storage                  : extension revision 1
    VK_KHR_8bit_storage                   : extension revision 1
    VK_KHR_bind_memory2                   : extension revision 1
    VK_KHR_create_renderpass2             : extension revision 1
    VK_KHR_dedicated_allocation           : extension revision 3
    VK_KHR_depth_stencil_resolve          : extension revision 1
    VK_KHR_descriptor_update_template     : extension revision 1
    VK_KHR_device_group                   : extension revision 4
    VK_KHR_driver_properties              : extension revision 1
    VK_KHR_dynamic_rendering              : extension revision 1
    VK_KHR_external_fence                 : extension revision 1
    VK_KHR_external_memory                : extension revision 1
    VK_KHR_external_semaphore             : extension revision 1
    VK_KHR_fragment_shader_barycentric    : extension revision 1
    VK_KHR_get_memory_requirements2       : extension revision 1
    VK_KHR_image_format_list              : extension revision 1
    VK_KHR_imageless_framebuffer          : extension revision 1
    VK_KHR_maintenance1                   : extension revision 2
    VK_KHR_maintenance2                   : extension revision 1
    VK_KHR_maintenance3                   : extension revision 1
    VK_KHR_multiview                      : extension revision 1
    VK_KHR_portability_subset             : extension revision 1
    VK_KHR_push_descriptor                : extension revision 2
    VK_KHR_relaxed_block_layout           : extension revision 1
    VK_KHR_sampler_mirror_clamp_to_edge   : extension revision 3
    VK_KHR_sampler_ycbcr_conversion       : extension revision 14
    VK_KHR_separate_depth_stencil_layouts : extension revision 1
    VK_KHR_shader_draw_parameters         : extension revision 1
    VK_KHR_shader_float16_int8            : extension revision 1
    VK_KHR_storage_buffer_storage_class   : extension revision 1
    VK_KHR_swapchain                      : extension revision 70
    VK_KHR_swapchain_mutable_format       : extension revision 1
    VK_KHR_timeline_semaphore             : extension revision 2
    VK_KHR_uniform_buffer_standard_layout : extension revision 1
    VK_KHR_variable_pointers              : extension revision 1
    VK_NV_fragment_shader_barycentric     : extension revision 1
    VK_NV_glsl_shader                     : extension revision 1

VkQueueFamilyProperties:
========================
    queueProperties[0]:
    -------------------
        minImageTransferGranularity = (1,1,1)
        queueCount                  = 1
        queueFlags                  = QUEUE_GRAPHICS | QUEUE_COMPUTE | QUEUE_TRANSFER
        timestampValidBits          = 64
        present support             = true

    queueProperties[1]:
    -------------------
        minImageTransferGranularity = (1,1,1)
        queueCount                  = 1
        queueFlags                  = QUEUE_GRAPHICS | QUEUE_COMPUTE | QUEUE_TRANSFER
        timestampValidBits          = 64
        present support             = true

    queueProperties[2]:
    -------------------
        minImageTransferGranularity = (1,1,1)
        queueCount                  = 1
        queueFlags                  = QUEUE_GRAPHICS | QUEUE_COMPUTE | QUEUE_TRANSFER
        timestampValidBits          = 64
        present support             = true

    queueProperties[3]:
    -------------------
        minImageTransferGranularity = (1,1,1)
        queueCount                  = 1
        queueFlags                  = QUEUE_GRAPHICS | QUEUE_COMPUTE | QUEUE_TRANSFER
        timestampValidBits          = 64
        present support             = true

VkPhysicalDeviceMemoryProperties:
=================================
memoryHeaps: count = 1
    memoryHeaps[0]:
        size   = 8589934592 (0x200000000) (8.00 GiB)
        budget = 1610612736 (0x60000000) (1.50 GiB)
        usage  = 0 (0x00000000) (0.00 B)
        flags: count = 1
            MEMORY_HEAP_DEVICE_LOCAL_BIT
memoryTypes: count = 3
    memoryTypes[0]:
        heapIndex     = 0
        propertyFlags = 0x0001: count = 1
            MEMORY_PROPERTY_DEVICE_LOCAL_BIT
        usable for:
            IMAGE_TILING_OPTIMAL:
                color images
                FORMAT_D16_UNORM
                FORMAT_D32_SFLOAT
                FORMAT_S8_UINT
                FORMAT_D32_SFLOAT_S8_UINT
                (non-sparse)
            IMAGE_TILING_LINEAR:
                color images
                (non-sparse, non-transient)
    memoryTypes[1]:
        heapIndex     = 0
        propertyFlags = 0x000f: count = 4
            MEMORY_PROPERTY_DEVICE_LOCAL_BIT
            MEMORY_PROPERTY_HOST_VISIBLE_BIT
            MEMORY_PROPERTY_HOST_COHERENT_BIT
            MEMORY_PROPERTY_HOST_CACHED_BIT
        usable for:
            IMAGE_TILING_OPTIMAL:
                None
            IMAGE_TILING_LINEAR:
                color images
                (non-sparse, non-transient)
    memoryTypes[2]:
        heapIndex     = 0
        propertyFlags = 0x000b: count = 3
            MEMORY_PROPERTY_DEVICE_LOCAL_BIT
            MEMORY_PROPERTY_HOST_VISIBLE_BIT
            MEMORY_PROPERTY_HOST_CACHED_BIT
        usable for:
            IMAGE_TILING_OPTIMAL:
                color images
                (non-sparse)
            IMAGE_TILING_LINEAR:
                color images
                (non-sparse, non-transient)

VkPhysicalDeviceFeatures:
=========================
    robustBufferAccess                      = true
    fullDrawIndexUint32                     = true
    imageCubeArray                          = true
    independentBlend                        = true
    geometryShader                          = false
    tessellationShader                      = true
    sampleRateShading                       = true
    dualSrcBlend                            = true
    logicOp                                 = false
    multiDrawIndirect                       = true
    drawIndirectFirstInstance               = true
    depthClamp                              = true
    depthBiasClamp                          = true
    fillModeNonSolid                        = true
    depthBounds                             = false
    wideLines                               = false
    largePoints                             = true
    alphaToOne                              = true
    multiViewport                           = true
    samplerAnisotropy                       = true
    textureCompressionETC2                  = false
    textureCompressionASTC_LDR              = false
    textureCompressionBC                    = true
    occlusionQueryPrecise                   = true
    pipelineStatisticsQuery                 = false
    vertexPipelineStoresAndAtomics          = true
    fragmentStoresAndAtomics                = true
    shaderTessellationAndGeometryPointSize  = true
    shaderImageGatherExtended               = true
    shaderStorageImageExtendedFormats       = true
    shaderStorageImageMultisample           = false
    shaderStorageImageReadWithoutFormat     = true
    shaderStorageImageWriteWithoutFormat    = true
    shaderUniformBufferArrayDynamicIndexing = true
    shaderSampledImageArrayDynamicIndexing  = true
    shaderStorageBufferArrayDynamicIndexing = true
    shaderStorageImageArrayDynamicIndexing  = true
    shaderClipDistance                      = true
    shaderCullDistance                      = false
    shaderFloat64                           = false
    shaderInt64                             = false
    shaderInt16                             = true
    shaderResourceResidency                 = false
    shaderResourceMinLod                    = true
    sparseBinding                           = false
    sparseResidencyBuffer                   = false
    sparseResidencyImage2D                  = false
    sparseResidencyImage3D                  = false
    sparseResidency2Samples                 = false
    sparseResidency4Samples                 = false
    sparseResidency8Samples                 = false
    sparseResidency16Samples                = false
    sparseResidencyAliased                  = false
    variableMultisampleRate                 = false
    inheritedQueries                        = true

VkPhysicalDevice16BitStorageFeatures:
-------------------------------------
    storageBuffer16BitAccess           = true
    uniformAndStorageBuffer16BitAccess = true
    storagePushConstant16              = true
    storageInputOutput16               = true

VkPhysicalDevice8BitStorageFeaturesKHR:
---------------------------------------
    storageBuffer8BitAccess           = true
    uniformAndStorageBuffer8BitAccess = true
    storagePushConstant8              = true

VkPhysicalDeviceDescriptorIndexingFeaturesEXT:
----------------------------------------------
    shaderInputAttachmentArrayDynamicIndexing          = true
    shaderUniformTexelBufferArrayDynamicIndexing       = true
    shaderStorageTexelBufferArrayDynamicIndexing       = true
    shaderUniformBufferArrayNonUniformIndexing         = false
    shaderSampledImageArrayNonUniformIndexing          = true
    shaderStorageBufferArrayNonUniformIndexing         = false
    shaderStorageImageArrayNonUniformIndexing          = true
    shaderInputAttachmentArrayNonUniformIndexing       = true
    shaderUniformTexelBufferArrayNonUniformIndexing    = true
    shaderStorageTexelBufferArrayNonUniformIndexing    = true
    descriptorBindingUniformBufferUpdateAfterBind      = true
    descriptorBindingSampledImageUpdateAfterBind       = true
    descriptorBindingStorageImageUpdateAfterBind       = true
    descriptorBindingStorageBufferUpdateAfterBind      = true
    descriptorBindingUniformTexelBufferUpdateAfterBind = true
    descriptorBindingStorageTexelBufferUpdateAfterBind = true
    descriptorBindingUpdateUnusedWhilePending          = true
    descriptorBindingPartiallyBound                    = true
    descriptorBindingVariableDescriptorCount           = true
    runtimeDescriptorArray                             = true

VkPhysicalDeviceDynamicRenderingFeaturesKHR:
--------------------------------------------
    dynamicRendering = true

VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR:
-----------------------------------------------------
    fragmentShaderBarycentric = true

VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT:
---------------------------------------------------
    fragmentShaderSampleInterlock      = true
    fragmentShaderPixelInterlock       = true
    fragmentShaderShadingRateInterlock = false

VkPhysicalDeviceHostQueryResetFeaturesEXT:
------------------------------------------
    hostQueryReset = true

VkPhysicalDeviceImageRobustnessFeaturesEXT:
-------------------------------------------
    robustImageAccess = true

VkPhysicalDeviceImagelessFramebufferFeaturesKHR:
------------------------------------------------
    imagelessFramebuffer = true

VkPhysicalDeviceInlineUniformBlockFeaturesEXT:
----------------------------------------------
    inlineUniformBlock                                 = true
    descriptorBindingInlineUniformBlockUpdateAfterBind = true

VkPhysicalDeviceMultiviewFeatures:
----------------------------------
    multiview                   = true
    multiviewGeometryShader     = false
    multiviewTessellationShader = false

VkPhysicalDevicePortabilitySubsetFeaturesKHR:
---------------------------------------------
    constantAlphaColorBlendFactors         = true
    events                                 = true
    imageViewFormatReinterpretation        = true
    imageViewFormatSwizzle                 = false
    imageView2DOn3DImage                   = false
    multisampleArrayImage                  = true
    mutableComparisonSamplers              = true
    pointPolygons                          = false
    samplerMipLodBias                      = false
    separateStencilMaskRef                 = true
    shaderSampleRateInterpolationFunctions = false
    tessellationIsolines                   = false
    tessellationPointMode                  = false
    triangleFans                           = false
    vertexAttributeAccessBeyondStride      = true

VkPhysicalDevicePrivateDataFeaturesEXT:
---------------------------------------
    privateData = true

VkPhysicalDeviceProtectedMemoryFeatures:
----------------------------------------
    protectedMemory = false

VkPhysicalDeviceRobustness2FeaturesEXT:
---------------------------------------
    robustBufferAccess2 = false
    robustImageAccess2  = true
    nullDescriptor      = false

VkPhysicalDeviceSamplerYcbcrConversionFeatures:
-----------------------------------------------
    samplerYcbcrConversion = true

VkPhysicalDeviceScalarBlockLayoutFeaturesEXT:
---------------------------------------------
    scalarBlockLayout = true

VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR:
-------------------------------------------------------
    separateDepthStencilLayouts = true

VkPhysicalDeviceShaderDrawParametersFeatures:
---------------------------------------------
    shaderDrawParameters = true

VkPhysicalDeviceFloat16Int8FeaturesKHR:
---------------------------------------
    shaderFloat16 = true
    shaderInt8    = true

VkPhysicalDeviceSubgroupSizeControlFeaturesEXT:
-----------------------------------------------
    subgroupSizeControl  = false
    computeFullSubgroups = false

VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT:
------------------------------------------------
    texelBufferAlignment = true

VkPhysicalDeviceTimelineSemaphoreFeaturesKHR:
---------------------------------------------
    timelineSemaphore = true

VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR:
-------------------------------------------------------
    uniformBufferStandardLayout = true

VkPhysicalDeviceVariablePointersFeatures:
-----------------------------------------
    variablePointersStorageBuffer = true
    variablePointers              = true

VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT:
--------------------------------------------------
    vertexAttributeInstanceRateDivisor     = true
    vertexAttributeInstanceRateZeroDivisor = true
agserm commented 2 years ago

Thanks for providing this output. I looked over the log and nothing seems obviously incorrect. I am very curious what is failing. So the next step is to run the CsPaint demo with the following environment variable set.

export VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation:VK_LAYER_LUNARG_api_dump

This will produce a large debugging output and I would like to see the entire log. Please compress this using zip or BZ2 and upload to some sort of dropbox or email it to us directly (info at copperspice.com).