Mixing cuda 10 and cuda 11.4 on Orin

Hello! I’m running into an issue with having cuda 10.0 and cuda 11.4 in a docker container (l4t-jetpack:r35.4.1 as my base) on a Jetson Orin with Jetpack 5.1.2. I have the newest Nvidia-container-toolkit installed on the device. When running my application I must install nvidia-compute-535 to get the cuda 10 side of things working. But that breaks the gstreamer plugins (nvbufsurftransform:cuInit failed : 100). Not installing nvidia-compute-535 leads to cuda 10 not loading at all.

I’ve narrowed it down to the symlink in /usr/lib/aarch64-linux-gnu/libcuda.so. When compute is installed then it’ll point to libcuda.so.535.x.y.z, but without it it’ll point to /usr/lib/aarch64-linux-gnu/tegra/libcuda.so. I’m just looking for some advice on what might be happening here and how I can get around it.

Thanks!

Hi,

Is your application built with CUDA 10?
If yes, please recompile the app. CUDA 10 is not available on the Orin device.

Thanks.

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