[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

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

Print Friendly, PDF & Email
分類: 電腦相關。這篇內容的永久連結

發佈留言

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

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