<?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>11437</bug_id>
          
          <creation_ts>2017-05-02 08:11:18 +0000</creation_ts>
          <short_desc>gstreamer: playbin visualizations broken with vaapi</short_desc>
          <delta_ts>2017-08-17 10:06:44 +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>OE-Core</product>
          <component>multimedia</component>
          <version>2.3</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Kukkonen">jku</reporter>
          <assigned_to name="Maxin B. John">maxin.john</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72971</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-05-02 08:11:18 +0000</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #11410 +++

I&apos;m cloning this for the root cause of the bug 11410 (so we can close the original now that a workaround is in place). When this is fixed, the workaround should be removed.

playbin visualizations break the whole pipeline leading to gtk-play hanging on audio playback. This only happens with vaapi but the issue seems to be a video pixel-aspect-ratio negotiation issue: somehow the value &quot;0/1&quot; gets negotiated as the best one and that ends up breaking multiple elements.

This upstream bug is already closed:
https://bugzilla.gnome.org/show_bug.cgi?id=781759
but that only makes one element cope with &quot;0/1&quot; and there are other elements that break... real fix would probably mean preventing &quot;0/1&quot; from becoming the aspect ratio in the first place</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73261</commentid>
    <comment_count>1</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2017-05-15 14:40:17 +0000</bug_when>
    <thetext>As Jussi pointed out, updated fix is available here:
https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi/commit/?id=b3c374e22f21613295a16745428487707b680cdc

It will be included in the gstreamer upgrade(1.12.0)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73279</commentid>
    <comment_count>2</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2017-05-16 15:02:17 +0000</bug_when>
    <thetext>Along with this fix in gstreamer-vaapi, we also need to upgrade libva-intel-driver in meta-intel to 1.8.3.pre1 release to resolve the glitch while running visualizations using vaapisink.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73291</commentid>
    <comment_count>3</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-05-17 07:12:59 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Along with this fix in gstreamer-vaapi, we also need to upgrade
&gt; libva-intel-driver in meta-intel to 1.8.3.pre1 release to resolve the glitch
&gt; while running visualizations using vaapisink.

Since the remaining issue is cosmetic (the visualizations get some weird colorspace with VA), I&apos;d say it&apos;s fine to update gstreamer now and libva-intel-driver when 1.8.3 comes out (assuming it&apos;s not expected to be months from now).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74709</commentid>
    <comment_count>4</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2017-07-03 08:42:39 +0000</bug_when>
    <thetext>libva-intel-driver version 1.8.3 has been released. Upgrade patches for libva and libva-intel-driver were sent to oe-core and meta-intel mailing lists:

libva-1.8.3:
 http://lists.openembedded.org/pipermail/openembedded-core/2017-June/138936.html

libva-intel-driver-1.8.3:
https://lists.yoctoproject.org/pipermail/meta-intel/2017-June/004808.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75946</commentid>
    <comment_count>5</comment_count>
    <who name="Maxin B. John">maxin.john</who>
    <bug_when>2017-08-17 10:06:44 +0000</bug_when>
    <thetext>https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=afb2ba67fea2f6e545676ad4f3ade0abc7d84e63</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>