Error in installing Cuda with zed sdk

I’m installing zed sdk 3.7.1 in ubuntu 20.04 having NVIDIA GeForce GT 630 OEM Graphics card.
I downloaded the zed sdk .run file and follow the steps given on the website.
During installation following errors were occured and zed sdk installed successfully but CUDA was not installed.

what can be the problem?

Hi,

On Linux, you need to install first CUDA toolkit from here :
Ex for CUDA 11.5 : CUDA Toolkit 11.5 Downloads | NVIDIA Developer

I have installed CUDA already.
But once again deleted old files and installed again.
Now following error is occurring while opening ZED_Depth_Viewer.

Also getting following error while opening ZED Explorer and unable to play SVO recording:

** [SVO] Hardware compression (NVENC) not available **

Hi,

Checking your graphic card, it won’t be supported by the ZED SDK / CUDA 11.x since the compute capability is under 3.0 (CUDA GPUs | NVIDIA Developer)

You need to upgrade your graphic card to a more recent version or use the zed-open-capture repository if you only need images capture.

1 Like

Actually, after installation I reboot the system and it didn’t start.
Only black screen was there, I think it was a drivers issue. So, I uninstall CUDA and all NVIDIA Drivers from my pc.
Then check the recommended drivers for my graphics card and installed the same. And with that CUDA 11.4 was installed ( I guess).
Please see the image below

But for ZED SDK 3.7.1 CUDA 11.5 is required.
What can be the solution?

I am receiving this error as well when starting ZED_Explorer.

** [SVO] Hardware compression (NVENC) available **

NVIDIA Quadro RtX 4000 ( times three )
Ubuntu 20.04 LTS

ffmpeg can load the NVIDIA hardware encoder.

CUDA 11.6 <— is this a concern being higher that 11.5 ?

==========================================================
(base) bpuroll@adsroot.itcs.umich.edu@tri-gttr-gpu3:~$ ffmpeg -v debug -init_hw_device cuda
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Splitting the commandline.
Reading option ‘-v’ … matched as option ‘v’ (set logging level) with argument ‘debug’.
Reading option ‘-init_hw_device’ … matched as option ‘init_hw_device’ (initialise hardware device) with argument ‘cuda’.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Applying option init_hw_device (initialise hardware device) with argument cuda.
[AVHWDeviceContext @ 0x564a36d263c0] Loaded lib: libcuda.so.1
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuInit
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDeviceGetCount
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDeviceGet
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDeviceGetAttribute
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDeviceGetName
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDeviceComputeCapability
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuCtxCreate_v2
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuCtxSetLimit
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuCtxPushCurrent_v2
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuCtxPopCurrent_v2
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuCtxDestroy_v2
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuMemAlloc_v2
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuMemAllocPitch_v2
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuMemsetD8Async
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuMemFree_v2
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuMemcpy2D_v2
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuMemcpy2DAsync_v2
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuGetErrorName
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuGetErrorString
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuCtxGetDevice
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDevicePrimaryCtxRetain
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDevicePrimaryCtxRelease
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDevicePrimaryCtxSetFlags
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDevicePrimaryCtxGetState
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDevicePrimaryCtxReset
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuStreamCreate
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuStreamQuery
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuStreamSynchronize
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuStreamDestroy_v2
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuStreamAddCallback
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuEventCreate
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuEventDestroy_v2
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuEventSynchronize
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuEventQuery
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuEventRecord
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuLaunchKernel
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuModuleLoadData
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuModuleUnload
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuModuleGetFunction
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuTexObjectCreate
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuTexObjectDestroy
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuGLGetDevices_v2
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuGraphicsGLRegisterImage
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuGraphicsUnregisterResource
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuGraphicsMapResources
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuGraphicsUnmapResources
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuGraphicsSubResourceGetMappedArray
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDeviceGetUuid
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuImportExternalMemory
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDestroyExternalMemory
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuExternalMemoryGetMappedBuffer
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuExternalMemoryGetMappedMipmappedArray
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuMipmappedArrayGetLevel
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuMipmappedArrayDestroy
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuImportExternalSemaphore
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuDestroyExternalSemaphore
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuSignalExternalSemaphoresAsync
[AVHWDeviceContext @ 0x564a36d263c0] Loaded sym: cuWaitExternalSemaphoresAsync
Successfully parsed a group of options.
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}…

Use -h to get full help or, even better, run ‘man ffmpeg’

Hi,

If you have " [SVO] Hardware compression (NVENC) available ", then it means that the hardware compression for H264/5 is supported.

When it’s not, it’s written " [SVO] Hardware compression (NVENC) NOT available "

So I don’t see any error in what you show.