[FFmpeg-user] Nvenc Fails with Cannot Init CUDA

Fabian Russell fr314159 at gmail.com
Thu May 31 20:23:11 EEST 2018


On Thu, May 31, 2018 at 12:51 PM, James Girotti <james.girotti at gmail.com>
wrote:

>
> From the strace it looks like there is a problem opening /dev/nvidia-uvm.
> Do you have all the nvidia kernel modules loaded? Specifically nvidia-uvm?
> Is there a device node /dev/nvidia-uvm?
>


The stat() function returns a value of 0 which means that the device nodes
/dev/nvidia-uvm and /dev/nvidia-tools are present,

Also, the kernel module nvidia_uvm is loaded.

The error occurs when the /dev/nvidia-uvm is opened by the openat()
function.
The error returned is "input/output error."  This then causes the following
ioctl() function to fail and the program terminates immediately after this.

I can't determine if ffmpeg or the nvidia drivers is responsible for
attempting
to open the /dev/nvidia-uvm node.


More information about the ffmpeg-user mailing list