# pvrenderserver egl nvidia index with pvdataserver osmesa

**URL:** https://discourse.paraview.org/t/pvrenderserver-egl-nvidia-index-with-pvdataserver-osmesa/12884
**Category:** ParaView Support
**Tags:** opengl
**Created:** [September 19, 2023, 7:52am UTC](https://discourse.paraview.org/t/pvrenderserver-egl-nvidia-index-with-pvdataserver-osmesa/12884 "2023-09-19T07:52:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Matteo\_Checcucci](https://discourse.paraview.org/user_avatar/discourse.paraview.org/matteo_checcucci/32/12429_2.png) [@Matteo\_Checcucci](https://discourse.paraview.org/u/Matteo_Checcucci)
#### Post date: [September 19, 2023, 7:52am UTC](https://discourse.paraview.org/t/pvrenderserver-egl-nvidia-index-with-pvdataserver-osmesa/12884/1 "2023-09-19T07:52:48Z")

</div>

good morning, is there a way to make an osmesa compiled data server communicate with a rendering server configured with egl and nvidia index plugin?

**after launching the corresponding servers:**  
_user@node01:~$ mpiexec -np 32 pvrenderserver --displays=:0 --render-server-port=22221 --force-offscreen-rendering_

_user@node02:~$ mpiexec -np 2 pvdataserver --data-server-port=11111_

I opened with an egl client and nvidia index plugin loaded I encountered the following errors on data server and render node.

**I get the following error on pvdataserver:**  
_Waiting for client…_  
_Connection URL: cdsrs://node01:11111/:22221_  
_Accepting connection(s): node01:11111_  
_Client connected._  
_ConnectMtoN_  
_Connecting : rank :0 dest-host :node02 dest-port :44633_  
_ConnectMtoN_  
_Connecting : rank :1 dest-host :node02 dest-port :37783_  
_( 61.875s) [pvdatserver.1] vtkPVPluginLoader.cxx:536 ERR| vtkPVPluginLoader (0x15c5f90): /opt/apps/paraview/5.11.1-egl/bin/…/lib/paraview-5.11/plugins/pvNVIDIAIndeX/pvNVIDIAIndeX.so: libOpenGL.so.0: cannot open shared object file: No such file or directory_

_( 61.882s) [pvdatserver.0] vtkPVPluginLoader.cxx:536 ERR| vtkPVPluginLoader (0x208e7f0): /opt/apps/paraview/5.11.1-egl/bin/…/lib/paraview-5.11/plugins/pvNVIDIAIndeX/pvNVIDIAIndeX.so: libOpenGL.so.0: cannot open shared object file: No such file or directory_

**I get the following error on pvrenderserver:**  
_Waiting for client…_  
_Connection URL: cdsrs://:11111/node02:22221_  
_Accepting connection(s): node02:22221_  
_Client connected._  
_ConnectMtoN_  
_Waiting for connection: rank :0 host :node02 port :41543_  
_ConnectMtoN_  
_Waiting for connection: rank :1 host :node02 port :40385_  
_Received Hello from process 0_  
_Received Hello from process 1_  
_-----------------------------------------------------_

- By loading the ‘pvNVIDIAIndeX’ plugin you have accepted the EULA shipped with it.\*
- If that is not acceptable, please restart the application without loading \*
- the ‘pvNVIDIAIndeX’ plugin.\*  
_-----------------------------------------------------_

Obviously on the node without a dedicated video card there are no corresponding nvidia opengl, but I don’t understand why you are looking for them given that it should only take care of the data and transmit the graphics processing to the server responsible for rendering. Furthermore, the rendering server gives an EULA acceptance error which I don’t know how to execute since on the client side I can open the graphics and accept them but on the render server there is not a complete installation but only egl server.

I await instructions or advice on how to resolve the issue.  
Thank you  
Regards,  
Matteo

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [September 19, 2023, 9:21pm UTC](https://discourse.paraview.org/t/pvrenderserver-egl-nvidia-index-with-pvdataserver-osmesa/12884/2 "2023-09-19T21:21:52Z")

</div>

> [@Matteo\_Checcucci](#):
>
> vtkPVPluginLoader.cxx:536 ERR| vtkPVPluginLoader (0x15c5f90): /opt/apps/paraview/5.11.1-egl/bin/…/lib/paraview-5.11/plugins/pvNVIDIAIndeX/pvNVIDIAIndeX.so: libOpenGL.so.0: cannot open shared object file: No such file or directory

This is looking for a GLVND-style OpenGL build. AFAIK, the official builds use “old” `libGL` instead. Beyond this, it seems like it is something related to `REQUIRED_ON_*` flags. I’m not sure what the expected behavior is here there.

Cc: @cory.quammen @jmensmann

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 20, 2023, 11:14am UTC](https://discourse.paraview.org/t/pvrenderserver-egl-nvidia-index-with-pvdataserver-osmesa/12884/3 "2023-09-20T11:14:53Z")

</div>

Looks to me like a caveat that was not considered, a situation where a plugin cannot be loaded because of limitations on the machine, even though it will not be used.

Maybe you can drop a dummy libOpenGL.so.0, but tbh the plugin should not even be available on the dataserver.
