Skip to content

Mateus2022/mesa-Panfork-android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mesa 3D Graphics Library

Mesa 3D Official Website

Panfork Bifrost/midgard/valhall Support Branch

This branch provides partial support for Mali gXX GPUs and some tXX models.

Compiling

To compile Mesa with support for the Panfrost driver, run the following commands:

CFLAGS="-O3" meson -Dgallium-drivers=panfrost,swrast \
                    -Dvulkan-drivers= \
                    -Dbuildtype=release \
                    -Dllvm=disabled \
                    -Dprefix=/opt/panfrost

ninja -j8 install

System Configuration

After compiling and installing, configure the system to load the correct libraries by adding the installation path to the dynamic linker configuration:

echo /opt/panfrost/lib/aarch64-linux-gnu | sudo tee /etc/ld.so.conf.d/0-panfrost.conf
sudo ldconfig

Testing

To test the installation, install glmark2-es2 and run the test for your GPU:

sudo apt install glmark2-es2-x11 -y

DISPLAY=:1 GALLIUM_DRIVER=panfrost glmark2-es2

About

Mali G610 & 710 GPU Driver for Termux

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 75.0%
  • C++ 19.5%
  • Python 2.4%
  • Assembly 1.4%
  • Meson 0.6%
  • Rust 0.4%
  • Other 0.7%