isl-org / isl-org/Open3D

OffscreenRenderer (EGL headless) with FIlament not supported on macOS AppleSilicon

Open
#5,864 7 comments 1 reaction 0 assignees View on GitHub
bug visualization
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](http://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](http://www.open3d.org/docs/release/) and the [latest documentation](http://www.open3d.org/docs/latest/) (for `master` branch).

### Describe the issue

I've been trying to run open3d.visualization.rendering.OffscreenRenderer on the M1 MacBook Pro but it crashes due to a Open3D Filament error (copied below - EGL Headless is not supported).

I'm on python 3.10 and installed open3d through `pip install open3d`. I'm on open3d 0.16.1 and Mac OS 12.6.1

### Steps to reproduce the bug

```python
Python 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:25:29) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import open3d.visualization.rendering as rendering
>>> render = rendering.OffscreenRenderer(480, 480)
libc++abi: terminating with uncaught exception of type std::runtime_error: [Open3D Error] (open3d::visualization::rendering::EngineInstance::EngineInstance()) /Users/renes/development/open3d_work/Open3D/cpp/open3d/visualization/rendering/filament/FilamentEngine.cpp:123: EGL Headless is not supported on this platform.
```

### Error message

```
libc++abi: terminating with uncaught exception of type std::runtime_error:
[Open3D Error] (open3d::visualization::rendering::EngineInstance::EngineInstance())
/Users/renes/development/open3d_work/Open3D/cpp/open3d/visualization/rendering/filament/FilamentEngine.cpp:123:
EGL Headless is not supported on this platform.
```

### Expected behavior

OffscreenRenderer to work

### Open3D, Python and System information

```markdown
- Operating system: macOS 12.6.1
- Python version: Python 3.10.8
- Open3D version: 0.16.1
- System architecture: apple-silicon
- Is this a remote workstation?: no
- How did you install Open3D?: pip
- Compiler version (if built from source):
```

### Additional information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.