Open3D
Open3D copied to clipboard
"Segmentation fault (core dumped)" when using o3d.visualization.rendering.OffscreenRenderer
Checklist
- [X] I have searched for similar issues.
- [X] For Python issues, I have tested with the latest development wheel.
- [X] I have checked the release documentation and the latest documentation (for
main
branch).
Steps to reproduce the issue
conda create -n open3d python==3.11
conda activate open3d
pip install numpy==1.26.4
pip install open3d
python -c "import open3d as o3d; \
box_render = o3d.visualization.rendering.OffscreenRenderer(512, 512)"
Error message
[Open3D INFO] EGL headless mode enabled.
FEngine (64 bits) created at 0x7f1396ceb010 (threading is enabled)
eglInitialize failed
Segmentation fault (core dumped)
Is egl causing the error?
I have tried "sudo apt install libegl1 libegl1-mesa libegl1-mesa-dev"
Open3D, Python and System information
- Operating system: Ubuntu 20.04.6 LTS
- Python version: 3.11.0 (main, Mar 1 2023, 18:26:19) [GCC 11.2.0]
- numpy version:1.26.4
- Open3D version: 0.18.0+18a47ef
- System architecture: x86
- Is this a remote workstation?: yes
- How did you install Open3D?: pip
Additional information
No response