Open SolusMonahus opened 1 year ago
Need a 5.x kernel to work
so i don't know how can i add it in termux and set with ubuntu.
it will be possible?
If you have 5.10+ kernel
Kernel 6.2
Kernel 6.2
This is a fake kernel by proot-distro, the kernel used is the device's own
@jacksonphb Let's build the driver, I found the keys to compile. Unfortunately, I can not test because my device is on adreno. I found information that someone was able to run panfrost in thermux.
@SolusMonahus i use mali g57 It is conformant in panfrost but i don't know how i can compile mesa/panfrost
@jacksonphb I found a TV box in Mali G31, I'll try it on it and write back on the result.
@SolusMonahus Any progress.
@jacksonphb I'm having technical difficulties now and I can't assemble the driver, but I found an article where the panfrost driver was assembled in termux.
@SolusMonahus I will compile panfrost and try to circumvent errors during compilation in termux
@jacksonphb
https://gitlab.freedesktop.org/mesa/mesa/-/tree/staging/23.0?ref_type=heads
env CC=gcc-11 CXX=g++-12 meson build -D platforms=x11 -D gallium-extra-hud=false -D vulkan-drivers=panfrost -D gallium-drivers=swrast,panfrost -D llvm=disabled -D tools=panfrost -D egl-native-platform=x11 --prefix /usr -D microsoft-clc=disabled -D valgrind=disabled -D buildtype=release --wipe -D libunwind=disabled -D dri3=enabled -D egl=enabled -D gles2=enabled -D osmesa=true
meson 1.1.0, ninja 1.11.1
@jacksonphb I can't check if the driver works.
@jacksonphb env CC=gcc-11 CXX=g++-12 meson build1 -D platforms=x11 -D gallium-extra-hud=false -D vulkan-drivers=panfrost -D gallium-drivers=swrast,panfrost -D llvm=disabled -D tools=panfrost -D egl-native-platform=x11 --prefix /usr -D microsoft-clc=disabled -D valgrind=disabled -D buildtype=release --wipe -D osmesa=true Or try this option, the compilation passes. You can also try the place g++-12 use g++-11
@SolusMonahus necessary to set LIBGL_DRIVERS_PATH to the location where Mesa was installed.
exemplo LIBGL_DRIVERS_PATH=/usr/lib/aarch64-linux-gnu/dri
use glxinfo
I don't know if panfrost would be viable in termux, I think the best option for mali would be to use virgl.
@jacksonphb from panfrost we only need support vulkan, gl take from virg or zink
Will you add panfrost driver for mali? https://docs.mesa3d.org/drivers/panfrost.html