由于没有libnvidia编码,因此正在运行NVENC sdk示例会出错 [英] running NVENC sdk sample get error because there is not libnvidia-encode

查看:174
本文介绍了由于没有libnvidia编码,因此正在运行NVENC sdk示例会出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我要在centos 6.4上制作nvEncodeApp NVENC SDK示例时,出现此错误:

when I want to make nvEncodeApp NVENC SDK sample on centos 6.4 I got this error :

/usr/bin/ld: cannot find -lnvidia-encode

当我选中Make file时,此库的路径在这里:

when I checked Make file the path to this library was here :

-L/usr/lib64 -lnvidia-encode -ldl

我检查了/usr/lib64,但是那里没有任何libnvidia编码:

I checked /usr/lib64 but there is not any libnvidia-encode there:

该库将如何添加到该路径,这是什么库?

how this library will add to this path ,whats this library ?

使用nvidia-smi应该告诉您:

Using nvidia-smi should tell you that:

nvidia-smi 
Tue Jul 16 20:19:20 2013       
+------------------------------------------------------+                       
| NVIDIA-SMI 4.304.54   Driver Version: 304.54         |                       
|-------------------------------+----------------------+----------------------+
| GPU  Name                     | Bus-Id        Disp.  | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap| Memory-Usage         | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  VGX K1                   | 0000:85:00.0     Off |                  N/A |
| N/A   31C    P0    13W /  31W |   0%    8MB / 4095MB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  VGX K1                   | 0000:86:00.0     Off |                  N/A |
| N/A   39C    P0    13W /  31W |   0%    8MB / 4095MB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  VGX K1                   | 0000:87:00.0     Off |                  N/A |
| N/A   54C    P0    14W /  31W |   0%    8MB / 4095MB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  VGX K1                   | 0000:88:00.0     Off |                  N/A |
| N/A   48C    P0    14W /  31W |   0%    8MB / 4095MB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   4  VGX K1                   | 0000:8B:00.0     Off |                  N/A |
| N/A   31C    P0    13W /  31W |   0%    8MB / 4095MB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   5  VGX K1                   | 0000:8C:00.0     Off |                  N/A |
| N/A   40C    P0    14W /  31W |   0%    8MB / 4095MB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   6  VGX K1                   | 0000:8D:00.0     Off |                  N/A |
| N/A   59C    P0    15W /  31W |   0%    8MB / 4095MB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   7  VGX K1                   | 0000:8E:00.0     Off |                  N/A |
| N/A   60C    P0    14W /  31W |   0%    8MB / 4095MB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Compute processes:                                               GPU Memory |
|  GPU       PID  Process name                                     Usage      |
|=============================================================================|
|  No running compute processes found                                         |
+-----------------------------------------------------------------------------+

推荐答案

SDK中的自述文件表明需要R319或更高版本的驱动程序.如nvidia-smi所示,您的304.54驱动程序已经使用了将近一年,并且不符合要求.请在此处然后重试.

The readme files in the SDK indicate that an R319 or newer driver is required. Your 304.54 driver as indicated by nvidia-smi is almost a year old and does not meet the requirement. Please update to the latest linux driver for your VGX K1 GPUs here and try again.

这篇关于由于没有libnvidia编码,因此正在运行NVENC sdk示例会出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆