Snapdragon 765G(Adreno 620) Test results and Vulkan report
glmark2 test results on PIxel 5 (proot Ubuntu 25:10, Host:Lineage Os 23 A16): 204 Zink result: 31 Llvmpipe result: 53 And yes, same issue with vulkan
Selected WSI platform: xcb
vkcube: ./cube/cube.c:4153: demo_select_physical_device: Assertion `!err' failed.
Aborted
7908 exited, status=134
Its strange what only adreno 660 for now working properly
Also Its not some sort of android issues with vulkan I tried on A11 and result the same
How about Freedreno (kgsl)? Is it work? What's the result when using the command MESA_LOADER_DRIVER_OVERRIDE=kgsl TU_DEBUG=noconform glmark2?
For vulkan, try unpatched Turnip driver: https://github.com/lfdevs/mesa-for-android-container?tab=readme-ov-file#installation
You could download it from here: https://github.com/lfdevs/mesa-for-android-container/releases/tag/turnip-26.0.0-devel-20251215
How about Freedreno (kgsl)? Is it work? What's the result when using the command
MESA_LOADER_DRIVER_OVERRIDE=kgsl TU_DEBUG=noconform glmark2?For vulkan, try unpatched Turnip driver: https://github.com/lfdevs/mesa-for-android-container?tab=readme-ov-file#installation
You could download it from here: https://github.com/lfdevs/mesa-for-android-container/releases/tag/turnip-26.0.0-devel-20251215
For tests I used KGSL Regarding the unpatched driver Won't this remove the KGSL? OpenGL performance is more important to me than Vulkan. I also want to say that I conducted the Zink tests with the driver from the Termux repository in the Termux environment.
With this(standard patched) driver seems vulkan not work at all
Including zink
Won't this remove the KGSL?
No, Freedreno (KGSL) and Turnip can coexist.
I also want to say that I conducted the Zink tests with the driver from the Termux repository in the Termux environment.
Please test in proot or chroot container hosted on Termux. This repo isn't suitable for Termux Native. And mesa includes Zink, so you don't need Zink from other repo.
As I wrote above, the Zink tests were conducted with a driver from the Termux repository, which was not a completely correct comparison. Other tests was in proot Anyway I will try unpached driver
glxgears uses OpenGL, so please set MESA_LOADER_DRIVER_OVERRIDE=kgsl or MESA_LOADER_DRIVER_OVERRIDE=zink.
And how about vkcube?
The same result with MESA_LOADER_DRIVER_OVERRIDE=zink How you can see It's trying to run the zink anyway. KGSL works nice All I was trying to convey was that the vulkan doesn't work. It's screenshot using patched driver Now I'm installing the unpatched one
Vulkan works!
OpenGL too
Nice work!
The same result with MESA_LOADER_DRIVER_OVERRIDE=zink How you can see It's trying to run the zink anyway. KGSL works nice All I was trying to convey was that the vulkan doesn't work. It's screenshot using patched driver Now I'm installing the unpatched one
Alright, I may have misunderstood your point earlier. So the current issue is Turnip (Vulkan) only.
If the unpatched Turnip driver works successfully, you can refer to my two comments in a previous issue to enable coexistence and manual switching between Turnip + Zink and Freedreno (KGSL):
https://github.com/lfdevs/mesa-for-android-container/issues/12#issuecomment-3656613980 https://github.com/lfdevs/mesa-for-android-container/issues/12#issuecomment-3659363921
The same result with MESA_LOADER_DRIVER_OVERRIDE=zink How you can see It's trying to run the zink anyway. KGSL works nice All I was trying to convey was that the vulkan doesn't work. It's screenshot using patched driver Now I'm installing the unpatched one
Alright, I may have misunderstood your point earlier. So the current issue is Turnip (Vulkan) only.
If the unpatched Turnip driver works successfully, you can refer to my two comments in a previous issue to enable coexistence and manual switching between Turnip + Zink and Freedreno (KGSL):
I don't want to open an issue because it not an issue.. Just asking one thing .. Why my device given bad performance
localhost:~$ MESA_LOADER_DRIVER_OVERRIDE=kgsl DISPLAY=:0 glmark2
MESA-LOADER: failed to retrieve device information
MESA: error: kgsl_pipe_get_param:103: invalid param id: 13
=======================================================
glmark2 2023.01
=======================================================
OpenGL Information
GL_VENDOR: freedreno
GL_RENDERER: FD735
GL_VERSION: 4.6 (Compatibility Profile) Mesa 26.0.0-devel (git-dc0ba39df5)
Surface Config: buf=32 r=8 g=8 b=8 a=8 depth=24 stencil=0 samples=0
Surface Size: 800x600 windowed
=======================================================
[build] use-vbo=false: FPS: 964 FrameTime: 1.038 ms
[build] use-vbo=true: FPS: 997 FrameTime: 1.004 ms
[texture] texture-filter=nearest: FPS: 934 FrameTime: 1.071 ms
[texture] texture-filter=linear: FPS: 905 FrameTime: 1.106 ms
[texture] texture-filter=mipmap: FPS: 976 FrameTime: 1.026 ms
[shading] shading=gouraud: FPS: 931 FrameTime: 1.074 ms
[shading] shading=blinn-phong-inf:^C
Inside native termux getting 2x fps and inside proot bad performance.. Anyway to improve?
Proot working in user space Obviously it will work slower than the native Termux