isl-org / isl-org/Open3D

OpenGL Error (Windows WSL2 with Nvidia)

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

Description

Hi,

I am able to install the software and verify the following works, `python -c "import open3d.ml.torch as ml3d"` with out error,
However, when I run the example in readme, I got OpenGL error.

`INFO - 2021-12-11 14:35:22,038 - semantickitti - Found 42296 pointclouds for all
{'idx': 0, 'name': '00_001256', 'path': '/mnt/c/Users/PeterHuang/Documents/KITTI_DATASET/data_odometry_velodyne/dataset/sequences/00/velodyne/001256.bin', 'split': 'all'}
(122985, 3)
INFO - 2021-12-11 14:35:22,260 - semantickitti - Found 42296 pointclouds for all
FEngine (64 bits) created at 0x7f7075c42010 (threading is enabled)
FEngine resolved backend: OpenGL
X Error of failed request: GLXBadFBConfig
Major opcode of failed request: 148 (GLX)
Minor opcode of failed request: 0 ()
Serial number of failed request: 27
Current serial number in output stream: 27
Segmentation fault`

My environment is WSL2 with CUDA driver install from Nvidia [link](https://developer.nvidia.com/cuda/wsl)
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.00 Driver Version: 510.06 CUDA Version: 11.6 |
|-------------------------------+----------------------+----------------------+

I google online and tried to add the following `export MESA_GL_VERSION_OVERRIDE=4.5`, it seems work but render with a black screen.

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.