[Paraview-developers] Light-Viz --offscreen
Sebastien Jourdain
sebastien.jourdain at kitware.com
Mon Apr 30 11:07:46 EDT 2018
You will need to build ParaView with the proper rendering library like
describe here:
https://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/Offscreen.html
and
http://kitware.github.io/paraviewweb/docs/os_mesa.html
Although, if you have a NVidia GPU, the best approach is to build ParaView
with EGL.
But if you have a server X on the server and you just don't want to see the
window there are some arguments you can add to pvpython/pvbatch to leverage
a different rendering backend.
You can see those arguments when running --help.
https://github.com/Kitware/ParaView/blob/master/ParaViewCore/ClientServerCore/Core/vtkPVOptions.cxx#L301-L309
HTH,
Seb
On Mon, Apr 30, 2018 at 2:07 AM, Albrecht Kyrieleis <akyrieleis at gmail.com>
wrote:
> Hi,
> I want to start the light-viz server remotely from a command line. Using
> option -s starts the server, but when I open a data sets it crashes with:
>
> *ERROR: In ../vtkXOpenGLRenderWindow.cxx, line 273*
> *vtkXOpenGLRenderWindow (0x5823a00): bad X server connection. DISPLAY=[..*
>
> I guess this is because of the small window that pops up on the server
> when I open a data sets. How can I avoid that ? I tried the option
> --offscreen, but got the error:
>
> error: unknown option `--offscreen'
>
> I added this option in bin/light-viz-cli.js, but it does not seem to be
> part of pvw-light-viz.py
>
> Many thanks
> Albrecht
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=
> Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview-developers/attachments/20180430/e1899943/attachment-0001.html>
More information about the Paraview-developers
mailing list