<div dir="ltr"><div><div><div><div><div><div>Hello world,<br><br></div>I'm trying to get running my application with VTK-7.0-OpenGL2 and mesa-12.0 and it gets slow with the first render. (after I call m_renderer->Render() it takes 5-7 seconds to show the image and after that everything goes smooth and ok)<br><br></div>The thing is that I try Chuck's libGL.so (paraview pre-built binary) and it takes a second or maybe 2 seconds performing the same action, with the same actors. I'm building mesa-12.0 with the following configuration: (same that Chuck sent me in a mesa-users thread)<br><br></div><div>OS  = RHEL6.6<br></div><div>CC  = gcc(5.2.0)<br>CXX = g++(5.2.0)<br></div><div><br></div><div><span style="font-family:monospace,monospace">BASELIBS_PREFIX=/remote/sharedLibs<br></span></div><div><span style="font-family:monospace,monospace"><br></span></div><span style="font-family:monospace,monospace">../mesa-12.0.0/configure \<br>    --with-llvm-prefix=${BASELIBS_PREFIX}/llvm-3.8            \<br>    --enable-opengl --disable-gles1 --disable-gles2           \<br>    --disable-va --disable-gbm --disable-xvmc --disable-vdpau \<br>    --enable-shared-glapi                                     \<br>    --disable-texture-float                                   \<br>    --disable-dri --with-dri-drivers=                         \<br>    --enable-gallium-llvm --disable-llvm-shared-libs          \<br>    --with-gallium-drivers=swrast,swr                         \<br>    --disable-egl --disable-gbm --with-egl-platforms=         \<br>    --enable-gallium-osmesa                                   \<br>    --enable-glx                                              \<br>    --prefix=${BASELIBS_PREFIX}/mesa-12.0</span><br><div><span style="font-family:monospace,monospace"><br></span></div><div><span style="font-family:monospace,monospace">edsonc@mesa-tests:~> setenv LD_LIBRARY_PATH ${BASELIBS_PREFIX}/mesa-12.0/lib:${LD_LIBRARY_PATH}<br><br></span></div><div><span style="font-family:monospace,monospace">edsonc@mesa-tests:~> glxinfo | grep -i opengl<br>  OpenGL vendor string: VMware, Inc.<br>  OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.8, 128 bits)<br>  OpenGL version string: 3.2 (Core Profile) Mesa 12.0.0<br>  OpenGL shading language version string: 3.30<br>  OpenGL extensions:<br><br><br></span></div><div><span style="font-family:monospace,monospace"><font face="arial,helvetica,sans-serif">My guess is that I'm building wrong llvm-3.8 library. In any case, I also add the flags of how I built it.<br><br><br></font>../llvm-3.8.0.src/configure              \<br>    --prefix=${BASELIBS_PREFIX}/llvm-3.8 \<br>    --disable-shared                     \<br>    --enable-optimized                   \<br>    --enable-cxx1y  <font face="arial,helvetica,sans-serif"><br><br><br></font></span></div>The prebuilt binary that I'm referring above, is located under:<br><br><a href="https://data.kitware.com/#user/56eac32b8d777f0457177859/folder/56eac32b8d777f045717785a">https://data.kitware.com/#user/56eac32b8d777f0457177859/folder/56eac32b8d777f045717785a</a><br><br></div>Thanks for your support.<br><br></div>Regards,<br></div>Edson<br></div>