Open3D error while running DROID-SLAM

Hi, I’m trying to run DROID-SLAM ( GitHub - princeton-vl/DROID-SLAM ) and facing Error now.

I’m using Orin AGX with Jetpack 5.0.2, and successed to build with “pip3 install .” from the root directory of the cloned folder.
But when I try to run with
python3 demo.py --imagedir=data/rgbd_dataset_freiburg3_cabinet/rgb --calib=calib/tum3.txt
then the error about CUDA shared memory occured.

File “/usr/local/lib/python3.8/dist-packages/torch/storage.py”, line 800, in share_cuda
return self._storage.share_cuda(*args, **kwargs)
RuntimeError: CUDA error: operation not supported

I found out that this is because of PyTorch, which doesn’t support NvSCI IPC.
So I changed every code which is using GPU shared memory to use GPU memory with deleting .shared_memory_()
Then it works, but it can’t create new window when using open3d, it says

[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

Is there any way to use open3d with Jetson?

Hi,
Here are some suggestions for the common issues:

1. Performance

Please run the below command before benchmarking deep learning use case:

$ sudo nvpmodel -m 0
$ sudo jetson_clocks

2. Installation

Installation guide of deep learning frameworks on Jetson:

3. Tutorial

Startup deep learning tutorial:

4. Report issue

If these suggestions don’t help and you want to report an issue to us, please attach the model, command/step, and the customized app (if any) with us to reproduce locally.

Thanks!

Hi,

We have a similar issue before.

The Open3d can work without importing torchvision.

Thanks.

So you mean there is no way to use Open3D with torchvision on Jetson?
The code uses torchvision module so it needs to be edited to remove import torchvision…

Hi,

Previously, the user needed to remove the torchvision to make it work.
You can check if this issue is fixed or improved with the open3D team.

Thanks.

1 Like

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