[FFmpeg-user] Nvenc Fails with Cannot Init CUDA

Fabian Russell fr314159 at gmail.com
Fri Jun 1 03:42:56 EEST 2018

On Thu, May 31, 2018 at 7:11 PM, Fabian Russell <fr314159 at gmail.com> wrote:

> The problem then must be the nvidia proprietary drivers.
I discovered a partial solution to the problem.

I need to unload and then reload the nvidia-uvm module before using ffmpeg:

modprobe -r nvidia-uvm
modprobe nvidia-uvm
ffmpeg ...

It is a strange and only a partial solution but at least it allows me to use
ffmpeg hardware acceleration.

I can't answer why, but it works.

More information about the ffmpeg-user mailing list