mesa-for-android-container icon indicating copy to clipboard operation
mesa-for-android-container copied to clipboard

Add panfrost code from panfork

Open alexdvn opened this issue 1 year ago • 2 comments

Add some panfrost code from the panfork that uses base instead of panfrost_drm. https://github.com/SolDev69/panfrost-gallium-mesa.git this will ensure there is support for Mali

alexdvn avatar Nov 11 '25 20:11 alexdvn

This driver you mentioned is specifically intended for Java Edition Minecraft launchers on Android (such as Fold Craft Launcher). Even though I built it in a Debian 13 Chroot container and tested it on a Pixel 6 Pro (Mali-G78 MP20), it did not work.

Here is the driver - feel free to give it a try: mesa-panfrost-gallium_24.1.0-devel-20251112_debian_arm64.tar.gz

user@localhost:~$ GALLIUM_DRIVER=panfrost glxinfo
name of display: :2
Error: couldn't find RGB GLX visual or fbconfig                               
user@localhost:~$ GALLIUM_DRIVER=panfrost eglinfo
EGL client extensions string:                                                 
Default display platform:
eglinfo: eglInitialize failed                                                 
user@localhost:~$ GALLIUM_DRIVER=panfrost clinfo
Number of platforms                               0

ICD loader properties                                                           ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software         ICD loader Version                              2.3.3
  ICD loader Profile                              OpenCL 3.0
user@localhost:~$ GALLIUM_DRIVER=panfrost glmark2
Error: glXChooseFBConfig() failed
Error: Error: Couldn't get GL visual config!
Error: main: Could not initialize canvas

lfdevs avatar Nov 12 '25 08:11 lfdevs

Panfrost doesn't work on the vast majority of Android devices equipped with Mali GPU, so the statement regarding "support for Mali GPU" has been removed: https://github.com/lfdevs/mesa-for-android-container/commit/ccad12ba0c464023cdcb9dac75bb7bdae416dee5

lfdevs avatar Nov 24 '25 09:11 lfdevs