Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

"Segmentation fault (core dumped)" when using o3d.visualization.rendering.OffscreenRenderer

Open MnKnight1 opened this issue 1 year ago • 1 comments

Checklist

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

MnKnight1 avatar Aug 25 '24 11:08 MnKnight1

same error

Salieri0515 avatar Aug 26 '24 05:08 Salieri0515

我通过重新安装驱动解决了这个问题,安装时不要取消安装OpenGL文件

MnKnight1 avatar Aug 30 '24 04:08 MnKnight1

我通过重新安装驱动解决了这个问题,安装时不要取消安装OpenGL文件

Hello, I encountered the same problem as you. I would like to ask what you mean by "reinstalling the driver" here?

shaoqiwu avatar Oct 28 '24 09:10 shaoqiwu

you can install nVidia driver through command like this,i did not add –no-opengl-filesthis parameter

sudo chmod 777 NVIDIA-Linux-x86_64-525.53.run  
sudo ./NVIDIA-Linux-x86_64-525.53.run –no-opengl-files -no-x-check 

MnKnight1 avatar Oct 28 '24 09:10 MnKnight1