[Paraview] EGL build of ParaView
Alexandre Ancel
alexandre.ancel at cemosis.fr
Thu Feb 11 03:39:46 EST 2016
Hello,
I am trying to make the EGL build of ParaView work, but I am encountering
some issues.
First, here is the configure line I used to build ParaView:
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>
Everything then builds and installs correctly.
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:
"
OpenGL drivers on the server side don't support
required OpenGL features for basic rendering.
Remote rendering will be disabled.
OpenGL Vendor: NVIDIA Corporation
OpenGL Version: 4.5.0 NVIDIA 358.16
OpenGL Renderer: Tesla K80/PCIe/SSE2
"
And then I tried to use volume rendering, but I end up with this error:
"
Some of the representations in this view require remote rendering which,
however, is not available. Rendering may not work as expected.
"
And VR does not work.
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.
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.
I also tried adding the "–egl-device-index=0" instead of
"--disable-xdisplay-test", but I am getting the OpenGL error.
Is there something I missed in my ParaView build ?
I guess I should be able to run the pvserver without the
"--disable-xdisplay-test" option, isn't it ?
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)
Thanks in advance for the answers,
Best regards,
Alexandre Ancel
--
Alexandre Ancel
Docteur, Ingénieur de recherche / Phd, Research Engineer
Cemosis <http://www.cemosis.fr> - alexandre.ancel at cemosis.fr
Tel: +33 (0)3 68 8*5 02 06*
IRMA - 7, rue René Descartes
67 000 Strasbourg, France
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160211/6b5ccff7/attachment.html>
More information about the ParaView
mailing list