<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p id="reply-intro">On 2021-03-06 22:12, Aki Ketolainen wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>Hi,</p>
<p>I'm using x2go (remote x11 client/server system) on CentOS 7.9 and 8.3 Docker containers. <br /><br />On the CentOS 7.9 container, I've successfully compiled mesa 20.3.4 for use with Kivy ( <a href="https://kivy.org/" target="_blank" rel="noopener noreferrer">https://kivy.org/</a> ) <br />Kivy is used to create GUIs with python.<br /><br />Here are the build steps I used:<br /><br />yum -y install centos-release-scl<br />yum -y install devtoolset-7<br />source scl_source enable devtoolset-7 # enables use of gcc v7.3.1<br /><br />tar -xf mesa-20.3.4.tar.xz<br />cd mesa-20.3.4<br />meson --buildtype=release \<br />--prefix=/opt/mesa/20.3.4 \<br />-D gbm=enabled \<br />-D gles1=enabled \<br />-D gles2=enabled \<br />-D opengl=true \<br />-D egl=disabled \<br />-D shared-glapi=enabled \<br />-D gallium-drivers=swrast,swr \<br />-D gbm=disabled \<br />-D glx=gallium-xlib \<br />-D osmesa=gallium \<br />-D gallium-nine=false \<br />-D gallium-xvmc=disabled \<br />-D platforms=x11 \<br />-D llvm=enabled \<br />-D shared-llvm=disabled \<br />-D dri3=disabled \<br />-D dri-drivers= \<br />-D dri-drivers-path= \<br />-D vulkan-drivers= \<br />-D lmsensors=disabled \<br />build/<br />ninja -j 1 -C build/ install</p>
<p>export LD_LIBRARY_PATH=/opt/mesa/20.3.4/lib64<br />export GALLIUM_DRIVER=swr<br />python3 /sw/kivy/2.0.0/lib/python3.8/site-packages/Kivy-2.0.0-py3.8-linux-x86_64.egg/share/kivy-examples/demo/showcase/main.py<br /><br />This starts a Kivy program successfully on a CentOS 7.9 container and it works without problems.<br /><br />But on the CentOS 8.3 container this doesn't work. The compilation succeeds, but I get the following error message when starting showcase/main.py:<br /><br />/usr/include/c++/8/bits/unique_ptr.h:323: typename std::add_lvalue_reference<_Tp>::type std::unique_ptr<_Tp, _Dp>::operator*() const [with _Tp = llvm::ProfileSummaryInfo; _Dp = std::default_delete<llvm::ProfileSummaryInfo>; typename std::add_lvalue_reference<_Tp>::type = llvm::ProfileSummaryInfo&]: Assertion 'get() != pointer()' failed.<br />Aborted (core dumped)</p>
<p>This happens also with glxgears.<br /><br />If I export GALLIUM_DRIVER=llvmpipe the showcase/main.py program starts but there's this weird flickering going on in the program window.<br /><br />Could this problem have something to do with the llvm version? <br /><br />On CentOS 7.9 the llvm version is v7.0.1 and on CentOS 8.3 there's only llvm v10.0.1. <br /><br />gcc is v7.3.1 (devtoolset-7) on CentOS 7.9 and v8.3.1 on CentOS 8.3.</p>
<p>Best regards,</p>
<p>Aki Ketolainen<br />Turku, Finland</p>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br />mesa-users mailing list<br /><a href="mailto:mesa-users@lists.freedesktop.org">mesa-users@lists.freedesktop.org</a><br /><a href="https://lists.freedesktop.org/mailman/listinfo/mesa-users" target="_blank" rel="noopener noreferrer">https://lists.freedesktop.org/mailman/listinfo/mesa-users</a></div>
</blockquote>
<p><br /></p>
<p>Hi,</p>
<p>I got this problem resolved by compiling llvm 7.0.1 on CentOS 8.3. It's a pretty big task as the disk space that <br />it took was 30 gigs for the compilation and 22 gigs for the target install part. I chose the 7.0.1 version because <br />that's what I had on CentOS 7.</p>
<p>Now I don't get that "Assertion 'get() != pointer()' failed" error but the Kivy application opens and works correctly in the X2go session.</p>
<p>Best regards,</p>
<p>Aki Ketolainen<br />Turku, Finland</p>
</body></html>