Having built ffmpeg with nvidia codec, I am randomly getting these errors upon startup of the video streams:
[hevc_cuvid @ 0x558a37ff7f00] ctx->cvdl->cuvidDecodePicture(ctx->cudecoder, picparams) failed -> CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure
[hevc_cuvid @ 0x558a37ff7f00] cuvid decode callback error
I am simultaneously running multiple stream decoding both h264 and h265 on an RTX 2070 with the latest CUDA11.1/CuDNN8.05 nv-codec-headers and driver 455.45.01 on ubuntu18 and only the hevc streams have this error which crashes the stream decoding launch. Once it is launched, it will run until I kill it. Out of the 3 streams, I see cases where zero, one, two or all three streams would fail with this error. This has been going on for quite some time now so it’s been a few versions of drivers/cuda and codec. It’s been quite annoying. Any insight as to how to fix this?