From 1b4ccafee173eb94dcba9d2a744d86de0daebe91 Mon Sep 17 00:00:00 2001 From: "Dominig ar Foll (Intel Open Source)" Date: Tue, 6 Dec 2016 23:16:04 +0100 Subject: Enabling HW acceleration for Intel with libva and correct libva incorrect runtime dependency with x11 Change-Id: I175b0d9900d61546cb0f116a1d698ee1f60b84b7 Signed-off-by: Dominig ar Foll (Intel Open Source) Correct libva incorrect runtime dependency with x11 Change-Id: Ic4231c217c8c63575a98d370c898b8cb04e3a980 Signed-off-by: Dominig ar Foll (Intel Open Source) --- meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend | 4 ++++ templates/machine/intel-corei7-64/50_local.conf.inc | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend diff --git a/meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend new file mode 100644 index 000000000..efc194b79 --- /dev/null +++ b/meta-agl-bsp/meta-intel/recipes-graphics/wayland/libva_%.bbappend @@ -0,0 +1,4 @@ +# This patch correct a bug in libva1_1.7.0.bb 1.8 inmeta-intel (no clue when it will be fixed) +# libva.bb calls for an x11 runtime dependency even if wayland is selected +# +RDEPENDS_${PN}-egl_remove = "${@base_contains("DISTRO_FEATURES", "x11", "", "${PN}-x11", d)}" diff --git a/templates/machine/intel-corei7-64/50_local.conf.inc b/templates/machine/intel-corei7-64/50_local.conf.inc index e88000f5c..7c921b70e 100644 --- a/templates/machine/intel-corei7-64/50_local.conf.inc +++ b/templates/machine/intel-corei7-64/50_local.conf.inc @@ -18,3 +18,10 @@ MACHINE = "intel-corei7-64" # # All boot message will be off #APPEND += "quiet" + +# Enable Libvaapi for HW accelerated video support +# +IMAGE_INSTALL_append = " \ + libva \ + va-intel \ + gstreamer-vaapi-1.0 " -- cgit 1.2.3-korg