Hello,
I compiled TVH 4.3-1251 from source today and although VAAPI support is supposed to be built in, I can't get it to work. Everything seems to work correctly and I get no errors but it just doesnt want to work. Some info:
CPU: Intel Core i7 6700K
OS: Debian Sid x64
Output from ./configure:
checking for pkg libva >=0.38.0 ... ok (detected 1.1.0)
checking for pkg libva-x11 >=0.38.0 ... ok (detected 1.1.0)
checking for pkg libva-drm >=0.38.0 ... ok (detected 1.1.0)
Output from vainfo alone returns this:
error: can't connect to X server!
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit
But output from vainfo --display drm --device /dev/dri/renderD129 returns:
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 2.0.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileH264ConstrainedBaseline: VAEntrypointFEI
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264Main : VAEntrypointFEI
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointFEI
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
So I suppose its okay?
TVH reports this when the stream starts:
2018-04-22 20:43:26.877 transcode: 0011: 01:H264: ==> Using profile VAAPI
2018-04-22 20:43:26.877 transcode: 0011: 02:AC3: ==> Filtered out
2018-04-22 20:43:26.877 transcode: 0011: 03:DVBSUB: ==> Filtered out
2018-04-22 20:43:46.886 webui: Stop streaming /stream/channel/c378c5458842e590ab098f13ce5a6934?profile=vaapi, timeout waiting for packets
I have a nvidia GeForce 980 Ti that is on device /dev/dri/renderD128 but my onboard graphics adapter is /dev/dri/renderD129 and thats what I chose on TVH under h264_vaapi codec profile.
Check attached image for the codec profile settings.
Any help will be much appreciated.
Thanks in advance