ExaGear-LibGL

LibGL for ExaGear

Watch

https://youtu.be/OTEvzcuRwpo

https://youtu.be/OUkPmuQd5to

https://youtu.be/WF-sBShbEDM

Binary Build by GFOXSH

https://4pda.ru/forum/index.php?showtopic=992239&st=60#entry96395597

Binary Build by Andrômeda (Comment Section)

https://youtu.be/8irT01SMc2Q

How To Compiling Mesa from Source

#Example Mesa3D 20.3.1 Build on Ubuntu 18.04
sudo apt-get build-dep mesa
sudo apt-get install mesa-utils
sudo apt-get install scons flex bison python-mako
wget https://archive.mesa3d.org/mesa-20.3.1.tar.xz
tar -xf mesa-20.3.1.tar.xz
cd mesa-20.3.1
scons force_scons=1 build=release llvm=yes libgl-xlib

How To Install LLVM 11

wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
sudo add-apt-repository 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-11 main'
sudo apt-get update
sudo apt-get install llvm-11-runtime

#Alternative for Ubuntu Bionic+
sudo add-apt-repository ppa:kisak/turtle
sudo apt-get update 
sudo apt-get install llvm-11-runtime

Source Code Fix

src/gallium/drivers/llvmpipe/lp_tex_sample.h
 LP_USE_TEXTURE_CACHE Replace 0 with 1;
 
src/mesa/main/context.c
 "MakeCurrent: incompatible visuals for context and drawbuffer" comment on return GL_FALSE 
 "MakeCurrent: incompatible visuals for context and readbuffer" comment on return GL_FALSE

Credits