addpkg(main/mesa-vulkan-icd-wrapper): Android Vulkan wrapper - #22500
Conversation
|
For some reasons latest termux-x11 falls with segmentation fault if I launch vkcube. Will investigate it. |
|
Does this support Adreno 505 GPU? I got the following errors. |
|
Uninstall vulkan-wsi-layer , it is no longer needed. |
|
Thanks for the hint. Now, vkcube is working but vulkaninfo fails. |
|
Does not work fine on my device. I get this in X server log. |
This is an issue with vulkan-tools , fixed by KhronosGroup/Vulkan-Tools@2744de9. |
|
Is there any reason why CI built libwayland-protocols and not the actual package? @sylirre ? |
|
@twaik CI built these packages:
icd wrapper has I don't see missing packages. |
|
Oh, I was checking the x86_64 version. |
|
Not tested on x86_64 devices. |
I changed the Usage of AHardwareBuffer, can you try again? |
|
Unfortunately the package is stripped and debug symbols are disabled so there is no much info. |
|
@xMeM vkmark_clear_flickering_issue.mp4 |
|
@xMeM |
|
@xMeM |
|
This version (24.3.1) stopped working with all applications except |
|
It's working with lasted termux-x11 update https://github.com/termux/termux-x11/releases/tag/nightly
|
Updated termux-x11 and install new version of termux-x11-nightly. Nothing change |
|
I managed to get better crash log |
It's working here with lasted mesa wrapper and lasted termux-x11 ~ $ termux-x11 -xstartup vkcube |
|
@xMeM suggestion. Some devices support BGRA format of AHardwareBuffers. It is enough to pass |
|
I also that when running vulkaninfo with termux-x11 this error occurs This error also occurs in version 24.2.5 vulkan wrapper |
|
Even though the blacklist was removed it does not work on x86_64: vulkaninfo and glxgears with zink works fine somehow. |
Is this issue fixed for now? The same issues also happened when using the wrapper with qualcomm's glibc vulkan driver |
|
Sorry for the late reply. Currently, I'm experiencing the same issue in both By the way, Or are you saying you loaded the Qualcomm vulkan driver into the glibc environment via |
yes there are |
|
@fish4terrisa-MSDSM So, does this mean that I can use the |
never tested in proot or termux glibc, only tested in lxc. Idk if selinux will do something and break the driver... I think it's gonna be working tho, given that with this wrapper it doesnt even use dma_heap, but i'm really not so sure |
|
Which is currently the best wrapper/design for the Snapdragon Elite? |
Sir, thank you for your guide and patches. After several attempts, I finally successfully built this package. I tested it on three devices, and it worked well on most of them, except that Zink didn't work on Adreno 730. The detailed test results are as follows:
Adreno 830vkmarkglmark2 (Zink)glmark2-es2 (Zink)Mali-G78 MP20vkmarkglmark2 (Zink)glmark2-es2 (Zink)Adreno 730vkmarkglmark2 (Zink)glmark2-es2 (Zink)Moreover, it’s encouraging that Screenrecorder-2025-11-10-17-10-38-526_1.mp4`blender4` on the other two devices (using `vulkan-wrapper-android`) |
|
hello could https://gitlab.freedesktop.org/nicman23/mesa/-/commit/d3eec9f0c4a45a96dc6ea7cb4f469e49cf64d3ed be added, it fixes a nullptr issue with enumeration on powervr gpus |
Original PR by @xMeM: termux#22500 Some patches are from @robertkirkman: termux#22500 (comment)
|
I believe I'm also hitting that issue with my pixel 10 pro xl on the latest artifacts. |
I've already applied nicman23's patch here: lfdevs#1 (comment) You can try checking whether this issue has been fixed. |
|
It did indeed! |
|
I would simply like to add that the current patch also works on the Google Pixel 8 Pro (Mali-G715) using Mesa 26.0.2 with no extra configuration. I haven't benchmarked it yet, though it seems to work quite well. |
|
Can someone share a new artifact? Current one has expired. |
|
Rebased the branch against the latest state of the |
this is an old version, development continued here with the last update on February 2: |
|
In that case I think we should probably close this PR and reopen a new one if/when the newer version is ready to be added to the Termux repos. I'll leave that decision up to you though since I'm only involved in this PR in passing. |
|
Unfortunately, the person who has been maintaining it decided that they prefer not to make a PR to the repository with it, since they are not confident that they will be able to keep doing it forever |




Wrap the Android system Vulkan library into an ICD and provides X11 platform surface support.