Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server Based Rendering to View over X11 Forwarding with SSH #5105

Open
evrose54 opened this issue Oct 19, 2023 · 2 comments
Open

Server Based Rendering to View over X11 Forwarding with SSH #5105

evrose54 opened this issue Oct 19, 2023 · 2 comments
Labels
feature-request Please add this cool feature!

Comments

@evrose54
Copy link

Describe the feature you would like to be added.

I've been working with Pyvista for nearly a year now (it's great), however I've noticed some limitations regarding its accessibility over ssh. I work for a research institute that deals with satellite data, and have been requested to build a product that displays this data in 3D. See here for an example of this. I've got this to work locally, however the data is stored on servers and it is largely inefficient to download the data each time you want to view a certain product.

For this reason, it would be amazing if Pyvista could Remotely-Render 3D objects, then transport them via X11 forwarding over SSH to be viewed on a client machine. I've got the code to run with a simple GUI, however when it's time for the object to actually be displayed, I run into this error. I've ensured that we have the appropriate libraries installed on both the client and server machines. I also have another version to be displayed on the web, which works locally, but segfaults over a remote machine.

Here is the error:

2023-10-18 16:57:03.167 ( 60.580s) [ CE66B1C0]vtkOpenGLRenderWindow.c:517 ERR| vtkXOpenGLRenderWindow (0x4289710): Unable to find a valid OpenGL 3.2 or later implementation. Please update your video card driver to the latest version. If you are using Mesa please make sure you have version 11.2 or later and make sure your driver in Mesa supports OpenGL 3.2 such as llvmpipe or openswr. If you are on windows and using Microsoft remote desktop note that it only supports OpenGL 3.2 with nvidia quadro cards. You can use other remoting software such as nomachine to avoid this issue.

If anyone knows how to fix this, or if this is just a limitation of PyVista at the moment, any help would be appreciated.

Links to VTK Documentation, Examples, or Class Definitions.

No response

Pseudocode or Screenshots

Here is the error when hosted on the web:

And to prevent your browser from opening, add '--server' to your command line.

App running at:
 - Local:   http://localhost:8080/
 - Network: http://10.2.109.30:8080/

Note that for multi-users you need to use and configure a launcher.
Segmentation fault (core dumped)
@evrose54 evrose54 added the feature-request Please add this cool feature! label Oct 19, 2023
@banesullivan
Copy link
Member

This should be easily doable... I don't know how off-hand as I exclusively use Trame for all remote rendering these days. I recommend posting the question on the VTK discourse as there should be a few folks there that do this everyday (with VTK at least)

https://discourse.vtk.org/

Definitely follow up if you have any luck!

@banesullivan
Copy link
Member

Though really the error seems like you might just be missing your graphics drivers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Please add this cool feature!
Projects
None yet
Development

No branches or pull requests

2 participants