[Solved] Driver does not support the required nvenc API version
Hello everyone i am trying to install ffmpeg with nvenc and run the following command : [code] ffmpeg -i /home/verb/Videos/new4/Trains.mp4 -c:v h264_nvenc -profile high444p -crf 28 -c:a aac -b:a 128k output2.mp4[/code] unfortunately it gives me : [code]Driver does not support the required nvenc API version. Required: 8.0 Found: 7.1 Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height[/code] i have downloaded and installed cuda_8.0.61_375.26_linux.run also if it's matter i have nvidia gtx 960 and my os is ubuntu 16.04 this is the output from nvcc [code]nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2016 NVIDIA Corporation Built on Tue_Jan_10_13:22:03_CST_2017 Cuda compilation tools, release 8.0, V8.0.61[/code] and[code] cat ~/.bashrc export CUDA_HOME=/usr/local/cuda-8.0 export LD_LIBRARY_PATH=${CUDA_HOME}/lib64 export PATH=$PATH:/usr/local/cuda-8.0/bin[/code] Please if you have any idea of what could be wrong and what driver or path to update let me know. BR
Hello everyone
i am trying to install ffmpeg with nvenc and run the following command :
ffmpeg -i /home/verb/Videos/new4/Trains.mp4 -c:v h264_nvenc -profile high444p -crf 28 -c:a aac -b:a 128k output2.mp4

unfortunately it gives me :
Driver does not support the required nvenc API version. Required: 8.0 Found: 7.1
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
i have downloaded and installed cuda_8.0.61_375.26_linux.run also if it's matter i have nvidia gtx 960 and my os is ubuntu 16.04
this is the output from nvcc
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61

and
cat ~/.bashrc 
export CUDA_HOME=/usr/local/cuda-8.0
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64


export PATH=$PATH:/usr/local/cuda-8.0/bin


Please if you have any idea of what could be wrong and what driver or path to update let me know.


BR

#1
Posted 05/14/2017 02:25 PM   
what is the result of running nvidia-smi ?
what is the result of running

nvidia-smi

?

#2
Posted 05/14/2017 06:54 PM   
Hello thanks for the reply here is the output of nvidia-smi [code] +-----------------------------------------------------------------------------+ | NVIDIA-SMI 375.26 Driver Version: 375.26 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 960 Off | 0000:01:00.0 On | N/A | | 0% 42C P8 11W / 130W | 85MiB / 1991MiB | 3% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 1084 G /usr/lib/xorg/Xorg 83MiB | +-----------------------------------------------------------------------------+ [/code]
Hello thanks for the reply here is the output of nvidia-smi
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.26 Driver Version: 375.26 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 960 Off | 0000:01:00.0 On | N/A |
| 0% 42C P8 11W / 130W | 85MiB / 1991MiB | 3% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1084 G /usr/lib/xorg/Xorg 83MiB |
+-----------------------------------------------------------------------------+

#3
Posted 05/14/2017 07:42 PM   
The latest 8.0 nvenc API appears to want driver 378.13 or newer: https://developer.nvidia.com/nvidia-video-codec-sdk Go to www.nvidia.com/drivers click on "Beta and Older Drivers" and find a driver for GTX 960 that is 378.13 or higher.
The latest 8.0 nvenc API appears to want driver 378.13 or newer:


https://developer.nvidia.com/nvidia-video-codec-sdk


Go to www.nvidia.com/drivers


click on "Beta and Older Drivers"

and find a driver for GTX 960 that is 378.13 or higher.

#4
Posted 05/14/2017 08:03 PM   
Thank you txbob i have updated with latest 381.22 and that solved my problem.Haven't noticed the "Beta and Older Drivers" in the site. BR
Thank you txbob i have updated with latest 381.22 and that solved my problem.Haven't noticed the "Beta and Older Drivers" in the site.


BR

#5
Posted 05/15/2017 10:53 AM   
I have the same error here! The driver version is 375.66, for a Tesla M60 card (the lastest driver available right now). Cuda Toolkit 8 is installed. [code][h264_nvenc @ 0x43b7da0] Driver does not support the required nvenc API version. Required: 8.0 Found: 7.1 Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [/code] nvidia-smi [code]Thu May 18 21:52:23 2017 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 375.66 Driver Version: 375.66 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 Tesla M60 Off | A2CC:00:00.0 Off | Off | | N/A 40C P0 39W / 150W | 0MiB / 8123MiB | 7% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+ [/code]
I have the same error here! The driver version is 375.66, for a Tesla M60 card (the lastest driver available right now). Cuda Toolkit 8 is installed.


[h264_nvenc @ 0x43b7da0] Driver does not support the required nvenc API version. Required: 8.0 Found: 7.1
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height



nvidia-smi
Thu May 18 21:52:23 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.66 Driver Version: 375.66 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Tesla M60 Off | A2CC:00:00.0 Off | Off |
| N/A 40C P0 39W / 150W | 0MiB / 8123MiB | 7% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+

#6
Posted 05/18/2017 09:58 PM   
[quote="Ramapumk"]I have the same error here! The driver version is 375.66, for a Tesla M60 card (the lastest driver available right now). Cuda Toolkit 8 is installed. [code][h264_nvenc @ 0x43b7da0] Driver does not support the required nvenc API version. Required: 8.0 Found: 7.1 Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [/code] nvidia-smi [code]Thu May 18 21:52:23 2017 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 375.66 Driver Version: 375.66 | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 Tesla M60 Off | A2CC:00:00.0 Off | Off | | N/A 40C P0 39W / 150W | 0MiB / 8123MiB | 7% Default | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+ [/code] [/quote] As txbob said, upgrade your driver. The latest 8.0 nvenc API appears to want driver 378.13 or newer, which you do not have.
Ramapumk said:I have the same error here! The driver version is 375.66, for a Tesla M60 card (the lastest driver available right now). Cuda Toolkit 8 is installed.


[h264_nvenc @ 0x43b7da0] Driver does not support the required nvenc API version. Required: 8.0 Found: 7.1
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height



nvidia-smi
Thu May 18 21:52:23 2017
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 375.66 Driver Version: 375.66 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Tesla M60 Off | A2CC:00:00.0 Off | Off |
| N/A 40C P0 39W / 150W | 0MiB / 8123MiB | 7% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+




As txbob said, upgrade your driver. The latest 8.0 nvenc API appears to want driver 378.13 or newer, which you do not have.

#7
Posted 05/19/2017 02:03 PM   
The reason for the posting (not stated clearly) is that currently, there is no newer driver posted for that particular GPU. The options are to wait until NVIDIA gets around to posting a newer driver for that particular GPU (M60), or else use a different GPU that currently has a NVENC 8.0 compatible driver posted.
The reason for the posting (not stated clearly) is that currently, there is no newer driver posted for that particular GPU.

The options are to wait until NVIDIA gets around to posting a newer driver for that particular GPU (M60), or else use a different GPU that currently has a NVENC 8.0 compatible driver posted.

#8
Posted 05/19/2017 02:18 PM   
Scroll To Top

Add Reply