Konstantinos Samaras-Tsakiris
Konstantinos Samaras-Tsakiris
@texodus can we release the new wheels? Thanks for merging!
Closing in favor of #3092 , which carries over my work.
The bug is reproducible also under the following 2 alternative conditions: ### vtk 9.2.6 This is my typical setup; I tried upgrading to vtk 9.4.2 to test with EGL, just...
This bug was not present with Tensorflow 2.19 and occurs only after upgrading to Tensorflow 2.20. Pyvista remains the same version. Also reported to https://github.com/tensorflow/tensorflow/issues/99925
In order to get the segfault, I have to first import tensorflow and then request the screenshot. The reproduction script above (first screenshot, then tensorflow) hangs instead. I updated the...
The segfault happens at `self.render_window.Render()`, which looks like a VTK call.
I reproduced with VTK 9.5.1.
The VTK render_window is of class `vtkmodules.vtkRenderingOpenGL2.vtkXOpenGLRenderWindow` . Will try to repro with EGL.
Reproducible also with an EGL window: ```python import faulthandler import os # Force EGL off-screen rendering (must be set before importing pyvista) os.environ.setdefault("VTK_DEFAULT_OPENGL_WINDOW", "vtkEGLRenderWindow") os.environ.setdefault("PYVISTA_OFF_SCREEN", "true") os.environ.setdefault("PYVISTA_USE_EGL", "true") # Prevent...
Indeed, following this investigation here I opened the VTK issue. Thanks for being so responsive! A warning is much better than a naked segfault or, even worse, a deadlock. Please...