[mythtv-users] LIVA, Ubuntu, and VAAPI, am I doing it right?

Steven Adeff adeffs.mythtv at gmail.com
Wed Jul 22 14:41:33 UTC 2015


On Wed, Jul 22, 2015 at 5:21 AM, Stuart Auchterlonie
<stuarta at squashedfrog.net> wrote:
> On 22/07/15 04:43, Frank Phillips wrote:
>> On Tue, Jul 21, 2015 at 9:36 PM, Steven Adeff <adeffs.mythtv at gmail.com
>> <mailto:adeffs.mythtv at gmail.com>> wrote:
>>
>>     from the mythfrontend log,
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext vaapicontext.cpp:154 (Create) VAAPI: Ver
>>     sion: 0.35
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext vaapicontext.cpp:155 (Create) VAAPI: Dri
>>     ver : Intel i965 driver - 1.3.0
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext vaapicontext.cpp:529 (InitProfiles) VAAP
>>     I: Profile: MPEG2Simple Entrypoints: VLD EncSlice (UNSUPPORTED)
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext vaapicontext.cpp:529 (InitProfiles) VAAP
>>     I: Profile: MPEG2Main Entrypoints: VLD EncSlice (UNSUPPORTED)
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext vaapicontext.cpp:529 (InitProfiles) VAAP
>>     I: Profile: Unknown Entrypoints: VLD EncSlice (UNSUPPORTED)
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext vaapicontext.cpp:529 (InitProfiles) VAAP
>>     I: Profile: H264Main Entrypoints: VLD EncSlice (UNSUPPORTED)
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext vaapicontext.cpp:529 (InitProfiles) VAAP
>>     I: Profile: H264High Entrypoints: VLD EncSlice (UNSUPPORTED)
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext vaapicontext.cpp:529 (InitProfiles) VAAP
>>     I: Profile: VC1Simple Entrypoints: VLD
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext vaapicontext.cpp:529 (InitProfiles) VAAP
>>     I: Profile: VC1Main Entrypoints: VLD
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext vaapicontext.cpp:529 (InitProfiles) VAAP
>>     I: Profile: VC1Advanced Entrypoints: VLD
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext vaapicontext.cpp:529 (InitProfiles) VAAP
>>     I: Profile: Unknown Entrypoints: Unknown
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext vaapicontext.cpp:529 (InitProfiles) VAAPI: Profile:
>>     Unknown Entrypoints: VLD
>>     Jul 21 19:27:39 LIVA1 mythfrontend.real: mythfrontend[1447]: I
>>     CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD: Opened codec
>>     0x4682080, id(H264) type(Video)
>>
>>     does it matter that those all say UNSUPPORTED?
>>
>>
>> Notice how it says "VLD EncSlice (UNSUPPORTED)"? I'm guessing that means
>> just the encoding portion (EncSlice) is unsupported, while decoding
>> (VLD) is supported. You can compare this to the output of vainfo to
>> confirm. Being an Atom processor, it wouldn't surprise me if it is
>> lacking encoder functionality.
>>
>
> MythTV doesn't support any of the encoder profiles which is why
> they are listed as unsupported, however as they are reported then
> it's probably that the chip does support them.
>
> The vainfo output will confirm as it will list all the profiles the
> hardware / driver combination supports.
>
>
> Regards
> Stuart

thanks for the responses!
I wasn't sure what each of those entries meant, so just wanted to make sure,
vainfo output (via an ssh session),
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 0.35.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_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.0)
vainfo: Driver version: Intel i965 driver - 1.3.0
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
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD


-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette


More information about the mythtv-users mailing list