Skip to content

AVC low power encoding fails on ubuntu 19.04 with intel-media-va-driver #613

@dvrogozh

Description

@dvrogozh

Derived from Intel-Media-SDK/MediaSDK#1398.

AVC low power encoding fails under Ubuntu 19.04 under intel-media-va-driver because of 2 reasons:

  1. Bug in mediasdk which can be addressed by for example Make sure to compare guids correctly Intel-Media-SDK/MediaSDK#1399
  2. Becuse 26d7d50 commit is missed in https://github.com/intel/media-driver/releases/tag/intel-media-18.4.1 release which is used by Ubuntu 19.04

To reproduce the issue:

Install Ubuntu 19.04 and mediasdk coming from the OS:

sudo apt-get install libmfx1 libmfx-tools
sudo apt-get install libva-drm2 libva-x11-2
sudo apt-get install intel-media-va-driver

And run the following sample encode command line to encode via AVC Low Power encoder:

export LIBVA_DRIVER_NAME=iHD

# just to prepare some YUV input file:
wget https://fate-suite.libav.org/h264-conformance/AUD_MW_E.264
/usr/share/mfx/samples/sample_decode h264 -i AUD_MW_E.264 -o AUD_MW_E.yuv

# and now encode:
sample_encode: /build/intel-mediasdk-AzMSof/intel-mediasdk-18.4.1/_studio/mfx_lib/shared/src/mfx_h264_encode_vaapi.cpp:1422: virtual mfxStatus MfxHwH264Encode::VAAPIEncoder::CreateAuxilliaryDevice(VideoCORE*, GUID, mfxU32, mfxU32, bool): Assertion `0x00000000 == vaSts' failed.

Aborted (core dumped)

Metadata

Metadata

Assignees

Labels

Encodevideo encode related

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions