<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3373</bug_id>
          
          <creation_ts>2012-10-31 17:04:38 +0000</creation_ts>
          <short_desc>meta-intel: VA_FEATURES unnecessarily causes X11 dependency via libva</short_desc>
          <delta_ts>2013-01-07 21:10:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-intel</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>patch reivew</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tom Zanussi">tom.zanussi</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27125</commentid>
    <comment_count>0</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-10-31 17:04:38 +0000</bug_when>
    <thetext>[Bug 3324 - &apos;x11&apos; not in DISTRO_FEATURES while building BARYON] exposed the fact that VA_FEATURES unnecessarily brings with it a dependency on X11 and to remove that dependency VA_FEATURES must be set to the empty string.

This is from the following in libva.inc:

DEPENDS = &quot;libxext libxfixes libdrm mesa-dri&quot;

This shouldn&apos;t be necessary - libva should be able to be used without any of those dependencies.

There should however be a way to include only what&apos;s appropriate with respect to libva.  libva supports a number of &apos;surfaces&apos; including X11, tpi, glx, egl, and it should be possible to include support for each of these independently and not include the others.  In this case, excluding x11 support from libva would address the particular problem encountered in 3324.

Note that with respect to the EMGD-based BSPs (crownbay, fri2, sys940x), it&apos;s not currently possible to build without libva even if VA_FEATURES is set to the empty string (it currently can&apos;t be set to the empty string - see [Bug 2551 - EMGD requires video acceleration]), so there&apos;s no way to turn off the X11 dependency for those BSPs until 2551 is fixed).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27332</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-11-09 21:14:53 +0000</bug_when>
    <thetext>Here&apos;s the release note for 1.3:

  BSPs that include VA_FEATURES unnecessarily add a dependency on X11.
  To remove this dependency, users can specify the following in their
  local.conf and in so doing disable video acceleration for the BSP:
  
  VA_FEATURES ?= &quot;&quot;
  
  Note however that the above doesn&apos;t work for the crownbay and fri2
  BSPs because those BSPs use EMGD, which still requires the va-intel
  component even if the other video acceleration components are
  removed:
  
  VA_FEATURES ?= &quot;va-intel&quot;
  
  The above introduces the X11 dependency, so in essence, for the
  crownbay and fri2 BSPs, the X11 dependency can&apos;t be removed.  This
  problem is addressed by Yocto Bug 3373 [meta-intel: VA_FEATURES
  unnecessarily causes X11 dependency via libva].</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28381</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2012-12-19 20:57:29 +0000</bug_when>
    <thetext>A patch sent to meta-intel ML which will fix this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28596</commentid>
    <comment_count>3</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2013-01-07 21:10:18 +0000</bug_when>
    <thetext>Fixed by meta-intel commit: 95c9b6ced869ebab7c778b2741c963496140c00f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>