<div dir="ltr"><div>Hi Patrick,<br><br></div>When you build Mesa, what does the summary at the end of ./configure look like? That should let us know if Mesa is getting built with sufficient options. For example, when I configure with LLVM 4.0 and Mesa 17.0.5 using the settings described on the ParaView Wiki, <a href="http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D#Installing_Mesa_llvmpipe_and_swr_drivers">http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D#Installing_Mesa_llvmpipe_and_swr_drivers</a>, I get the following summary from configure:<br><br><div class="gmail_extra"><span style="font-family:monospace,monospace"> prefix: /opt/mesa/17.0.5<br> exec_prefix: ${prefix}<br> libdir: ${exec_prefix}/lib<br> includedir: ${prefix}/include<br><br> OpenGL: yes (ES1: no ES2: no)<br><br> OSMesa: libOSMesa (Gallium)<br><br> GLX: no<br><br> EGL: no<br> GBM: no<br><br> Vulkan drivers: no<br><br> llvm: yes<br> llvm-config: /opt/clang/4.0.0/bin/llvm-config<br> llvm-version: 4.0.0<br><br> Gallium drivers: swrast swr<br> Gallium st: mesa<br><br> HUD extra stats: no<br> HUD lmsensors: no<br><br> Shared libs: yes<br> Static libs: no<br> Shared-glapi: yes<br><br> CFLAGS: -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-math-errno -fno-trapping-math<br> CXXFLAGS: -g -O2 -Wall -fno-math-errno -fno-trapping-math<br> Macros: -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DUSE_X86_64_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_TLS -DENABLE_SHADER_CACHE -DMESA_EGL_NO_X11_HEADERS -DHAVE_LLVM=0x0400 -DMESA_LLVM_VERSION_PATCH=0<br><br> LLVM_CFLAGS: -I/opt/clang/4.0.0/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS<br> LLVM_CXXFLAGS: -I/opt/clang/4.0.0/include -std=c++11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS<br> LLVM_CPPFLAGS: -I/opt/clang/4.0.0/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS<br> LLVM_LDFLAGS: -L/opt/clang/4.0.0/lib <br><br> PYTHON2: python2.7<br><br> Run 'make' to build Mesa</span><br><br><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">----------<br>Chuck Atkins<br>Staff R&D Engineer, Scientific Computing<br>Kitware, Inc.<br><br></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, May 12, 2017 at 10:25 AM, Patrick Begou <span dir="ltr"><<a href="mailto:Patrick.Begou@legi.grenoble-inp.fr" target="_blank">Patrick.Begou@legi.grenoble-inp.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
Hi,<br>
<br>
I'm still trying to build paraview 5.3 with Qt4.8. As paraview
superbuild was failing on my desktop (centos 6.9, Nvidia GPU), I
build paraview by hand and it is running now with and without
pvserver connection<br>
.<br>
The problem went back with building same paraview version on the
cluster frontend: CentOS 6.7, no GPU. The compilation is successfull
but launching paraview I get some errors with OpenGL:<br>
<br>
<tt>ER</tt><tt>ROR: In
/kareline/data/begou/<wbr>PARAVIEW5/paraview/VTK/<wbr>Rendering/OpenGL2/<wbr>vtkOpenGLRenderWindow.cxx,
line 825</tt><tt><br>
</tt><tt>vtkXOpenGLRenderWindow (0x2280fb0): GL version 2.1 with the
gpu_shader4 extension is not supported by your graphics driver but
is required for the new OpenGL rendering backend. Please update
your OpenGL driver. If you are using Mesa please make sure you
have version 10.6.5 or later and make sure your driver in Mesa
supports OpenGL 3.2.</tt><tt><br>
</tt><tt><br>
</tt><tt>ERROR: In
/kareline/data/begou/<wbr>PARAVIEW5/paraview/VTK/<wbr>Rendering/OpenGL2/<wbr>vtkXOpenGLRenderWindow.cxx,
line 812</tt><tt><br>
</tt><tt>vtkXOpenGLRenderWindow (0x2280fb0): failed to create
offscreen window</tt><tt><br>
</tt><tt><br>
</tt><tt>ERROR: In
/kareline/data/begou/<wbr>PARAVIEW5/paraview/VTK/<wbr>Rendering/OpenGL2/<wbr>vtkOpenGLRenderWindow.cxx,
line 813</tt><tt><br>
</tt><tt>vtkXOpenGLRenderWindow (0x2280fb0): GLEW could not be
initialized.</tt><br>
<br>
I've built and installed mesa from mesa-17.0.4.tar.gz using:<br>
<tt>./configure \</tt><tt><br>
</tt><tt>PKG_CONFIG_PATH=/share/apps/<wbr>paraview-5.3.0/lib/pkgconfig \</tt><tt><br>
</tt><tt>--prefix=/share/apps/paraview-<wbr>5.3.0 \</tt><tt><br>
</tt><tt>--disable-osmesa --enable-gallium-osmesa
--enable-gallium-llvm \</tt><tt><br>
</tt><tt>--with-llvm-prefix=/share/<wbr>apps/paraview-5.3.0</tt> <br>
<br>
With several requested libraries:<br>
libxshmfence-1.2.tar.gz<br>
libxcb-1.12.tar.gz<br>
libXau-1.0.8.tar.gz<br>
pthread-stubs-0.3.tar.gz<br>
xcb-proto-1.12.tar.gz<br>
libdrm-2.4.70.tar.gz<br>
llvm-4.0.0.src.tar.xz<br>
all under <tt>/share/apps/paraview-5.3.0/ </tt><br>
<br>
I've checked with strace that paraview was loading libGL in
/share/apps/paraview-5.3.0/lib and not the system one, requested by
other application (frontend is in production and I cannont break
these libraries used by other softwares).<br>
<br>
<tt><br>
</tt>I must confess I'm not familiar at all with these libraries and
environments, mesa or osmesa, GPU or not GPU, of screen rendering...
all documentation deeping in obscure details while I'm searching to
understand these concepts. <br>
it is clear for me that on the nodes (without GPU) I will use OSMesa
and no GUI, but on the frontend where I need GUI ???<br>
<br>
Thanks for your advices and sorry if this is a very basic <span class="gmail-m_4473869898165173759gt-baf-word-clickable">lack of understanding from myself.</span><br>
<br>
Patrick<br>
<br>
<br>
Paraview cmake is:<br>
<tt>ccmake -DBUILD_SHARED_LIBS=ON \</tt><tt><br>
</tt><tt> -DPARAVIEW_USE_MPI=ON \</tt><tt><br>
</tt><tt> -DCMAKE_BUILD_TYPE=Release \</tt><tt><br>
</tt><tt> -DPARAVIEW_BUILD_QT_GUI=ON \</tt><tt><br>
</tt><tt> -DPARAVIEW_QT_VERSION=4 \</tt><tt><br>
</tt><tt>
-DQT_QMAKE_EXECUTABLE=/share/<wbr>apps/paraview-5.3.0/qt4.8.6/<wbr>bin/qmake
\</tt><tt><br>
</tt><tt> -DPARAVIEW_ENABLE_FFMPEG=ON \</tt><tt><br>
</tt><tt> -DPARAVIEW_ENABLE_PYTHON=ON \</tt><tt><br>
</tt><tt>
-DPYTHON_INCLUDE_DIR=/share/<wbr>apps/python279/include/<wbr>python2.7 \</tt><tt><br>
</tt><tt>
-DPYTHON_LIBRARY=/share/apps/<wbr>python279/lib/<a href="http://libpython2.7.so" target="_blank">libpython2.7.so</a> \</tt><tt><br>
</tt><tt>
-DPYTHON_LIBRARY_DEBUG=/share/<wbr>apps/python279/lib/<a href="http://libpython2.7.so" target="_blank">libpython2.<wbr>7.so</a> \</tt><tt><br>
</tt><tt> -DCMAKE_INSTALL_PREFIX=/share/<wbr>apps/paraview-5.3.0 \</tt><tt><br>
</tt><tt> -DCMAKE_VERBOSE_MAKEFILE=ON \</tt><tt><br>
</tt><tt> -DCMAKE_CXX_COMPILER=/share/<wbr>apps/GCC485/bin/g++ \</tt><tt><br>
</tt><tt> -DCMAKE_C_COMPILER=/share/<wbr>apps/GCC485/bin/gcc \</tt><tt><br>
</tt><tt> -DCMAKE_Fortran_COMPILER=/<wbr>share/apps/GCC485/bin/gfortran
\</tt><tt><br>
</tt><tt> -DFFMPEG_ROOT=/share/apps/<wbr>paraview-5.3.0 \</tt><tt><br>
</tt><tt> -DOPENGL_INCLUDE_DIR=/share/<wbr>apps/paraview-5.3.0/include
\</tt><tt><br>
</tt><tt>
-DOPENGL_gl_LIBRARY=/share/<wbr>apps/paraview-5.3.0/lib/libGL.<wbr>so \</tt><tt><br>
</tt><tt> ../paraview</tt><span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
<br>
<pre class="gmail-m_4473869898165173759moz-signature" cols="80">--
==============================<wbr>==============================<wbr>=======
| Equipe M.O.S.T. | |
| Patrick BEGOU | <a class="gmail-m_4473869898165173759moz-txt-link-freetext" href="mailto:Patrick.Begou@grenoble-inp.fr" target="_blank">mailto:Patrick.Begou@grenoble-<wbr>inp.fr</a> |
| LEGI | |
| BP 53 X | Tel 04 76 82 51 35 |
| 38041 GRENOBLE CEDEX | Fax 04 76 82 52 71 |
==============================<wbr>==============================<wbr>=======
</pre>
</font></span></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div></div>