Problem compiling Mesa on CentOS 8.3
Aki Ketolainen <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm using x2go (remote x11 client/server system) on CentOS 7.9 and 8.3 Docker containers. On the CentOS 7.9 container, I've successfully compiled mesa 20.3.4 for use with Kivy ( https://kivy.org/ ) Kivy is used to create GUIs with python. Here are the build steps I used: yum -y install centos-release-scl yum -y install devtoolset-7 source scl_source enable devtoolset-7 # enables use of gcc v7.3.1 tar -xf mesa-20.3.4.tar.xz cd mesa-20.3.4 meson --buildtype=release \ --prefix=/opt/mesa/20.3.4 \ -D gbm=enabled \ -D gles1=enabled \ -D gles2=enabled \ -D opengl=true \ -D egl=disabled \ -D shared-glapi=enabled \ -D gallium-drivers=swrast,swr \ -D gbm=disabled \ -D glx=gallium-xlib \ -D osmesa=gallium \ -D gallium-nine=false \ -D gallium-xvmc=disabled \ -D platforms=x11 \ -D llvm=enabled \ -D shared-llvm=disabled \ -D dri3=disabled \ -D dri-drivers= \ -D dri-drivers-path= \ -D vulkan-drivers= \ -D lmsensors=disabled \ build/ ninja -j 1 -C build/ install export LD_LIBRARY_PATH=/opt/mesa/20.3.4/lib64 export GALLIUM_DRIVER=swr 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 This starts a Kivy program successfully on a CentOS 7.9 container and it works without problems. 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: /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. Aborted (core dumped) This happens also with glxgears. If I export GALLIUM_DRIVER=llvmpipe the showcase/main.py program starts but there's this weird flickering going on in the program window. Could this problem have something to do with the llvm version? On CentOS 7.9 the llvm version is v7.0.1 and on CentOS 8.3 there's only llvm v10.0.1. gcc is v7.3.1 (devtoolset-7) on CentOS 7.9 and v8.3.1 on CentOS 8.3. Best regards, Aki Ketolainen Turku, Finland _______________________________________________ mesa-users mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-users