tur icon indicating copy to clipboard operation
tur copied to clipboard

[Help] How do I enable hardware graphics acceleration in termux?

Open JesusChapman opened this issue 2 years ago • 8 comments

Captura de pantalla -2023-05-01 21-47-02

Hi, I am using Ubuntu Jammy lts with Mate, a year ago I used to use graphics acceleration with this

It used to work great on the device I had at the time, it was 32 bit, Snapdragon.

Some time later I now have a new device, it also has a Snapdragon processor with Adreno GPU, 64 bit, the packages available in termux provide basic graphics acceleration, but working, but since it's proot everything there is very slow, I tried to compile enabling all necessary extensions (I had to create some patches for memfd), And the only thing that makes it impossible for me to compile is mesa, I've already tried all possible ways, but I can't compile mesa.

Using zink mesa in this repository I get graphics acceleration in termux but not in proot, I can't even run glxgears in proot

I'm already having a headache, is there any guide to get a good graphics acceleration on a proot distro in termux? Please

Extra note: I am rooted, if this is a benefit for graphics acceleration, please tell me so I can get to work.

Sorry for my bad English

JesusChapman avatar May 02 '23 02:05 JesusChapman

https://ivonblog.com/en-us/posts/termux-virglrenderer/

IntinteDAO avatar May 02 '23 21:05 IntinteDAO

https://ivonblog.com/en-us/posts/termux-virglrenderer/

I already tried that, just mesa doesn't compile.

JesusChapman avatar May 02 '23 22:05 JesusChapman

https://ivonblog.com/en-us/posts/termux-virglrenderer/

I already tried that, just mesa doesn't compile.

You don't need to compile Mesa, cause it's on TUR repository (mesa-zink)

IntinteDAO avatar May 07 '23 07:05 IntinteDAO

https://ivonblog.com/en-us/posts/termux-virglrenderer/

I already tried that, just mesa doesn't compile.

You don't need to compile Mesa, cause it's on TUR repository (mesa-zink)

I already tried, and it doesn't work either

JesusChapman avatar May 08 '23 14:05 JesusChapman

https://ivonblog.com/en-us/posts/termux-virglrenderer/

I already tried that, just mesa doesn't compile.

You don't need to compile Mesa, cause it's on TUR repository (mesa-zink)

I already tried, and it doesn't work either

Does it work on Termux directly?

IntinteDAO avatar May 08 '23 18:05 IntinteDAO

Screenshot_20230510-001703_Termux_X11

I'm not using zink, now virpipe doesn't work.

JesusChapman avatar May 10 '23 05:05 JesusChapman

Accidentally close it, sorry.

licy183 avatar May 20 '23 04:05 licy183

@Yisus7u7

Ok, can you post here "vulkaninfo" from termux result?

IntinteDAO avatar May 23 '23 20:05 IntinteDAO