<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-07-13 14:27 GMT+02:00 Chuck Atkins <span dir="ltr"><<a href="mailto:chuck.atkins@kitware.com" target="_blank">chuck.atkins@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Edson,<br>It looks like you're getting llvmpipe correctly so that's good. Your suspicion regarding the llvm build is a good place to start. If you look in the el6/Dockerfile in the repo I sent you, you can see the entire build configuration of the image, including llvm. Try configuring llvm </div></div></blockquote><div><br></div><div>I'm curious which repo this is. Is it public?<br><br></div><div>Cheers,<br></div><div>Elvis<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>with CMake instead of autotools using the following:<br><span style="font-family:monospace,monospace"><br>cmake \<br> -DCMAKE_BUILD_TYPE=Release \<br> -DCMAKE_INSTALL_PREFIX=/path/to/llvm/install \<br> -DLLVM_BUILD_LLVM_DYLIB=ON \<br> -DLLVM_ENABLE_RTTI=ON \<br> -DLLVM_TARGETS_TO_BUILD=X86 \<br> -DLLVM_INSTALL_UTILS=ON \<br></span></div><div><span style="font-family:monospace,monospace"> /path/to/llvm/source<br></span></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr">- Chuck<br></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Tue, Jul 12, 2016 at 3:46 PM, Edson Contreras Cárdenas <span dir="ltr"><<a href="mailto:edrecon@gmail.com" target="_blank">edrecon@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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" target="_blank">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>
<br></div></div>_______________________________________________<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/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<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/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div></div>