isl-org / isl-org/Open3D

[Bug][Open3D WARNING] GLFW Error: GLX: No GLXFBConfigs returned

Open
#6,072 6 comments 0 reactions 0 assignees View on GitHub
bug
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

Visualization inside the docker container. If I don't import fuse_conv_bn from mmcv.cnn, no error occurs; but An open3d error occurred when I import fuse_conv_bn from mmcv.cnn. How can I fix it ?

### Steps to reproduce the bug

```python
import argparse
import mmcv
import os
import torch
import warnings
from mmcv import Config, DictAction
from mmcv.cnn import fuse_conv_bn

import open3d
vis = open3d.visualization.Visualizer()
vis.create_window()
```

### Error message

[Open3D WARNING] GLFW Error: GLX: No GLXFBConfigs returned
[Open3D WARNING] GLFW Error: GLX: Failed to find a suitable GLXFBConfig
[Open3D WARNING] Failed to create window

### Expected behavior

_No response_

### Open3D, Python and System information

```markdown
- Operating system: Ubuntu 20.04
- Python version: Python 3.8
- Open3D version: 0.11.2

- How did you install Open3D?: pip
```

### Additional information

I am running open3d on the server. I can create window and visualize the results if ‘vis.create_window()' before 'from mmcv.cnn import fuse_conv_bn', but if 'from mmcv.cnn import fuse_conv_bn' before 'vis.create_window()', I can't create window and Open3D WARNING occurs. How can I fix it ?

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.