Hi,

try with export GST_VAAPI_ALL_DRIVERS=1

 

this worked for me

 

cheers

enrico

 

 

From: <[email protected]> on behalf of <[email protected]>
Date: Wednesday, 30 September 2020 at 10:58
To: <[email protected]>
Subject: [meta-intel] gstreamer vaapi not working in vanilla dunfell image

 

Hello,

I'm building an image for multiple Intel machines, but can't get video 
acceleration to work on the latest Dunfell release.

Use case:

 

gst-launch-1.0 playbin uri=file://<some mp4 video file with h264 encoding> -v

 


Result:
The video plays, but instead of GstVaapiDecodeBin being used (like it is in 
Zeus), GstMultiQueue seems to be used for decoding. This leads to a 
significantly higher CPU usage than on Zeus.
Closer inspection reveals that the gstreamer vaapi-Plugin is present, but 
missing all features, including vaapidecodebin.
$ gst-inspect-1.0 vaapi
Plugin Details:
  Name                     vaapi
  Description              VA-API based elements
  Filename                 /usr/lib/gstreamer-1.0/libgstvaapi.so
  Version                  1.16.2
  License                  LGPL
  Source module            gstreamer-vaapi
  Binary package           gstreamer-vaapi
  Origin URL               
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
 
 
  0 features:

A minimal example can be reproduced by using the latest version of the Dunfell 
branch for poky and meta-intel. In local.conf I set 

MACHINE ?= "intel-corei7-64"
and build the image with "bitbake core-image-sato". Everything else is kept 
unchanged.

Do I need to set any additional MACHINE_FEATURES or packages or something else?

Best regards
Clara

 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6721): 
https://lists.yoctoproject.org/g/meta-intel/message/6721
Mute This Topic: https://lists.yoctoproject.org/mt/77213829/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to