termux-packages icon indicating copy to clipboard operation
termux-packages copied to clipboard

[Package]: Add panfrost OpenGL support in Mesa package and add a package mesa-vulkan-icd-panfrost

Open alexdvn opened this issue 4 months ago • 5 comments

Why is it worth to add this package?

I have a Mali G57 MC2 CPU, panfrost Is the supported driver for it. It would be nice to add a panfrost driver. As it would make using Hardware Accleration easier on my GPU. I tried with glibc and proot ubuntu and neither works.

Home page URL

No response

Source code URL

https://gitlab.freedesktop.org/mesa/mesa/

Packaging policy acknowledgement

  • [x] The project is actively developed.

  • [x] The project has existing packages and is "well known".

  • [x] Licensed under an open source license.

  • [x] Not available through a language package manager: pip, npm, cpan, cargo, etc.

  • [x] Not taking up too much disk space (< 100MiB per architecture, exceptions can be made)

  • [x] Not duplicating the functionality of existing packages.

  • [x] Not serving hacking, malware, phishing, spamming, spying, ddos functionality.

  • [x] I certify that I have read Termux Packaging Policy and understand that my request will be denied if it is found lacking.

Additional information

No response

alexdvn avatar Aug 05 '25 16:08 alexdvn

The only kernel driver that Mali uses is kbase, when we talk about panfrost/panvk we would now need panfrost_drm/panthor_drm on a kernel 6 or higher.

tokokudo avatar Aug 09 '25 22:08 tokokudo

The only kernel driver that Mali uses is kbase, when we talk about panfrost/panvk we would now need panfrost_drm/panthor_drm on a kernel 6 or higher.

But new phone has kernel 6, but not sure about panfrost drm

IntinteDAO avatar Aug 10 '25 15:08 IntinteDAO

The only kernel driver that Mali uses is kbase, when we talk about panfrost/panvk we would now need panfrost_drm/panthor_drm on a kernel 6 or higher.

But new phone has kernel 6, but not sure about panfrost drm

then try to recompile with panfrost_drm enabled and install the image on your device, getting the table in termux is left for later, less complicated.

tokokudo avatar Aug 10 '25 16:08 tokokudo

I learned that someone did make a panfrost build for termux that reportedly amazingly did work on 2 GPU models but they do not continue work on it unfortunately

https://github.com/Saikatsaha1996/mesa-Panfrost-G610

robertkirkman avatar Dec 07 '25 14:12 robertkirkman

I learned that someone did make a panfrost build for termux that reportedly amazingly did work on 2 GPU models but they do not continue work on it unfortunately

https://github.com/Saikatsaha1996/mesa-Panfrost-G610

https://github.com/tokokudo/mesa-Panfork-android

https://github.com/tokokudo/panfork

tokokudo avatar Dec 07 '25 20:12 tokokudo