docker中使用GPU硬解码报错libnvcuvid.so is missing的问题
Posted 呆雁
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker中使用GPU硬解码报错libnvcuvid.so is missing的问题相关的知识,希望对你有一定的参考价值。
libnvcuvid.so is missing
You should check if libnvcuvid is picked up by your host\'s ldconfig (ldconfig-p | grep cuvid).
With the following command, my container get libnvcuvid mounted from the host:
docker run -it --runtime nvidia -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility
验证方法:启动docker后,在docker环境中执行下面命令,如果能够找到libnvcuvid.so则说明环境配置正常了。
sh -c \'ldconfig -p | grep cuvid\'
参考:
https://github.com/NVIDIA/nvidia-docker/issues/1001
https://stackoverflow.com/questions/48786654/nvidia-driver-libraries-in-nvidia-cuda-image
https://github.com/NVIDIA/nvidia-docker/issues/531#issuecomment-343993909
以上是关于docker中使用GPU硬解码报错libnvcuvid.so is missing的问题的主要内容,如果未能解决你的问题,请参考以下文章