ISAAC ROS Docker failed to inject CDI devices: unresolvable CDI devices nvidia.com/pva=all: unknown

Continuing the discussion from ISAAC ROS Docker failed to inject CDI devices: unresolvable CDI devices nvidia.com/gpu=all: unknown:

Yes, the command is executed outside the docker container, and I still have problem.
the error was the same as @riley.mathiasen , which was nvidia.com/gpu=all: unknownbut after I execute sudo rm -rf /etc/cdi/nvidia-* /usr/local/etc/cdi/nvidia-* and sudo nvidia-ctk cdi generate --mode=csv --output=/etc/cdi/nvidia.yaml , it changed to nvidia.com/pva=all: unknown. I have also reboot Jetson a few times.

What I have done:

  • Flashed latest Jetpack 6.2 to Jetson AGX Orin 64GB developer kit version
  • sudo apt update
  • sudo apt install nvidia-jetpack
  • sudo apt-get install docker.io
  • sudo rm -rf /etc/cdi/nvidia-* /usr/local/etc/cdi/nvidia-*
  • sudo nvidia-ctk cdi generate --mode=csv --output=/etc/cdi/nvidia.yaml
  • clone isaac_ros_common to jetson, and and run path_to_isaac_ros_common/scripts$ ./run_dev.sh -d $ISAAC_ROS_WS

error I got:

isaac_ros_common/scripts$ ./run_dev.sh -d $ISAAC_ROS_WS
Launching Isaac ROS Dev container with image key aarch64.ros2_humble: /mnt/orin_ssd/workspaces/isaac_ros-dev/
Building aarch64.ros2_humble base as image: isaac_ros_dev-aarch64
Building layered image for key aarch64.ros2_humble as isaac_ros_dev-aarch64
Using configured docker search paths: /mnt/orin_ssd/workspaces/isaac_ros-dev/src/isaac_ros_common/scripts/../docker
Checking if base image nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_e2b088db4f4af4f7f4e886aee5c0d9fa exists on remote registry
Found pre-built base image: nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_e2b088db4f4af4f7f4e886aee5c0d9fa
aarch64-ros2_humble_e2b088db4f4af4f7f4e886aee5c0d9fa: Pulling from nvidia/isaac/ros
Digest: sha256:1dbb3f36952fdbd6122e25e9ca7aef1ab215cb36a68c83f3834f2116b90d9790
Status: Image is up to date for nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_e2b088db4f4af4f7f4e886aee5c0d9fa
nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_e2b088db4f4af4f7f4e886aee5c0d9fa
Finished pulling pre-built base image: nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_e2b088db4f4af4f7f4e886aee5c0d9fa
Nothing to build, retagged nvcr.io/nvidia/isaac/ros:aarch64-ros2_humble_e2b088db4f4af4f7f4e886aee5c0d9fa as isaac_ros_dev-aarch64
Running isaac_ros_dev-aarch64-container
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: could not apply required modification to OCI specification: error modifying OCI spec: failed to inject CDI devices: unresolvable CDI devices nvidia.com/pva=all: unknown.

I am not sure if related, but I have set up SSD on Jetson, and here is the config of sudo nano /etc/docker/daemon.json:

{
    "data-root": "/mnt/orin_ssd/docker",
    "default-runtime": "nvidia",
    "runtimes": {
        "nvidia": {
            "args": [],
            "path": "nvidia-container-runtime"
        }
    }
}

Hi @absorbraver ,

Thank you for your post.

Please refer to bleow steps and give it a try:

Regards.

@jolin Thank you very much, I followed the steps you suggested and the error is solved, now I can create the container successfully.
However, my goal is to use the LI-AR0234CS-GMSL2-OWL camera with Jetson Orin 64 developer kit, I got some new problems, i just opened a new topic for it.

1 Like

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