[Paraview] EGL build of ParaView
Alexandre Ancel
alexandre.ancel at cemosis.fr
Thu Feb 11 11:13:47 EST 2016
Hello Dan,
Regarding to the values of the variables, I have:
//No help, variable specified on the command line.
EGL_INCLUDE_DIR:UNINITIALIZED=/data/software/install/EGL/include
//Path to a library.
EGL_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libEGL.so
//No help, variable specified on the command line.
EGL_gldispatch_LIBRARY:UNINITIALIZED=/usr/lib/x86_64-linux-gnu/libGLdispatch.so.0
//Path to a library.
EGL_opengl_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libOpenGL.so
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.
I didn't previously saw that EGL_INCLUDE_DIR was marked as UNINITIALIZED,
however ParaView was built successfully with the previously mentioned
options.
I am just not sure about the libGLdispatch.so.0 library, as it is not a
symlink to a libGLdispatch.so.358.16.
When I do a "strings libGLdispatch.so.0", I have gl*NV functions, so I
guess it should be ok.
As I said before, remote rendering is working but only when I add
"--disable-xdisplay-test" to the pvserver.
Regards,
Alexandre Ancel
On Thu, Feb 11, 2016 at 4:28 PM, Dan Lipsa <dan.lipsa at kitware.com> wrote:
> 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 <
> alexandre.ancel at cemosis.fr> 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> - alexandre.ancel at cemosis.fr
>> 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
>>
>>
>
--
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/9931ce21/attachment.html>
More information about the ParaView
mailing list