isl-org / isl-org/Open3D

[Open3D WARNING] GLFW Error: GLX

Open
#5,126 21 comments 4 reactions 0 assignees View on GitHub
question
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).

### My Question

I tried to use Open3d in docker.
But, the following error message appears:

[Open3D WARNING] GLFW Error: X11: Failed to open display :0
[Open3D WARNING] Failed to initialize GLFW
[Open3D WARNING] [DrawGeometries] Failed creating OpenGL window.

So I looked up issue and tried using the command "sudo xhost +" or "xhost +local:docker" and I got a different kind of error. The error is as follows.

[Open3D WARNING] GLFW Error: GLX: Failed to create context: BadMatch (invalid parameter attributes)
[Open3D WARNING] Failed to create window
[Open3D WARNING] [DrawGeometries] Failed creating OpenGL window.

There are nvidia graphics card drivers and ibnvidia-gl.
Below is a statement that appears when you enter a command to verify the version.

When entering the "nvidia-smi" command,
+-----------------------------------------------------------------------------+
| | NVIDIA-SMI 470.129.06 Driver Version: 470.129.06 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
So I also installed libnvidia-gl with the command "sudo apt-get-y install libnvidia-gl-470".

I really want to know the solution of this problem....

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.