Index of /riscv64/DC-ROMA-II-Pad/mesa/

NameLast ModifiedSizeType
../ -  Directory
README.txt2024-Nov-15 19:25:191.2Ktext/plain; charset=utf-8
mesa.tar.gz2024-Nov-14 18:54:1289.3Mapplication/x-gtar-compressed
# To use latest Mesa LLVMPIPE with riscv64 suppport 
---------------------------------------------------

# Get latest stable DRI and Mesa 

mkdir /home/user/mesa    (This will hold our custom Mesa libs)
mkdir /home/user/SRC 
cd /home/user/SRC 

git clone https://gitlab.freedesktop.org/mesa/drm
cd drm/
meson setup build -Dprefix="/home/user/mesa" 
ninja -C build/ 
ninja -C build/ install

cd /home/user/SRC 

# Download mesa-24.2.7.tar.xz 
wget https://archive.mesa3d.org/mesa-24.2.7.tar.xz 
unxz mesa-24.2.7.tar.xz 
tar -xvf mesa-24.2.7.tar
rm mesa-24.2.7.tar 
cd mesa-24.2.7
export PKG_CONFIG_PATH=/home/user/mesa/lib/riscv64-linux-gnu/pkgconfig/:$PKG_CONFIG_PATH
meson setup build -Dprefix="/home/user/mesa" -D glx=xlib -D gallium-drivers=swrast
meson -C build 
meson -C build install

# Now we are ready to run using our new SOFTWARE driver LLVMPIPE 
(make sure your SDL2 is compiled with X11 support) 
export SDL_VIDEODRIVER=x11
export SDL_RENDERER_DRIVER=software

LD_LIBRARY_PATH="/home/user/mesa/lib/riscv64-linux-gnu/" LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=llvmpipe glxgears
LD_LIBRARY_PATH="/home/user/mesa/lib/riscv64-linux-gnu/" LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=llvmpipe glxinfo 


# What works well 

dosbox-x 
exult 

Webserver 1.0