Custom D.E.O.T. V1.0+/Clockwork OS v0.4 image - With Updated Kernel 5.3.6, Latest Lima Drivers, RA1.8.1, Mupen64+ and much more! (Current version: 191122)

so I have tested the latest lima driver with your

deot_v1+ 191111.img

it works well than never

under the latest lima we can use many other Window Mangers, not just dwm

here is the progress

## install the new libdrm
wget https://dri.freedesktop.org/libdrm/libdrm-2.4.100.tar.bz2
tar jxvf  libdrm-2.4.100.tar.bz2
cd libdrm-2.4.100
./configure --libdir=/usr/lib/arm-linux-gnueabihf
make
sudo make install
cd 

## install the mesa master branch 

sudo apt install g++ meson python3-mako zlib1g-dev libexpat1-dev libdrm-dev flex bison libx11-dev libxext-dev libxdamage-dev libxcb-glx0-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-present-dev libxshmfence-dev libxxf86vm-dev libxrandr-dev libunwind-dev 

git clone https://gitlab.freedesktop.org/mesa/mesa.git
cd mesa

meson build --prefix=/usr/   -Dbuildtype=release   -Dgallium-drivers=kmsro,lima,swrast -Dosmesa=none -Dplatforms=x11,drm,surfaceless -Dllvm=false

sudo ninja -C build/ install

sudo mv /usr/lib/dri/sun4i_drm_dri.so /usr/lib/dri/sun4i_drm_dri.so.old

sudo mv /usr/lib/dri/sun4i-drm_dri.so /usr/lib/dri/sun4i_drm_dri.so

sudo mv  /usr/lib/lima /usr/lib/lima.old/

sudo reboot

this is just to compile the master branch of mesa(git short hash fca2d3ce3fd) into “/usr” which is not a good way,apt upgrade will broke this

it’s better to isolate them into a single folder like /usr/lib/lima
but I just for testing now

no need to change ~/launcher/.xorg_lima.conf, use Lima in the launcher

in the release image I should re-compile the mesa

here is the video shows the glmark2 in HDMI

Happy Hacking

thanks to @shell and @javelinface

4 Likes