<div dir="ltr"><div><div><div><div><div><div><div>Hello Dan,<br><br></div>Regarding to the values of the variables, I have:<br><br>//No help, variable specified on the command line.<br>EGL_INCLUDE_DIR:UNINITIALIZED=/data/software/install/EGL/include<br><br>//Path to a library.<br>EGL_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libEGL.so<br><br>//No help, variable specified on the command line.<br>EGL_gldispatch_LIBRARY:UNINITIALIZED=/usr/lib/x86_64-linux-gnu/libGLdispatch.so.0<br><br>//Path to a library.<br>EGL_opengl_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libOpenGL.so<br><br></div>The libraries are OK (They come from the manual installation of the Nvidia driver which should be at least 355 if I remember well). I have a 358.16.<br><br></div><div>I didn't previously saw that EGL_INCLUDE_DIR was marked as UNINITIALIZED, however ParaView was built successfully with the previously mentioned options.<br></div><div><br></div>I am just not sure about the libGLdispatch.so.0 library, as it is not a symlink to a libGLdispatch.so.358.16.<br></div>When I do a "strings libGLdispatch.so.0", I have gl*NV functions, so I guess it should be ok.<br><br></div>As I said before, remote rendering is working but only when I add "--disable-xdisplay-test" to the pvserver.<br><br></div>Regards,<br><br></div>Alexandre Ancel<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 11, 2016 at 4:28 PM, Dan Lipsa <span dir="ltr"><<a href="mailto:dan.lipsa@kitware.com" target="_blank">dan.lipsa@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Alexandre,<div>Can you check </div><div><br></div><div>EGL_INCLUDE_DIR<br></div><div>EGL_LIBRARIES<br></div><div><br></div><div>in CMakeCache.txt</div><div><br></div><div>and make sure they point to the libraries that come with the NVidia driver.</div><div><br></div><div>You will need:</div><div>libEGL, libOpenGL and libGLdispatch</div><div><br></div><div>On my machine nvidia libraries are inside</div><div>/usr/lib32/nvidia-346. (My machine has an older driver that does not support EGL)<br></div><div><br></div><div>What are whose values?</div><div>Thanks,</div><div>Dan</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Feb 11, 2016 at 3:39 AM, Alexandre Ancel <span dir="ltr"><<a href="mailto:alexandre.ancel@cemosis.fr" target="_blank">alexandre.ancel@cemosis.fr</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>Hello,<br><br></div>I am trying to make the EGL build of ParaView work, but I am encountering some issues.<br><br></div>First, here is the configure line I used to build ParaView:<br><pre><code>cmake .. \
-DBUILD_TESTING=OFF -DPARAVIEW_ENABLE_CATALYST=ON -DPARAVIEW_ENABLE_PYTHON=ON \
-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON -DPARAVIEW_USE_MPI=ON \
-DVTK_RENDERING_BACKEND=OpenGL2 -DVTK_USE_OFFSCREEN_EGL=ON \
-DVTK_USE_X=OFF -DPARAVIEW_BUILD_QT_GUI=OFF \
-DEGL_gldispatch_LIBRARY=<path_to_libGLdispatch.so.0> \
-DEGL_INCLUDE_DIR=<path_to_EGL_includes> \
-DCMAKE_INSTALL_PREFIX=<install_prefix><br></code></pre>
<p>Everything then builds and installs correctly.</p><p>But when I start a pvserver (with no X server launched) on the server where the data is stored and with a graphic card. I end up having the following issue in a ParaView pop-up:<br></p><p style="margin:0px;text-indent:0px">"<br></p><p style="margin:0px;text-indent:0px">OpenGL drivers on the server side don't support</p><div><div><div>
<p style="margin:0px;text-indent:0px">required OpenGL features for basic rendering.</p>
<p style="margin:0px;text-indent:0px">Remote rendering will be disabled.</p>
<p style="margin:0px;text-indent:0px"><br></p>
<p style="margin:0px;text-indent:0px">OpenGL Vendor: NVIDIA Corporation</p>
<p style="margin:0px;text-indent:0px">OpenGL Version: 4.5.0 NVIDIA 358.16</p>
<p style="margin:0px;text-indent:0px">OpenGL Renderer: Tesla K80/PCIe/SSE2</p>"<br><br></div><div>And then I tried to use volume rendering, but I end up with this error:<br>"<br>Some of the representations in this view require remote rendering which, however, is not available. Rendering may not work as expected.<br></div><div>"<br></div><div>And VR does not work.<br></div><div><br></div><div>I managed to replicate this issue, with both a Nvidia Tesla K80 and GTX 470 with the 358.16 driver from NVidia on a Ubuntu 14.04.<br><br></div><div>However, when I add the "--disable-xdisplay-test" option to the pvserver. I don't get the error regarding to OpenGL drivers and I am able to do remote rendering on the server side.<br><br></div><div>I also tried adding the "–egl-device-index=0" instead of "--disable-xdisplay-test", but I am getting the OpenGL error.<br><br></div><div>Is there something I missed in my ParaView build ? <br>I guess I should be able to run the pvserver without the "--disable-xdisplay-test" option, isn't it ?<br><br></div><div>Another last question, is the EGL internal rendering resolution available for modification or will it fit the current view of ParaView ? (e.g. for doing screenshots)<br><br><br></div><div>Thanks in advance for the answers,<br><br></div><div>Best regards,<br></div><div>Alexandre Ancel<span><font color="#888888"><strong></strong></font></span></div><span><font color="#888888"><div><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><span><font color="#888888"><div dir="ltr"><font face="courier new, monospace">Alexandre Ancel <br>Docteur, Ingénieur de recherche / Phd, Research Engineer<br></font><div>
<font face="courier new, monospace"><a href="http://www.cemosis.fr" target="_blank">Ce<font color="#888888">mosis</font></a> - <a href="mailto:alexandre.ancel@cemosis.fr" target="_blank">alexandre.ancel@cemosis.fr</a></font></div><div><font face="courier new, monospace">Tel: +33 (0)3 68 8</font><span><font color="#888888"><font face="courier new, monospace"><b>5 02 06</b></font></font></span></div>
<div><font face="courier new, monospace">IRMA - 7, rue René Descartes</font></div><div><font face="courier new, monospace">67 000 Strasbourg, France<br></font></div></div></font></span></div></div></div></div>
</div></font></span></div></div></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 ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/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=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/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><font color="#888888"><div dir="ltr"><font face="courier new, monospace">Alexandre Ancel <br>Docteur, Ingénieur de recherche / Phd, Research Engineer<br></font><div>
<font face="courier new, monospace"><a href="http://www.cemosis.fr" target="_blank">Ce<font color="#888888">mosis</font></a> - <a href="mailto:alexandre.ancel@cemosis.fr" target="_blank">alexandre.ancel@cemosis.fr</a></font></div><div><font face="courier new, monospace">Tel: +33 (0)3 68 8</font><span><font color="#888888"><font face="courier new, monospace"><b>5 02 06</b></font></font></span></div>
<div><font face="courier new, monospace">IRMA - 7, rue René Descartes</font></div><div><font face="courier new, monospace">67 000 Strasbourg, France<br></font></div></div></font></span></div></div></div></div>
</div>