DW_NOT_SUPPORTED: NVCUVIDDecode: Codec not supported on this GPU

Hi! I pulled docker from nvcr.io, and have an error when run sample_camera_replay

/usr/local/driveworks/bin/sample_camera_replay


[31-05-2024 07:26:43] SensorFactory::createSensor() → camera.virtual, video=/usr/local/driveworks-5.10/data/samples/sfm/triangulation/video_0.h264
[31-05-2024 07:26:43] CameraVirtual: defaulting to non SIPL
[31-05-2024 07:26:43] CameraVirtual: h264 and h265 video format decoding is deprecated. Please switch to a different format.
[31-05-2024 07:26:43] CameraBase: pool size set to 8
[31-05-2024 07:26:43] Driveworks exception thrown: DW_NOT_SUPPORTED: NVCUVIDDecode: Codec not supported on this GPU

other samples without cameras work ok. I checked support matrix and as I understand my videocard should have h264 support.

what am I doing wrong? =(

host OS: ubuntu 2204
docker image: nvcr.io/.../drive-agx-orin-linux-aarch64-sdk-build-x86:6.0.6.0-0004
nvidia-smi: NVIDIA-SMI 470.239.06 Driver Version: 470.239.06 CUDA Version: 11.4
videocard: Quadro T1000 (Mobile/Laptop)

Dear @mathcow,
Do you see libnvcuvid.so.x on machine? If so, what’s is the version?

root@6.0.6.0-0004-build-linux-sdk:/drive# find /usr/ -iname libnvcuvid.so*
/usr/lib/x86_64-linux-gnu/libnvcuvid.so.1
/usr/lib/x86_64-linux-gnu/libnvcuvid.so.470.161.03
/usr/lib/x86_64-linux-gnu/libnvcuvid.so

root@6.0.6.0-0004-build-linux-sdk:/drive# ls -lah /usr/lib/x86_64-linux-gnu/libnvcuvid*
lrwxrwxrwx 1 nvidia nvidia 15 Oct 19 2022 /usr/lib/x86_64-linux-gnu/libnvcuvid.so → libnvcuvid.so.1
lrwxrwxrwx 1 nvidia nvidia 24 Oct 19 2022 /usr/lib/x86_64-linux-gnu/libnvcuvid.so.1 → libnvcuvid.so.470.161.03
-rw-r–r-- 1 nvidia nvidia 5.3M Oct 19 2022 /usr/lib/x86_64-linux-gnu/libnvcuvid.so.470.161.03

SOLVED!

  1. updated to ubuntu 24.04 (Im not sure it’s important, I just prefer fresh distros),

  2. add these lines in my Dockerfile

ENV NVIDIA_VISIBLE_DEVICES ${NVIDIA_VISIBLE_DEVICES:-all}
ENV NVIDIA_DRIVER_CAPABILITIES ${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_C>
  1. set these env variables in container
    __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia
    from here: possible explanation

Dear @mathcow,
Thank you for your update.

1 Like