Open Trass3r opened 7 months ago
I tested it and found that after enabling the validation layer, I couldn’t get the function address of vkGetMemoryAndroidHardwareBufferANDROID. This might be because the validation layer didn’t build the Android-related extensions. test.c.txt
I tried to enable them: https://github.com/Trass3r/termux-packages/actions/runs/8652307482
It does give different diagnostics at least, like:
Missing extensions required by the device extension VK_ANDROID_external_memory_android_hardware_buffer: VK_KHR_sampler_ycbcr_conversion, VK_EXT_queue_family_foreign
vkGetImageMemoryRequirements(): image was created with a VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID handleType, which has not yet been bound to memory, so image memory requirements can't yet be queried.
vkCreateImageView(): pCreateInfo->format VK_FORMAT_B8G8R8A8_UNORM is different from VkImage 0x100000000010[] format (VK_FORMAT_R8G8B8A8_UNORM). Formats MUST be IDENTICAL unless VK_IMAGE_CREATE_MUTABLE_FORMAT BIT was set on image creation.
Nice now after 0e9e2f5e it's just
VUID-VkImageViewCreateInfo-image-01762(ERROR / SPEC): msgNum: 1695986743 - Validation Error: [ VUID-VkImageViewCreateInfo-image-01762 ] Object 0: handle = 0x80000000008, type = VK_OBJECT_TYPE_IMAGE; | MessageID = 0x6516b437 | vkCreateImageView(): pCreateInfo->format VK_FORMAT_B8G8R8A8_UNORM is different from VkImage 0x80000000008[] format (VK_FORMAT_R8G8B8A8_UNORM). Formats MUST be IDENTICAL unless VK_IMAGE_CREATE_MUTABLE_FORMAT BIT was set on image creation. The Vulkan spec states: If image was not created with the VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT flag, or if the format of the image is a multi-planar format and if subresourceRange.aspectMask is VK_IMAGE_ASPECT_COLOR_BIT, format must be identical to the format used to create image (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-VkImageViewCreateInfo-image-01762)
For vkmark it's similar but with vkCreateImageView(): pCreateInfo->format VK_FORMAT_B8G8R8A8_SRGB
.
@Trass3r
Could you please build the vulkan-wsi-layer deb package
file with the latest commit?
I'm trying to test it on Xclipse 940 / Adreno(TM) 650 / Adreno(TM) 740 / Adreno(TM) 750.
@Trass3r Thank you very much!
@Trass3r Hello sir! How have you been?
I wanted to ask if you could help build the latest deb package for vulkan-wsi-layer
, as there was a new commit about 4 days ago.
I've been trying to build it on my device
with Termux
installed, but the build keeps failing...😭
Could you please build the vulkan-wsi-layer deb package
file with the latest commit?
@hansm629 Hi, I have a new Vulkan wrapper that does not require a layer to provide WSI, can you help test it. https://github.com/xMeM/termux-packages/actions/runs/11551135443
@xMeM Hello Sir! I'm honored to be able to assist with testing! I currently have the following devices, and I'll proceed with testing on them and provide feedback accordingly! :)
@xMeM
Hello Sir,
I've submitted all the mesa-vulkan-wrapper-icd
test result reports from my devices!
It would have been great to include test results for the Adreno 660
and Adreno 730
devices, but unfortunately, I no longer have those two devices.
My reports may not be much, but I hope they’ll be of some help to you in your development efforts! Thank you!
The Vulkan validation layers have just been added. https://github.com/termux/termux-packages/issues/19381
And this layer probably causes the following entries: