# pvserver remote rendering disabled

**URL:** https://discourse.paraview.org/t/pvserver-remote-rendering-disabled/10808
**Category:** ParaView Support
**Created:** [November 19, 2022, 7:26am UTC](https://discourse.paraview.org/t/pvserver-remote-rendering-disabled/10808 "2022-11-19T07:26:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![axelwang](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/6a8cbe/32.png) [@axelwang](https://discourse.paraview.org/u/axelwang)
#### Post date: [November 19, 2022, 7:26am UTC](https://discourse.paraview.org/t/pvserver-remote-rendering-disabled/10808/1 "2022-11-19T07:26:00Z")

</div>

Hey,  
I just set up pvserver on my cluster, but after connecting with my local client, I am always getting

> Display is not accessible on the server side.  
> Remote rendering will be disabled.

This makes the visualization extremely slow and completely forfeits the purpose of setting up a pvserver.

I built paraview following instructions [here].([https://www.paraview.org/Wiki/ParaView:Build\_And\_Install#Run\_ParaView\_from\_build](https://www.paraview.org/Wiki/ParaView:Build_And_Install#Run_ParaView_from_build))  
I have `VTK_OPENGL_HAS_OSMESA=OFF `.

Later I realized the problem is discussed on [this page](https://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#ParaView_does_not_scale), and specifically

> One of the most difficult problems people face when installing a ParaView server is establishing [XConnections](https://www.paraview.org/Wiki/Setting_up_a_ParaView_Server#X_Connections). This whole problem can be circumvented by using the OSMesa library. However, Mesa is strictly a CPU rendering library so, **use the OSMesa solution if and only if your server hardware does not have rendering hardware**. If your cluster does not have graphics hardware, then compile ParaView with OSMesa support and use the --use-offscreen-rendering flag when launching the server.

So if I don’t request a GPU on the cluster, then do I have to use the OSMesa solution, i.e. I do not have rendering hardware (I am guessing the rendering hardware is the GPU)? However, even if I do request a GPU, I still run into the same problem…

I looked at some similar posts on this forum and others, such as [this](https://discourse.paraview.org/t/pvserver-remote-rendering/4458) and [this](https://stackoverflow.com/questions/66489104/how-to-properly-compile-paraview-for-headless-offscreen-rendering), but could not find a solution for “remote rendering disabled” even with the presence of a GPU.

Any pointers on how to setup remote rendering will be greatly appreciated!

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [November 20, 2022, 4:02pm UTC](https://discourse.paraview.org/t/pvserver-remote-rendering-disabled/10808/2 "2022-11-20T16:02:34Z")

</div>

To do offscreen rendering with GPU, you need to use an EGL build of pvserver assuming you have all the drivers properly setup and it is an nvidia gpu.

---

<div class="post-metadata">

### Author: ![axelwang](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/6a8cbe/32.png) [@axelwang](https://discourse.paraview.org/u/axelwang)
#### Post date: [November 20, 2022, 11:03pm UTC](https://discourse.paraview.org/t/pvserver-remote-rendering-disabled/10808/3 "2022-11-20T23:03:47Z")

</div>

Thank you so much for this helpful info. I didn’t find this anywhere before!  
I ended up compiling again with OSMesa and is now using just software rendering. Now the “remote rendering disabled” message no longer appears, but the whole process is still slow compared with having data locally on my laptop.

---

<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: [November 21, 2022, 7:48am UTC](https://discourse.paraview.org/t/pvserver-remote-rendering-disabled/10808/4 "2022-11-21T07:48:06Z")

</div>

Hi @axelwang ,

> [@axelwang](#):
>
> Thank you so much for this helpful info. I didn’t find this anywhere before!

Indeed, it seems to be missing from [docs.paraview.org](http://docs.paraview.org).  
It is documented here though:  
[ParaView: ParaView and Offscreen Rendering](https://kitware.github.io/paraview-docs/latest/cxx/Offscreen.html)

> I ended up compiling again with OSMesa and is now using just software rendering. Now the “remote rendering disabled” message no longer appears, but the whole process is still slow compared with having data locally on my laptop.

Just request a GPU and use the EGL release from [https://www.paraview.org/download/](https://www.paraview.org/download/) or build with EGL, it will be faster than OSMesa.

Best,
