Tool/software:
The datasheet of this chip mentions support for OpenGL ES3.2 and Vulkan 1.2 API. The actual precompiled library in evm-10.01.10.04sdk is "libvulkan. so. 1.3.275", which I use to build Vulkan related use cases.
Before running on the board, it has been ensured that the pvrsrvkm driver module of PowerVR related to GPU has been loaded normally. During actual operation, an error code of "-9" was encountered when creating an instance. Here is some core code:
PFN_vkCreateInstance vkCreateInstance = 0; //---------------------------------------- VkInstanceCreateInfo instanceCreateInfo; instanceCreateInfo.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO; instanceCreateInfo.pNext = enabledExtensionFeatures; instanceCreateInfo.flags = 0; if (support_VK_KHR_portability_enumeration) instanceCreateInfo.flags |= VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR; instanceCreateInfo.pApplicationInfo = &applicationInfo; instanceCreateInfo.enabledLayerCount = enabledLayers.size(); instanceCreateInfo.ppEnabledLayerNames = enabledLayers.data(); instanceCreateInfo.enabledExtensionCount = enabledExtensions.size(); instanceCreateInfo.ppEnabledExtensionNames = enabledExtensions.data(); VkInstance instance = 0; ret = vkCreateInstance(&instanceCreateInfo, 0, &instance); if (ret != VK_SUCCESS) { printf("vkCreateInstance failed %d", ret); return -1; }
Based on this, I would like to ask if there are any Vulkan related samples available for am62p, and if this SDK version is still not fully supported, which version is expected to provide full support.