[other] 检查 VA-API 设置
Tofloor
poster avatar
哄哄
deepin
2024-12-17 17:20
Author

仅仅记录一下使用过程

apt install vainfo

vainfo检查

vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_20
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

注意这里有 /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed

我这里是老cpu 安装 i965-va-driver 即可

apt install i965-va-driver

vainfo

vainfo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
libva info: VA-API version 1.20.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: va_openDriver() returns -1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_19
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.19.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Ivybridge Mobile - 2.4.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD

ok搞定

Reply Favorite View the author
All Replies
jiutian123
deepin
2024-12-17 23:07
#1

安装后风扇呼呼的吹tail

Reply View the author
哄哄
deepin
2024-12-18 10:13
#2
jiutian123

安装后风扇呼呼的吹tail

不能把我这里正常没有问题的

Reply View the author
jiutian123
deepin
2024-12-18 15:24
#3
哄哄

不能把我这里正常没有问题的

不知道啊 也有可能是n卡+intel集成显卡的问题doubt

Reply View the author
哄哄
deepin
2024-12-19 18:33
#4
jiutian123

不知道啊 也有可能是n卡+intel集成显卡的问题doubt

intel_gpu_top看一下,确实安装以后我这台机器的温度也提升了,不过温度提升不大就没管了,双显卡的电脑可以切换n卡渲染试试

Reply View the author