Nvv4l2decoder/nvv4l2h264enc crash in container - nvidia-container-toolkit 1.19.1-1 ("S_EXT_CTRLS for CUDA_GPU_ID failed")

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
GPU
• DeepStream Version
9.0
• JetPack Version (valid for Jetson only)
• TensorRT Version
10.1
• NVIDIA GPU Driver Version (valid for GPU only)
610.47
• Issue Type( questions, new requirements, bugs)
info
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Sharing as an informational heads-up. DeepStream’s nvv4l2decoder and nvv4l2h264enc crash with a SIGSEGV inside a container when using nvidia-container-toolkit 1.19.1-1 on WSL :

  • nvidia-container-toolkit → 1.19.1-1
  • nvidia-container-toolkit-base → 1.19.1-1
  • libnvidia-container-tools → 1.19.1-1
  • libnvidia-container1 → 1.19.1-1

A simple transcode pipeline fails during PREROLL with:

Error while setting IOCTL
Invalid control
S_EXT_CTRLS for CUDA_GPU_ID failed
Caught SIGSEGV

Pipeline:

gst-launch-1.0 filesrc location=sample_720p.mp4 ! qtdemux ! h264parse ! nvv4l2decoder ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location=filedump.mp4 -v

Fix: downgrading the container toolkit to 1.18.0-1 resolves it:

bash

sudo apt-get install -y --allow-downgrades \
  nvidia-container-toolkit=1.18.0-1 \
  nvidia-container-toolkit-base=1.18.0-1 \
  libnvidia-container-tools=1.18.0-1 \
  libnvidia-container1=1.18.0-1

Thank you for your feedback. I believe this is a compatibility issue between the nvidia-container-toolkit and the GPU drivers on WSL.

For DeepStream, the currently validated driver version and GPU configuration are: Game Ready Driver version 572.60, paired with a GeForce RTX 3050. This information will be very useful for the community.

I’ve just opened an issue for this bug on the official repo. The issue can be tracked here:: [Bug]: nvv4l2decoder/nvv4l2h264enc SIGSEGV with nvidia-container-toolkit 1.19.1-1 on WSL2 (fix: downgrade to 1.18.0-1) · Issue #1864 · NVIDIA/nvidia-container-toolkit · GitHub