GLFW Error: GLX: No GLXFBConfigs returned

Hello,
I get this error when trying to render pointcloud using Open3d, It works normally if I don’t import torchvision library. I have no idea why this is happening

This is my system info,

  • Jectpack 5.1, Orin
  • Python 3.8.10
  • pytorch versions tried (1.12, 1.13, 1.14, 2.0.0)
  • compatible torchvision tried (0.13, 0.14, 0.15.1)
  • open3d versions tried (0.17, 0.16.1, 0.14.1)
    using python virtual venv

Hi,

Please try to change the import order to see if it helps.
We have met some similar issue that was caused by the initialization order.

Thanks.

@AastaLLL tried shuffle them, no success!

Hi,

We want to check this issue in our environment.
Could you share the steps for installing dependencies and the script to reproduce this?

Thanks.

@AastaLLL Hi, here’s steps to recreate the virtual environment, just tested on fresh one.

pip install these major dependencies,

numpy==1.22.0
open3d==0.17.0
opencv-python==4.7.0.72

Following the instructions of Tensorflow for Jetson

pip install --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v51 tensorflow==2.11.0+nv23.01

Following the instructions of Pytorch for Jetson

export TORCH_INSTALL=https://developer.download.nvidia.cn/compute/redist/jp/v50/pytorch/torch-1.12.0a0+2c916ef.nv22.3-cp38-cp38-linux_aarch64.whl
pip install --no-cache $TORCH_INSTALL

Similary, for torchvision

git clone --branch v0.13.0 https://github.com/pytorch/vision torchvision
cd torchvision
export BUILD_VERSION=0.13.0
python setup.py install
cd ../

run test.py
test.py (323 Bytes)

if you comment import torchvision it will work

Hi,

Thanks for the details.
Will share more information with you later.

Hi,

We found you are using the PyTorch package built for JetPack 5.0.
Please give the JetPack 5.1 package a try.

https://developer.download.nvidia.cn/compute/redist/jp/v51/pytorch/

Thanks.

Hi @AastaLLL,

I have tried all these versions (quoted in my first post)!

Hi @AastaLLL ,

Do you have any updates on this?

Hi,

Thanks for your patience.

We are checking this internally.
Will share more information with you soon.

Hi,

We check this issue further and found some related topics in the Open3D repository.
Could you double-confirm if Open3D works without importing TorchVision?

Based on the above link, it seems that Open3D cannot run on iGPU.

Thanks.

Hi, I’m using Jetpack 5.0.2 on Jetson Xavier NX. Getting same error on one board while using OpenGL. However, another board working fine (using same code).

Hi @AastaLLL ,

Sorry for the delay, I double checked Open3d works without torchvision

Hi,

Thanks for the confirmation.

Have you tried the same app on othter environment?
Is this something specific to the Jetson environment?

Thanks.

Hi @AastaLLL ,

I’m not sure what changed, but not able to reproduce the error again on Orin as well.

Hi,

Thanks for the update.
Please file a new topic once you meet the error again.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.