mesa-for-android-container icon indicating copy to clipboard operation
mesa-for-android-container copied to clipboard

vkcube fails on device selection

Open SSUPII opened this issue 1 year ago • 2 comments

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.

SSUPII avatar Oct 20 '25 18:10 SSUPII

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.

lfdevs avatar Oct 21 '25 05:10 lfdevs

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.

lfdevs avatar Dec 22 '25 17:12 lfdevs