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

Core dumped on examples VTK Simple cone Remote Rendering #570

Closed
2 of 14 tasks
paskino opened this issue Jul 28, 2024 · 4 comments
Closed
2 of 14 tasks

Core dumped on examples VTK Simple cone Remote Rendering #570

paskino opened this issue Jul 28, 2024 · 4 comments

Comments

@paskino
Copy link

paskino commented Jul 28, 2024

Running https://github.com/Kitware/trame/blob/master/examples/06_vtk/01_SimpleCone/RemoteRendering.py

cd examples/06_vtk/01_SimpleCone/
python RemoteRendering.py

results in Segmentation fault (core dumped).

To make sure it wasn't trame I ran succesfully an example without VTK.
https://github.com/Kitware/trame/blob/master/examples/03_markdown/01_markdown.py

To Reproduce

My system is a Ubuntu 24.04. I freshly installed miniforge (28/7/24).

conda create -n trame_example python
conda activate trame_example
pip install "trame>=3" trame-vtk trame-vuetify "vtk>9.1"

The current environment as reported by conda list:

# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
aiohttp                   3.9.5                    pypi_0    pypi
aiosignal                 1.3.1                    pypi_0    pypi
attrs                     23.2.0                   pypi_0    pypi
bzip2                     1.0.8                h4bc722e_7    conda-forge
ca-certificates           2024.7.4             hbcca054_0    conda-forge
contourpy                 1.2.1                    pypi_0    pypi
cycler                    0.12.1                   pypi_0    pypi
fonttools                 4.53.1                   pypi_0    pypi
frozenlist                1.4.1                    pypi_0    pypi
idna                      3.7                      pypi_0    pypi
kiwisolver                1.4.5                    pypi_0    pypi
ld_impl_linux-64          2.40                 hf3520f5_7    conda-forge
libexpat                  2.6.2                h59595ed_0    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 14.1.0               h77fa898_0    conda-forge
libgomp                   14.1.0               h77fa898_0    conda-forge
libnsl                    2.0.1                hd590300_0    conda-forge
libsqlite                 3.46.0               hde9e2c9_0    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libxcrypt                 4.4.36               hd590300_1    conda-forge
libzlib                   1.3.1                h4ab18f5_1    conda-forge
matplotlib                3.9.1                    pypi_0    pypi
more-itertools            10.3.0                   pypi_0    pypi
msgpack                   1.0.8                    pypi_0    pypi
multidict                 6.0.5                    pypi_0    pypi
ncurses                   6.5                  h59595ed_0    conda-forge
numpy                     2.0.1                    pypi_0    pypi
openssl                   3.3.1                h4bc722e_2    conda-forge
packaging                 24.1                     pypi_0    pypi
pillow                    10.4.0                   pypi_0    pypi
pip                       24.0               pyhd8ed1ab_0    conda-forge
pyparsing                 3.1.2                    pypi_0    pypi
pysnooper                 1.2.0                    pypi_0    pypi
python                    3.12.4          h194c7f8_0_cpython    conda-forge
python-dateutil           2.9.0.post0              pypi_0    pypi
readline                  8.2                  h8228510_1    conda-forge
setuptools                71.0.4             pyhd8ed1ab_0    conda-forge
six                       1.16.0                   pypi_0    pypi
tk                        8.6.13          noxft_h4845f30_101    conda-forge
trame                     3.6.3                    pypi_0    pypi
trame-client              3.2.1                    pypi_0    pypi
trame-markdown            3.0.1                    pypi_0    pypi
trame-server              3.0.3                    pypi_0    pypi
trame-vtk                 2.8.9                    pypi_0    pypi
trame-vuetify             2.6.2                    pypi_0    pypi
tzdata                    2024a                h0c530f3_0    conda-forge
vtk                       9.3.1                    pypi_0    pypi
wheel                     0.43.0             pyhd8ed1ab_1    conda-forge
wslink                    2.1.1                    pypi_0    pypi
xz                        5.2.6                h166bdaf_0    conda-forge
yarl                      1.9.4                    pypi_0    pypi

Platform:

Device:

  • Desktop
  • Mobile

OS:

  • Windows
  • MacOS
  • Linux
  • Android
  • iOS

Browsers Affected:

  • Chrome
  • Firefox
  • Microsoft Edge
  • Safari
  • Opera
  • Brave
  • IE 11
@jourdain
Copy link
Collaborator

Most likely due to a headless system with vtk.
If X is not installed and running, you need to use vtk-egl or vtk-osmesa instead using --extra-index-url https://wheels.vtk.org/.

@paskino
Copy link
Author

paskino commented Jul 31, 2024

do you mean pip install vtk-egl --extra-index-url https://wheels.vtk.org ?

The system has X configured, but I am running remotely, so it may be trying to open a window and not manage?

@jourdain
Copy link
Collaborator

pip uninstall vtk
pip install vtk-egl --extra-index-url https://wheels.vtk.org

@paskino
Copy link
Author

paskino commented Aug 1, 2024

Thanks for the prompt response @jourdain , I confirm that it all works with vkt-egl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants