Comments (9)
We're looking into this but haven't been able to reproduce this yet with the same OS and Docker version. We're still running a few more experiments on freshly provisioned machines to see if we can narrow it down.
Our theory is that setup instructions in nvidia-container-toolkit is different than what our machine provisioning scripts do (listed below):
# Install Nvidia Docker runtime
curl -s -L https://nvidia.github.io/nvidia-container-runtime/gpgkey | \
sudo apt-key add -
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-container-runtime/$distribution/nvidia-container-runtime.list | \
sudo tee /etc/apt/sources.list.d/nvidia-container-runtime.list
sudo apt-get update
sudo apt-get install -y nvidia-container-runtime
sudo systemctl restart docker
sudo gpasswd -a $USER docker
sudo usermod -a -G docker $(whoami)
newgrp docker
from isaac_ros_visual_slam.
was facing the same issue...
SOLVED by following these steps below
Editing the file /etc/docker/daemon.json
to include:
{
"runtimes": {
"nvidia": {
"path": "nvidia-container-runtime",
"runtimeArgs": []
}
}
}
and then running:
sudo systemctl daemon-reload
sudo systemctl restart docker
The error stops showing and we are able to see the GPUs inside the containers when we run:
sudo docker run --rm --runtime=nvidia --gpus all ubuntu nvidia-smi
prior to all this, we followed this tutorial (NVIDIA container toolkit instructions).
Yet, it did not require to edit the file, as described above.
from isaac_ros_visual_slam.
It looks like you may not have nvidia-container-toolkit
installed. See here for instructions on how to install on your x86_64 system running Jammy.
from isaac_ros_visual_slam.
We have installed nvidia-container-toolkit and then started docker, but we get this error.
from isaac_ros_visual_slam.
I am experiencing same issue, nvidia-container-toolkit is also installed.
from isaac_ros_visual_slam.
I am experiencing same issue, nvidia-container-toolkit is also installed.
from isaac_ros_visual_slam.
Hi,
is there any update regarding this issue? I'm experiencing the same on Ubuntu 22.04, Docker v4.30.0
from isaac_ros_visual_slam.
The previous solution did not solve my problem.
My original daemon.json
was:
{
"runtimes": {
"nvidia": {
"args": [],
"path": "nvidia-container-runtime"
}
}
}
I changed for the above one and did not solve. I already installed nvidia-container-toolkit. I am using Ubuntu 22.04.3 LTS.
from isaac_ros_visual_slam.
Happened to run across this thread, so will give my experience:
I had the same problem a couple weeks ago, also with Ubuntu 22.04. I had docker installed via snap, and that caused some of the paths to be different than what the Nvidia tools expect. I'm sure it should be fixable for the snap installation as well, but for me the easiest solution was to remove docker entirely and re-install it via apt-get as instructed here in docker guides. I tried to make it work with the snap version but quickly ran out of patience and decided to just reinstall docker entirely.
So if you haven't already, you might want to check how your docker is installed.
from isaac_ros_visual_slam.
Related Issues (20)
- Problem with tilted camera mount HOT 7
- [ERROR] X HOT 4
- "Visual tracking is lost" in tutorial HOT 5
- Feature Request: Add support for monocular cameras
- /visual_slam/status is incorrect ? HOT 1
- IMU fusion status HOT 6
- Cuda issue when running roslaunch command. HOT 2
- Feature request : localization only mode. HOT 2
- isaac_ros_visual_slam_zed.launch.py If an error occurs when running HOT 2
- No messages being published HOT 2
- Problem with the quickstart HOT 1
- no vio with zedm camera HOT 1
- LoadMapAdnLocalize crashes HOT 3
- cuvslam HOT 1
- EuRoc dataset
- Is it possible to increase odometry/slam rate past camera rate?
- Realsense camera not shown When I run the launch file
- problem with colcon build
- isaac sim freeze when ros visual slam is being run
- cuVSLAM not publishing any points or point cloud
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isaac_ros_visual_slam.