[LINUX] 臨時筆記BPi用的lima mesa driver編譯(未完成)

Banana Pi M1
Armbian Debian 20.08.3 Buster with Kernel Linux 5.8.11-sunxi

Mesa 3D Graphics Library
https://github.com/mesa3d/mesa
git clone https://github.com/mesa3d/mesa.git
cd mesa
mkdir build
meson build/ --optimization s --buildtype release --prefix=/usr/local --libdir=lib/arm-linux-gnueabihf -Dgallium-drivers=lima,panfrost,kmsro,swrast -Dplatforms=x11,drm,surfaceless -Dvulkan-drivers= -Ddri-drivers= -Dllvm=false -Degl=true -Dgles1=true -Dgles2=true
ninja -C build/
ninja -C build/ install

———-
** v20.3.0
meson build/ –optimization s –buildtype release –prefix=/usr/local –libdir=lib/arm-linux-gnueabihf -Dgallium-drivers=lima,panfrost,kmsro,swrast -Dplatforms=x11 -Dvulkan-drivers= -Ddri-drivers= -Dllvm=disabled -Degl=enabled -Dgles1=enabled -Dgles2=enabled
編譯過程中,問什麼缺,就搜尋關鍵字,安裝缺的套件-dev。
ninja -C build/
ninja -C build/ install
———-

reference:
https://gallium.readthedocs.io/_/downloads/en/latest/pdf/
https://sourceforge.net/p/meson/wiki/Quick%20guide/

Lima kernel driver for ARM Mali400/450
https://github.com/yuq/mesa-lima/wiki
git clone https://gitlab.freedesktop.org/lima/linux.git

Be the first to reply

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

請輸入下列驗證碼計算後阿拉伯數字 (Translate it, if not Taiwanese to post reply) *