Difference between revisions of "LIMA"

m (Building)
m (Usage)
Line 18: Line 18:
  
 
== Usage ==
 
== Usage ==
adasd
+
=== Without X ===
 +
 
 +
You can test the driver with kmscube
 +
  # apt-get install -y kmscube
 +
 +
Run and test
 +
  # kmscube
 +
  ......
 +
 
 +
=== With X ===

Revision as of 23:18, 28 August 2019

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