Skip to content

ar37-rs/virgl-angle-termux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 

Repository files navigation

Making virgl setup easier and simpler on termux.

Install:

cd && pkg install wget virglrenderer-android virglrenderer angle-android
rm -rf ~/vgl && wget https://github.com/ar37-rs/virgl-angle-termux/releases/download/latest/vgl && chmod +x ~/vgl

Usage (on desktop environment native termux-x11):

(Read for more info to setup xfce4 desktop for native termux-x11)

Make sure to set config before launching your app like so:

~/vgl use-angle

or use virgl android (fix for some gpus unable to use angle-vulkan issue)

~/vgl use-android

and then simply

~/vgl firefox

or

~/vgl any_termux_x11_binary_app

Usage on wine:

If there's some color issues (if not, skip this), to fix virglrenderer-v1.x.x such incorrect color (or too dark) on d3d (Direct X) apps/games use d3d config like so:

~/vgl cfg-d3d

and then

~/vgl wine any_d3d_games

or

(Read more for info on how install and run wine using xow64 script)

~/vgl ~/xow64 s

to switch back using OpenGL config use command,

~/vgl cfg-gl

Note:

for OpenGL apps/games on wine use OpenGL config as above.

Usage on proot-distro:

Copy vgl file like so:

cp /data/data/com.termux/files/home/vgl /usr/bin/vgl && chmod +x /usr/bin/vgl

Using angle-android (2025.01.07) fix for vulkan crashing on some android 8+

prebuilt vulkan with validation layer (fast and more stable) 13.9 MB:

cd && wget https://github.com/ar37-rs/virgl-angle-termux/releases/download/2.1.24608/angle-android_2.1.24608_aarch64.deb
dpkg -i angle-android_2.1.24608_aarch64.deb

or minimal version (for android 7+) without vulkan validation layer 2.9 MB (slower):

cd && wget https://github.com/ar37-rs/virgl-angle-termux/releases/download/2.1.24570/angle-android_2.1.24570_minimal.deb
dpkg -i angle-android_2.1.24570_minimal.deb

and then repeat usage above.

source code building angle-android from termux official:

https://github.com/termux/termux-packages/tree/master/packages/angle-android

About

Virglrenderer angle-android for Termux (aarch64)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published