我已按照步骤操作本指南。这是vainfo
命令的输出:
me@hostname:~$ vainfo
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
我安装了 Catalyst 12.6 驱动程序(来自 debs)。我修复了可切换显卡的错误,使用本指南(步骤 2)。我还尝试添加LIBVA_DRIVER_NAME=xvba LIBVA_DRIVERS_PATH=/usr/lib/va/drivers
并/etc/environment
重新启动系统,但结果是一样的。
答案1
我找到了解决方案!执行以下操作将创建所需文件的链接:
sudo ln -s xvba_drv_video.so /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
和...
me@hostname:~$ vainfo
libva: VA-API version 0.32.0
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
耶!成功了!:)