<?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>921</bug_id>
          
          <creation_ts>2011-03-22 00:18:57 +0000</creation_ts>
          <short_desc>[blacksand] it show poor performance with video player</short_desc>
          <delta_ts>2011-03-24 08:12:55 +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-configuration</component>
          <version>1.0</version>
          <rep_platform>Blacksand</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xudong Hao">xudong.hao</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>dongxiao.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>josh</cc>
    
    <cc>kunwei.tian</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</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>12899</commentid>
    <comment_count>0</comment_count>
    <who name="Xudong Hao">xudong.hao</who>
    <bug_when>2011-03-22 00:18:57 +0000</bug_when>
    <thetext>Image location:
http://autobuilder02.pokylinux.org/n450-bernard/nightly/20110319-1/machines/n450/x86_32/poky-image-sato-sdk-live-n450-20110319105742.hddimg.bz2

commit: 82af8b9fb6d6d1439943fd15b8a75c0e663e4a45

With the n450 image for Gold build, on blanksand, when use video player to play Mpeg file, the performance is very low.


file /etc/X11/xorg.conf: 
===================
Section &quot;Device&quot;
    Identifier    &quot;Intel Graphics Driver&quot;
    Driver        &quot;intel&quot;
EndSection

Section &quot;Monitor&quot;
    Identifier    &quot;Generic Monitor&quot;
    Option        &quot;DPMS&quot;
EndSection

Section &quot;Screen&quot;
    Identifier    &quot;Default Screen&quot;
    Device        &quot;Intel Graphics Driver&quot;
    Monitor        &quot;Generic Monitor&quot;
    DefaultDepth    24
EndSection

Section &quot;ServerLayout&quot;
    Identifier    &quot;Default Layout&quot;
    Screen        &quot;Default Screen&quot;
EndSection

Section &quot;ServerFlags&quot;
    Option        &quot;DontZap&quot;  &quot;0&quot;
    Option        &quot;AutoAddDevices&quot; &quot;False&quot;
EndSection</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12907</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-03-22 05:58:38 +0000</bug_when>
    <thetext>Tom: was it you or Darren that were looking after this board ? Feel free to bounce this along if I&apos;ve picked wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12942</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-03-23 17:12:03 +0000</bug_when>
    <thetext>Looks like the libva acceleration isn&apos;t fully enabled, Tom has a series of patches in a branch of meta-intel:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/elc-demo-sugarbay-libva-fixes

Could you try video playback of an h264 or other similar libva supported format with similar patches applied?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12949</commentid>
    <comment_count>3</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-03-23 22:17:05 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Looks like the libva acceleration isn&apos;t fully enabled, Tom has a series of
&gt; patches in a branch of meta-intel:
&gt; http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/log/?h=tzanussi/elc-demo-sugarbay-libva-fixes
&gt; Could you try video playback of an h264 or other similar libva supported format
&gt; with similar patches applied?

I tried blacksand with Tom&apos;s fixes (upgrading libva to the latest git commit and add --enable-i965-driver) in branch zanussi/elc-demo-sugarbay-libva-fixes:
When playing the sintel-1024-stereo.mp4 on blacksand, I also got the segfault now:  
   dmesg shows &quot;qtdemux0:sink[2294]: segfault at 4 ip b24a7b2f sp b15ba6b0 error 4 in libgstvaapi-0.10.so.0.0.0[b249f000+19000]&quot; 

Later Tom found looks vaapi is not supported on blacksand:
http://www.freedesktop.org/wiki/Software/vaapi
http://intellinuxgraphics.org/documentation.html

And I consulted with the graphics team of OTC PRC just now:
They said blacksand graphics driver doesn&apos;t support vaapi and since blacksand&apos;s hardware capability is not powerful enough, it&apos;s not likely to add the support in future.

So I think this bug is a WON&apos;T FIX one.


Currently I&apos;m trying to build an image for sugarbay with your vaapi fixes and will try video playing on it. I think in my side it should also work as you. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12965</commentid>
    <comment_count>4</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-03-24 08:12:55 +0000</bug_when>
    <thetext>blacksand doesn&apos;t support vaapi (independent
confirmation from the graphics team) - Tom</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>