Looking for anyone who can help. Running into an issue that I’m a bit stumped on, any videos that require transcoding aren’t utilising hardware when transcoding. Previously they did hardware transcode, however around a month or so ago it stopped.
System is running Centos, Docker, with a Intel® Xeon® Processor E3-1265L v3 and Nvidia Quadro P2000.
If the kernel updated you may need to remove and reinstall the driver on the host and in the docker. I don’t use an Nvidia card so I can’t help with the specifics.
Jun 17, 2020 09:11:51.652 [0x7f0724ff9700] DEBUG - Codecs: testing h264_nvenc (encoder)
Jun 17, 2020 09:11:51.652 [0x7f0724ff9700] DEBUG - Codecs: hardware transcoding: testing API nvenc
Jun 17, 2020 09:11:52.202 [0x7f0724ff9700] ERROR - [FFMPEG] - cu->cuCtxCreate(&hwctx->cuda_ctx, 4, cu_device) failed
Jun 17, 2020 09:11:52.202 [0x7f0724ff9700] ERROR - [FFMPEG] - -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jun 17, 2020 09:11:52.202 [0x7f0724ff9700] ERROR - [FFMPEG] -
Jun 17, 2020 09:11:52.203 [0x7f0724ff9700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jun 17, 2020 09:11:52.203 [0x7f0724ff9700] DEBUG - Codecs: testing h264 (decoder) with hwdevice vaapi
Jun 17, 2020 09:11:52.203 [0x7f0724ff9700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Jun 17, 2020 09:11:52.203 [0x7f0724ff9700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
Jun 17, 2020 09:11:52.203 [0x7f0724ff9700] DEBUG - Codecs: testing h264 (decoder) with hwdevice nvdec
Jun 17, 2020 09:11:52.203 [0x7f0724ff9700] DEBUG - Codecs: hardware transcoding: testing API nvdec
Jun 17, 2020 09:11:52.204 [0x7f0724ff9700] ERROR - [FFMPEG] - cu->cuCtxCreate(&hwctx->cuda_ctx, 4, cu_device) failed
Jun 17, 2020 09:11:52.204 [0x7f0724ff9700] ERROR - [FFMPEG] - -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jun 17, 2020 09:11:52.204 [0x7f0724ff9700] ERROR - [FFMPEG] -
Jun 17, 2020 09:11:52.204 [0x7f0724ff9700] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred