<div dir="ltr"><div>What do the EGL settings in your CMakeCache look like? You can find them from the build directory:<br><br><span style="font-family:monospace,monospace">$ grep '^EGL[^-]*=' CMakeCache.txt <br>EGL_INCLUDE_DIR:PATH=/usr/include<br>EGL_LIBRARY:FILEPATH=/usr/lib64/libEGL.so<br>EGL_gldispatch_LIBRARY:FILEPATH=/usr/lib64/libGLdispatch.so<br>EGL_opengl_LIBRARY:FILEPATH=/usr/lib64/libOpenGL.so<br></span><br></div>Your output will likely use different paths as this is from a Fedora installation.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">- Chuck<br></div></div></div>
<br><div class="gmail_quote">On Tue, Apr 12, 2016 at 9:39 AM, Harald Klimach <span dir="ltr"><<a href="mailto:harald@klimachs.de" target="_blank">harald@klimachs.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
> Or I also noticed that you're running a very recent version of the NVidia driver. I believe this actually has EGL support, which will allow you to build ParaView configured to use the GPU for off screen rendering with no X server necessary at all. To do this, configure ParaView with the following CMake options:<br>
> • -DVTK_RENDERING_BACKEND=OpenGL2<br>
> • -DVTK_USE_OFFSCREEN_EGL=ON<br>
> You would then run pvserver on the remote machine with no need for an X server and connect to it with the GUI client in the same way.<br>
<br>
I gave this a try.<br>
<br>
But it results in an error box with:<br>
<br>
OpenGL drivers on the server side don't support<br>
required OpenGL features for basic rendering.<br>
Remote rendering will be disabled.<br>
<br>
OpenGL Vendor: NVIDIA Corporation<br>
OpenGL Version: 4.5.0 NVIDIA 361.28<br>
OpenGL Renderer: Tesla M2075/PCIe/SSE2<br>
<br>
What am I doing wrong?<br>
How can I enable the remote rendering. Are there other compilation flags I need to take care of?<br>
<br>
Also, this only works if I set this up manually (run pvserver on the remote box) and then create a ssh-tunnel<br>
to connect to it.<br>
If I use a command in the pvserver configuration of the client gui, to create the ssh tunnel and start the<br>
pvserver on the remote box, I get:<br>
<br>
OpenGL Vendor: Information Unavailable<br>
OpenGL Version: Information Unavailable<br>
OpenGL Renderer: Information Unavailable<br>
<br>
<br>
I guess, I am doing something wrong here, too:<br>
<br>
I have: Server Type = Client/Server<br>
Host=localhost<br>
Port=11772<br>
Command: ssh -L 11772:remote-box:11772 user@remote-box pvserver --server-port=11772<br>
<br>
<br>
<br>
And if I do this command manually, and afterwards try to connect to the server, I get::<br>
<br>
ERROR: In /home/user/abs/paraview/src/ParaView-v5.0.1-source/VTK/Rendering/OpenGL2/vtkEGLRenderWindow.cxx, line 315<br>
vtkEGLRenderWindow (0x1660940): Only EGL 1.4 and greater allows OpenGL as client API. See eglBindAPI for more information.<br>
<br>
ERROR: In /home/user/abs/paraview/src/ParaView-v5.0.1-source/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 575<br>
vtkEGLRenderWindow (0x1660940): GLEW could not be initialized.<br>
<br>
[shu:09048] *** Process received signal ***<br>
[shu:09048] Signal: Segmentation fault (11)<br>
[shu:09048] Signal code: Address not mapped (1)<br>
[shu:09048] Failing at address: (nil)<br>
[shu:09048] [ 0] /usr/lib/libc.so.6(+0x33330)[0x7f0c77394330]<br>
[shu:09048] *** End of error message ***<br>
<br>
Maybe this is due to a different environment in the tunneled login over the interactive login?<br>
Some settings that are available in the interactive shell, but not in the tunneled command:<br>
SSH_TTY<br>
ETS_TOOLKIT<br>
<br>
If I set DISPLAY=:0.0 in tunneling command, I get the same error as in the manual setup.<br>
Maybe, my compilation with EGL did not succeed?<br>
<br>
I used these flags:<br>
-DVTK_USE_X:BOOL=OFF \<br>
-DVTK_RENDERING_BACKEND:STRING=OpenGL2 \<br>
-DVTK_USE_OFFSCREEN_EGL=ON \<br>
<br>
Thanks for your kind support!<br>
<span class="HOEnZb"><font color="#888888">Harald</font></span></blockquote></div><br></div>