NVIDIA EncoderFromCuda initialization failed: Error allocating cuda memory: 709 bytes: 3110400

Hi,
We’re getting this error when trying to run our app, that uses cuda encoder on Orin.
Jetpack details:
sudo apt show nvidia-jetpack -a

Package: nvidia-jetpack
Version: 5.0.1-b118
Priority: standard
Section: metapackages
Maintainer: NVIDIA Corporation
Installed-Size: 199 kB
Depends: nvidia-jetpack-runtime (= 5.0.1-b118), nvidia-jetpack-dev (= 5.0.1-b118)
Homepage: http://developer.nvidia.com/jetson
Download-Size: 29.3 kB
APT-Sources: https://repo.download.nvidia.com/jetson/t234 r34.1/main arm64 Packages
Description: NVIDIA Jetpack Meta Package

Package: nvidia-jetpack
Version: 5.0.1-b118
Status: install ok installed
Priority: standard
Section: metapackages
Maintainer: NVIDIA Corporation
Installed-Size: 199 kB
Depends: nvidia-cuda (= 5.0.1-b118), nvidia-opencv (= 5.0.1-b118), nvidia-cudnn8 (= 5.0.1-b118), nvidia-tensorrt (= 5.0.1-b118), nvidia-container (= 5.0.1-b118), nvidia-vpi (= 5.0.1-b118), nvidia-nsight-sys (= 5.0.1-b118), nvidia-l4t-jetson-multimedia-api (>> 34.1-0), nvidia-l4t-jetson-multimedia-api (<< 34.2-0)
Homepage: http://developer.nvidia.com/jetson
Download-Size: unknown
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: NVIDIA Jetpack Meta Package

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_11_23:44:05_PST_2021
Cuda compilation tools, release 11.4, V11.4.166
Build cuda_11.4.r11.4/compiler.30645359_0

Any help is much appreciated.
Thanks,
Adi

Sorry for the late response, have you managed to get issue resolved or still need the support? Thanks

Hi,
We still have this issue. I’d appreciate your help.
Thanks,
Adi

Hi,

Is it a custom encoder?
Could you share a reproducible source so we can give it a try?
Does the same code work normally on other Jetson or dGPU?

Thanks.

Hi,

We base our encoder on your samples.
The same code works ok on PC with GPU, and other Jetson - Xavier, aaeon.
I’ll get back to you with reproducible code.
Thanks,
Adi

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