![vainfo 问题;vaInitialize 失败,错误代码为 -1(未知的 libva 错误)](https://linux22.com/image/928840/vainfo%20%E9%97%AE%E9%A2%98%EF%BC%9BvaInitialize%20%E5%A4%B1%E8%B4%A5%EF%BC%8C%E9%94%99%E8%AF%AF%E4%BB%A3%E7%A0%81%E4%B8%BA%20-1%EF%BC%88%E6%9C%AA%E7%9F%A5%E7%9A%84%20libva%20%E9%94%99%E8%AF%AF%EF%BC%89.png)
为什么会出现这种情况:
$ vainfo
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
GPU at BusId 0xa doesn't have a supported video decoder
libva error: /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit