jrottenberg/ffmpeg

Regression in 4.3-nvidia image. Driver does not support the required nvenc API version. Required: 11.1 Found: 11.0

vexorian opened this issue · 4 comments

So my project uses 4.3-nvidia image as a base to get ffmpeg working in nvidia systems. Today we had an update. But with the update, the docker version broke for users of the nvenc codec. The only change I could find related to nvidia builds is that there was a recent updateof the 4.3-nvidia image that we use as a base. It makes sense since when updating the image for the release, docker hub would use the updated version of the 4.3-nvidia image and cause this sort of difference.

The error that's being reported by users after the update is:

[h264_nvenc @ 0x559414b2c1c0] Driver does not support the required nvenc API version. Required: 11.1 Found: 11.0

I unfortunately lack a nvidia system myself so I can't provide more information at the moment but I will try to get help from some of my users to acquire more information.

We confirmed by rebuilding the image of the older version of our project, and it now fails in the same way as the newer version. Only difference is the ffmpeg 4.3-nvidia image.

Fixed it for the project by moving to 4.3-nvidia1804

I think the error message means the host GPU driver (supporting CUDA 11.0) is too old for the runtime that the container now uses (CUDA 11.1). If so, updating the host GPU driver should fix.

From https://developer.nvidia.com/nvidia-video-codec-sdk/download it looks like linux driver 470.57.02 or newer is required for 11.1.

But why did this driver requirement change when we are using the same tag as before?