pelya / debian-noroot

Debian running on Android, without rooting your phone
https://play.google.com/store/apps/details?id=com.cuntubuntu
376 stars 69 forks source link

An experimental setup for 3D hardware acceleration #76

Open Arucard1983 opened 1 year ago

Arucard1983 commented 1 year ago

Few months ago, a programmer managed to get hardware acceleration on rootless prooted Linux apps by using he Pelya's XSDL app or other similar X11 app. This experimental Patch was done using Termux and the native Vulkan driver which is delivered by the phone manufacturer. Since the majority of Linux programs uses OpenGL and few uses Vulkan, they patched Mesa and the Zink Vulkan to OpenGL(ES) wrapper to complete the setup.

This Will only work on Android devices with Vulkan drivers, but the instructions are avaliable on: https://ivonblog.com/en-us/posts/termux-compile-mesa-driver/

If this project could integrate this Patch, it should solve an old limitation.