GLFW Error: GLX: Failed to create context: GLXBadFBConfig
I'm trying to see the results of (https://github.com/fregu856/3DOD_thesis) 3d object detection on kitti data set.In this, open3d is used for the visualization part of 3d bounding boxes. I'm getting the below mentioned error while running visualize_eval_test.py:
part of code creating error: inside visualize_eval_test.py: def draw_geometries_dark_background(geometries): print("inside draw_geometries_dark_background") vis = open3d.visualization.Visualizer() vis.create_window() opt = open3d.visualization.RenderOption() opt.background_color = np.asarray([0, 0, 0]) for geometry in geometries: vis.add_geometry(geometry) vis.run() vis.destroy_window()
error: $python visualization/visualize_eval_test.py GLFW Error: GLX: Failed to create context: GLXBadFBConfig Failed to create window Segmentation fault (core dumped)
Environment:
- OS: Ubuntu 16.04 [e.g. OSX Mojave, Ubuntu 16.04, Windows 10.0]
- Python version: Python 3.5.2
- Open3D version:0.5.0.0
- I'm using a GPU using SSH.
- How did you install Open3D?: pip
Any solution for this?
Regards Abhi
ssh into a remote server is a headless use case. The visualizer expect you have a monitor. (After all, without a monitor and a mouse, how do you interact with the visualizer, :)
However, if you have a predefined animation, you can run headless rendering. Check this out: http://www.open3d.org/docs/tutorial/Advanced/headless_rendering.html
@qianyizh Why isn't it possible to forward via X11? For matplotlib, it works to have an interactive window via SSH -X, given the environment variable DISPLAY is correctly configured. In order to test OpenGL, I tried glxgears with remote rendering and it also works. However, for open3d, the error I get is:
GLFW Error: GLX: GLX version 1.3 is required
Failed to create window
[DrawGeometries] Failed creating OpenGL window.
umm, interesting, last time I checked it worked well with X-window. Not sure about its current status though. @syncle any comment on this?
Hi guys, having a similar problem using XRDP. Any updates on this by any chance?
@qianyizh Why isn't it possible to forward via X11? For matplotlib, it works to have an interactive window via SSH -X, given the environment variable DISPLAY is correctly configured. In order to test OpenGL, I tried glxgears with remote rendering and it also works. However, for open3d, the error I get is:
GLFW Error: GLX: GLX version 1.3 is required Failed to create window [DrawGeometries] Failed creating OpenGL window.
Hi, have you ever figured out how to forward x11 without glx version error message?
Have same error that glx version 1.3 is required. My local Ubuntu (in WSL) has glx version 1.2. How do I update to 1.3?
@qianyizh Why isn't it possible to forward via X11? For matplotlib, it works to have an interactive window via SSH -X, given the environment variable DISPLAY is correctly configured. In order to test OpenGL, I tried glxgears with remote rendering and it also works. However, for open3d, the error I get is:
GLFW Error: GLX: GLX version 1.3 is required Failed to create window [DrawGeometries] Failed creating OpenGL window.
@qianyizh Why isn't it possible to forward via X11? For matplotlib, it works to have an interactive window via SSH -X, given the environment variable DISPLAY is correctly configured. In order to test OpenGL, I tried glxgears with remote rendering and it also works. However, for open3d, the error I get is:
GLFW Error: GLX: GLX version 1.3 is required Failed to create window [DrawGeometries] Failed creating OpenGL window.Hi, have you ever figured out how to forward x11 without glx version error message?
I have the same question, I need to forward rviz through ssh...
Have same error that glx version 1.3 is required. My local Ubuntu (in WSL) has glx version 1.2. How do I update to 1.3?
@qianyizh Why isn't it possible to forward via X11? For matplotlib, it works to have an interactive window via SSH -X, given the environment variable DISPLAY is correctly configured. In order to test OpenGL, I tried glxgears with remote rendering and it also works. However, for open3d, the error I get is:
GLFW Error: GLX: GLX version 1.3 is required Failed to create window [DrawGeometries] Failed creating OpenGL window.
Hello, have you solved the problem? I met the same situation and didn't find solution..
This is really difficult problem. Did any of you guys solved the headless rendering issue.. GLFW Error: GLX: GLX version 1.3 is required Failed to create window [DrawGeometries] Failed creating OpenGL window.
I keep getting this Error
This issue should be solved in the latest release of Open3D.
Still facing a similar issue. Using open3d version 0.11.2
Still facing a similar issue. Using open3d version 0.11.2
Same issue here, with the same version
I also have the same problems with open3d 0.11.2.
I also have the same problems with open3d 0.12.0.
same issue with open3d version 0.12.0
same issue with open3d version 0.12.0
@maxjaritz Hi, did you solve this issue? I was running your mvpnet code via SSH -X and got exactly the same issue mentioned here when trying to visualize the result. Btw thanks for your fantastic work!
@qianyizh Why isn't it possible to forward via X11? For matplotlib, it works to have an interactive window via SSH -X, given the environment variable DISPLAY is correctly configured. In order to test OpenGL, I tried glxgears with remote rendering and it also works. However, for open3d, the error I get is:
GLFW Error: GLX: GLX version 1.3 is required Failed to create window [DrawGeometries] Failed creating OpenGL window.
@maxjaritz Hi, did you solve this issue? I was running your mvpnet code via SSH -X and got exactly the same issue mentioned here when trying to visualize the result. Btw thanks for your fantastic work!
@qianyizh Why isn't it possible to forward via X11? For matplotlib, it works to have an interactive window via SSH -X, given the environment variable DISPLAY is correctly configured. In order to test OpenGL, I tried glxgears with remote rendering and it also works. However, for open3d, the error I get is:
GLFW Error: GLX: GLX version 1.3 is required Failed to create window [DrawGeometries] Failed creating OpenGL window.
Thanks :)
No, sorry :( However, I also did not try for a long time.
Same here! using x2go and getting same messages with open3d 0.12.0
@germanros1987 why is this issue closed? Lot's of people still face the issue including me