For the ones who are interested in how I compiled mesa3d here are the steps. I was relying on file compile_mesa from src/xorg/ folder. Firstly I downloaded the extensions for compilation like this: tce-load -w extension. (I did that deliberatily one by one because if you do them all in one go many are missed.) Than I loaded them one by one, with the option -i.
www.tinycorelinux.net/16.x/x86_64/tcz/src/xorg/sudo cp -rp /tmp/tcloop/llvm19-dev/usr/local/bin/llvm-config /usr/local/bin
After downloading mesa with wget I unpacked it with:
tar -xf mesa-24.1.7.tar.xz (which produce a folder)
I added the line #include <llvm/IR/Module.h> in ~/mesa-24.1.7/src/amd/llvm/ac_llvm_helper.cpp between the lines that hold words LegacyPassManager.h and Verifier.h which I guessed it's most appropriate place.
cd mesa-24.1.7
mkdir build
cd build
My graphic card only supports h.264 and vc1 hardware decoding and so on the meson line after -Dvalgrind=disabled I added -Dvideo-codecs="h264dec,vc1dec". That meson line was done in a minute. Maybe instead h264dec,vc1dec if you put all it will compile all codecs, see meson_options.txt
mySpecs: radeon R7 250, Phenom II 945 with 4 cores
ninja (Enter, it compiled for about 1h with high cpu)
sudo ninja install
It installs in /usr/local/..., I just copied files from locations listed in files Xorg-7.7-3d (-vulkan) .tcz.list and pasted in 2 different folders namely X(-vulk)/ in home folder.
I removed letter (s) from every folder and subfolder group permission like this:
chmod g-s folder/
I made it for every file and subfolder to have root owner and group like this:
sudo chown -R root:root folder/
Finally made tcz files like this:
mksquashfs X/ X.tcz
mksquashfs X-vulk/ X-vulk.tcz
Later renamed those tcz files appropriately. Now on TCL 16.0 I have video acceleration and which I had not on TCL 15.0. I just wanted to share my experience with others who maybe need acceleration for themselves. For me this was quite challenge because this was second compile in my life. Usefull websites:
https://forum.endeavouros.com/t/compiling-mesa-22-2-with-codec-support-the-easy-way/30390https://gist.github.com/Venemo/a9483106565df3a83fc67a411191edbd#file-mesa-howto-md