vkcube fails on device selection
Qualcomm SM8550-AC Snapdragon 8 Gen 2 (4 nm) Octa-core (1x3.36 GHz Cortex-X3 & 2x2.8 GHz Cortex-A715 & 2x2.8 GHz Cortex-A710 & 3x2.0 GHz Cortex-A510) Adreno 740
vkcube is failing with the following output:
$ MESA_LOADER_DRIVER_OVERRIDE=kgsl TU_DEBUG=noconform vkcube
Selected WSI platform: xcb
vkcube: ./cube/cube.c:4153: demo_select_physical_device: Assertion `!err' failed.
zsh: abort MESA_LOADER_DRIVER_OVERRIDE=kgsl TU_DEBUG=noconform vkcube
This is not the case for OpenGL contexts.
This issue has already been mentioned in there: https://github.com/lfdevs/mesa-for-android-container/issues/3
Indeed, during my testing with the Adreno 730, I found that only OpenGL and OpenGL ES worked properly, while Vulkan did not. By contrast, on the Adreno 660, all three—OpenGL, OpenGL ES, and Vulkan—functioned correctly.
I will attempt to fix this bug in the next release. Thank you for your feedback.
Please try unpatched Turnip driver: https://github.com/lfdevs/mesa-for-android-container?tab=readme-ov-file#installation:~:text=Latest%20Release-,Unpatched%20Turnip%20driver,-Debian
It works fine on Adreno 730.