hi! sorry for my bad english ... google translator is my friend
so , I am a linux admin not a programmer but,...
I have an AMD ryzen 2400G with vega 11 and I tried to compile batocera from git updating the mesa drivers to 19.0.6 by myself, but given the transition from autotools to meson, it was too complicated for me and I failed to build multiple time, but after the your update to 19.0.7, I immediately updated my local git and mesa to 19.0.2 and everything went smoothly.
at the first boot, however, I get the error:
"AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: symbol _ZTIN4llvm17raw_pwrite_streamE version LLVM_8 not defined in file libLLVM-8.so with link time reference) "
which prevents drivers from loading on the AMD platform.
After several searches I understand that it refers to the rtti option of LLVM and the solution turned out to be a forgetting in the upstream source code of the MESA in the meson configuration,
this is the patch that solve the problem (MESA already has hit this problem...)
diff --git a/meson.build b/meson.build
--- a/meson.build 2019-09-25 18:59:31.000000000 +0200
+++ b/meson.build 2019-09-28 12:02:58.847960511 +0200
@@ -1288,6 +1288,7 @@
elif with_gallium_opencl
error('The Clover OpenCL state tracker requires rtti, you need to turn off clover or use an LLVM built with LLVM_ENABLE_RTTI.')
endif
+ else
cpp_args += '-fno-rtti'
endif
elif with_amd_vk or with_gallium_radeonsi or with_gallium_swr
a simple forgotten "else"
thanks for great distro !! i love it !!