Alexandre, Can you check EGL_INCLUDE_DIR EGL_LIBRARIES
in CMakeCache.txt and make sure they point to the libraries that come with the NVidia driver. You will need: libEGL, libOpenGL and libGLdispatch On my machine nvidia libraries are inside /usr/lib32/nvidia-346. (My machine has an older driver that does not support EGL) What are whose values? Thanks, Dan On Thu, Feb 11, 2016 at 3:39 AM, Alexandre Ancel <[email protected] > wrote: > 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> - [email protected] > Tel: +33 (0)3 68 8*5 02 06* > IRMA - 7, rue René Descartes > 67 000 Strasbourg, France > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
