DeepStream 7.1: nvv4l2-decoder fails inside container with "/dev/v4l2-nvdec" error

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU): Jetson
• DeepStream Version: 7.1
• JetPack Version (valid for Jetson only): 6.2.1+b38
• TensorRT Version: 10.3.0.30
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type(questions, new requirements, bugs): question

Hi,

I am running my pipeline using DeepStream 7.1 on a Jetson Orin Nano device. The pipeline works correctly when running directly on the device, but when I run it inside a Docker container based on nvcr.io/nvidia/deepstream:7.1-samples-multiarch, I encounter the following error:

**E1001 09:41:50.455479 pipeline.cpp:206] ERROR from element nvv4l2-decoder: Error getting capabilities for device '/dev/v4l2-nvdec': It isn't a v4l2 driver. Check if it is a v4l1 driver.**
**system error: Inappropriate ioctl for device**

The container is run with:

  • runtime: nvidia
  • privileged: true
  • network_mode: host
  • /dev:/dev mounted

Could someone explain why nvv4l2-decoder fails in this setup and how to resolve it?

Thanks in advance for your help.

This may be caused by the nvidia-container-toolkit not being installed correctly. Please try to re-burn JetPack-6.1

There is a similar topic

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks.