-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
eglCreateContext failed with EGL_BAD_MATCH #4186
Comments
Does the remote workstation have a GPU? |
Are you running from a docker container or directly on the workstation? Also, please try running |
I run on a remote machine by SSH, not in docker container. The remote machine's OS is Ubuntu 18.04. The output of command 'eglinfo' is shown as follow: |
Sorry for disturbing you again. Is there any way to solve this problem? @errissa |
Would you please try with the latest Open3D, 0.15.1. |
Same problem. I use the version of 0.15.2. My environment is wsl with NVIDIA graphics driver and egl installed. It can display an app window correctly via MobaXterm X Server. When I run
And if I type the code below in IPython, import open3d as o3d
o3d.visualization.webrtc_server.enable_webrtc()
coord_frame = o3d.geometry.TriangleMesh.create_coordinate_frame()
o3d.visualization.draw(coord_frame) the output is
My
My
|
I also did some experiments. Web RTC worked well on Ubuntu with GNOME desktop. However, when I typed the command |
@B5paper Have you solved this problem? I have tested on ubuntu20.04, python draw_webrtc.py works fine. |
We now have CPU rendering support (in the latest master) for situations where the GPU is not available / too old, or drivers / libraries are not setup properly. Note that while everything should work, it will be slower than using a GPU. Please try it out if you are having problems in your system. (Linux only). Please try with the latest development Python wheel from here: |
Not a solution, but here's some more insight. As of now, nvidia/cuda doesn't support applications relying on OpenGL on WSL2 see: I did have success following the above advice on CPU rendering and using a WSL2 Ubuntu20.04 machine with The exact error I saw when trying to run with the GPU was
open3d version was 0.16 |
Hi @KiviWong for remote Linux servers, you have these options:
Closing this issue, since this is about remote 3D remote apps in general and not specific to Open3D. |
IMPORTANT: Please use the following template to report the bug.
Before submitting:
Describe the bug
I try to run example code 'examples/python/gui/draw_webrtc.py' and encounter some rouble. The error message will be report below.
To Reproduce
Steps to reproduce the behavior:
1 python3 draw_webrtc.py
2. See error
Expected behavior
Show the website address :P
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: