≡
Difference between revisions of "LIMA"
m (→Usage) |
m (→LIMA driver) |
||
Line 28: | Line 28: | ||
=== With X === | === With X === | ||
+ | |||
+ | == FAQ == | ||
+ | === Compilation fail with === | ||
+ | |||
+ | # update-alternatives --config gcc |
Revision as of 23:47, 28 August 2019
Contents
LIMA driver
Building
- Install requirements
# apt-get update # apt-get install -y bison g++ gcc gettext flex libdrm-dev libexpat1-dev libx11-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxdamage-dev libxrandr-dev libxshmfence-dev libxext-dev libxxf86vm-dev meson pkg-config python3-mako python3-pip python3-setuptools python3-wheel zlib1g-dev
- Clone the sources
# git clone --depth=1 --branch 19.1 https://gitlab.freedesktop.org/mesa/mesa
- Configure meson
# cd mesa # meson build -Dvulkan-drivers=[] -Dplatforms=drm,x11 -Ddri-drivers=[] -Dgallium-drivers=lima,kmsro
- Build and install the sources
# ninja -C build # ninja -C build install
Usage
Without X
You can test the driver with kmscube
# apt-get install -y kmscube
Run and test
# kmscube ......
With X
FAQ
Compilation fail with
# update-alternatives --config gcc