-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
addpkg(main/mesa-vulkan-icd-wrapper): Android Vulkan wrapper #22500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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. |
@xMeM There seem to be 2 remaining issues:
|
New builds you need to define WRAPPER_DEBUG=bc,placed to have it working |
@paulowesll |
@paulowesll do you have any idea how can i fix this issue it's happened in the latest build, before that it's working fine
Log
Log
|
fixed now and the performance, mean the fps is feel higher, although not that much from 800-1000 to 1353-1500 |
Package: Samsung Galaxy S7 (SM-G930U, Android 8, Adreno 530, Original closed-source
|
Samsung Galaxy S8+ (SM-G955F, Android 14, Mali-G71 MP2, Original closed-source
|
Samsung Galaxy A70 (SM-A705FN, Android 13, Adreno 612,
|
Samsung Galaxy S9 (SM-G960U, Android 10, Adreno 630, Original closed-source
|
Valve Steam Deck OLED (Galileo, Android 13 [bare metal], AMD Sephiroth,
|
@robertkirkman for that mali device try launching it with MESA_VK_WSI_PRESENT_MODE=mailbox MESA_VK_WSI_DEBUG=blit vkmark and see what happened |
Ok
|
i don't know the exact reason bu try this VK_ICD_FILENAMES=/data/data/com.termux/files/usr/share/vulkan/icd.d/wrapper_icd.aarch64.json MESA_VK_WSI_PRESENT_MODE=mailbox MESA_VK_WSI_DEBUG=blit MESA_SHADER_CACHE=512MB MESA_SHADER_CACHE_DISABLE=false vblank_mode=0 or change MESA_VK_WSI_DEBUG value to rgba / noahb might work |
Ok
|
Hi, How should I run this on SD 8s gen 3 adreno 735? I installed it and it directly changes the GPU to zink vulkan. What are the variables needed to be added to the xface4 session and also when running glmark2. Vkmark shows 1301 score while glmark2 on last parts.
|
@roygoraposonjr This is not a In theory, |
@xMeM If there is no update, wouldn't it be okay to merge the pull request? |
If we are mentioning things that would be very interesting to have available from @xMeM this thing (freedreno kgsl opengl mesa) is very amazing and it is very good on Samsung Galaxy A70 SM-A705FN with Adreno 612. I have not gotten it to work on anything else currently but it is the only existing thing I have seen that enables working X11 EGL on Samsung Galaxy A70 and other things like Zink and termux-wsi-layer do not yet (EDIT: UPDATE: EGL is now working with Zink with Turnip with my Adreno 612!). So this driver is possibly very good for Samsung Galaxy A70 even if it is not useful for any other device. xMeM@401982b I am not sure whether you have received feedback about that or knew that it works on some devices, but I would like to let you know that it is good for Samsung Galaxy A70 in case you did not know yet. |
Here are my It is a model equipped with Samsung Exynos2400 It works very well in most environments. but vulkaninfo
vkmark
glxinfo -B
glmark2
glmark2-es2
clinfo
|
@xMeM
This is a common symptom in the above devices. Interestingly, Can you fix it? |
Wrap the Android system Vulkan library into an ICD and provides X11 platform surface support.