[Paraview-developers] pvpython and force_offscreen_rendering on OS X

Sgouros, Thomas thomas_sgouros at brown.edu
Wed Jan 24 16:07:05 EST 2018


Thank you. I'm chasing this issue, actually. Perhaps I've misdiagnosed it?

$ LightViz --paraview /Applications/ParaView-5.4.1.app --data
../mat-viz-mofTFF-90L-9.1lpm-100rpm


===============================================================================

| Execute:

| $ "/Applications/ParaView-5.4.1.app/Contents/bin/pvpython"

| -dr

| --force-offscreen-rendering

| "/usr/local/lib/node_modules/light-viz/server/pvw-light-viz.py"

| --content

| "/usr/local/lib/node_modules/light-viz/dist"

| --port

| 8080

| --data

| "../mat-viz-mofTFF-90L-9.1lpm-100rpm"

===============================================================================


Got unknown argument: --force-offscreen-rendering





On Wed, Jan 24, 2018 at 4:02 PM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:

> I misspoke. Not pvpython, the option is only available for pvserver,
> pvbatch and not pvpython.
>
> No, XQuartz is not it. If you're logged in, you have access to the Cocoa
> server.
>
> On Wed, Jan 24, 2018 at 3:58 PM, Sgouros, Thomas
> <thomas_sgouros at brown.edu> wrote:
> > $ /Applications/ParaView-5.4.1.app/Contents/bin/pvpython
> > --force-offscreen-rendering
> > Got unknown argument: --force-offscreen-rendering
> >
> > What does "access to Cocoa" mean in this context? How would I go about
> > giving it that access? All I could think of was to run the XQuartz
> server at
> > the same time, but I don't see any way to tell pvpython to look there.
> >
> > Thank you,
> >
> >  -Tom
> >
> > On Wed, Jan 24, 2018 at 3:36 PM, Utkarsh Ayachit
> > <utkarsh.ayachit at kitware.com> wrote:
> >>
> >> You can use `--force-offscreen-rendering` flag for standard ParaView
> >> builds on OsX when using pvpython/pvserver etc. It simply implies that
> >> there'll be no windows popped up for these command line executables.
> >> Note, ParaView still needs access to Cocoa to create OpenGL contexts
> >> for rendering.
> >>
> >> Utkarsh
> >>
> >> On Wed, Jan 24, 2018 at 3:02 PM, Sgouros, Thomas
> >> <thomas_sgouros at brown.edu> wrote:
> >> > Hello:
> >> >
> >> > The documentation seems ambiguous on the point, can anyone confirm for
> >> > me
> >> > how to get a version of pvpython that runs on OS X and supports the
> >> > --force-offscreen-rendering option?
> >> >
> >> > My reading seems to imply that I will have to compile from the source,
> >> > but
> >> > I've been trying and failing to understand how to make the super-build
> >> > process work. If someone can confirm for me that this is the way
> >> > forward,
> >> > I'd appreciate it.
> >> >
> >> > Also, when using the paraview-superbuild, when I try to install, I get
> >> > this:
> >> >
> >> > CMake Error at
> >> > /../paraview-superbuild/projects/apple/paraview.bundle.cmake:8
> >> > (message):
> >> >
> >> >   Creating the Apple package without the GUI is not supported.
> >> >
> >> > To which superbuild option does this refer?
> >> >
> >> > Thank you,
> >> >
> >> >  -Tom
> >> >
> >> >
> >> > _______________________________________________
> >> > 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://paraview.org/mailman/listinfo/paraview-developers
> >> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://paraview.org/pipermail/paraview-developers/attachments/20180124/5d00c911/attachment-0001.html>


More information about the Paraview-developers mailing list