<?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>3814</bug_id>
          
          <creation_ts>2013-01-30 20:43:08 +0000</creation_ts>
          <short_desc>FRI2 audio playback is broken</short_desc>
          <delta_ts>2013-04-23 22:12:04 +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></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nitin Kamble">nitin.a.kamble</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>sgw</cc>
    
    <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>29362</commentid>
    <comment_count>0</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-01-30 20:43:08 +0000</bug_when>
    <thetext>* fri2: 
** Date: 2013-01-28-Monday-11-32-39
** poky repo: master: commit cfb082961a6c9ac3d65738031c4071210529cd07
** meta-intel: master: commit 4f676959c35cbd0ed9ac6a1817993d38611859e1
** kernel version:linux-yocto-3.4.26+gitAUTOINC+c0b3904d60830e24b3930b0fa606a48b2758d979_59c2a9eb334c2def405c9d93ed6d8d4e822d1945-r4.3

The audio playback on FRI2 is broken. It starts to play the audio then the playback stalls, and whole system slows down. The CPU utilization does not go high though. This also affects videos playback similarly due to the audio issues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30151</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-02-26 22:38:47 +0000</bug_when>
    <thetext>With further experimentation I have found out that, it is not a audio playback issue, but issue with slow data access to the USB key via the USB hub. If I copy the audio file to /tmp and play from there, it plays fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30152</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-02-26 22:58:14 +0000</bug_when>
    <thetext>Suggest closing as not a bug then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30153</commentid>
    <comment_count>3</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-02-26 23:00:50 +0000</bug_when>
    <thetext>hummm, now I have different data point. copying audio file to /tmp before playing worked fine for the fri2 bsp. But it did not work for the fri2-noemgd BSP. the audio playback was broken like before.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30154</commentid>
    <comment_count>4</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-02-26 23:02:54 +0000</bug_when>
    <thetext>BTW audio is by default playing from the HDMI port.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30199</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-02-28 04:54:16 +0000</bug_when>
    <thetext>Nitin, since emgd involves the HDMI, perhaps this explains the difference in the BSPs. Are you testing over HDMI or over the stereo jacks. I have reported flakiness in the HDMI audio in the FRI2 README.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30211</commentid>
    <comment_count>6</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-02-28 05:09:02 +0000</bug_when>
    <thetext>Darren,
  It is not really EMGD related. Now I am seeing the same playback issue with the EMGD bsp as well. So far I am using the default audio settings, which are pushing the audio through HDMI. if you think HDMI audio is broken, then may be that the alsa can be configured to avoid the HDMI audio.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30882</commentid>
    <comment_count>7</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-03-20 03:40:39 +0000</bug_when>
    <thetext>Hi Darren,
  I tested again while taking USB out of the picture. Booting from the SD card, and playing audio file from /tmp. And Still the audio playback is broken. So the issue is not related to USB. And the Broken Audio support also breaks Videos with Audio support.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30935</commentid>
    <comment_count>8</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-03-20 23:16:01 +0000</bug_when>
    <thetext>Nitin, OK, good data points. If you use alsamixer to disable HDMI audio and use the analog playback, does it work any better?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31279</commentid>
    <comment_count>9</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-03-28 21:54:07 +0000</bug_when>
    <thetext>I tried playing with the asound.conf of the FRI2 bsp. And the audio did not work well for any kind of configuration.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32547</commentid>
    <comment_count>10</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-04-23 16:54:27 +0000</bug_when>
    <thetext>Does using the kernel parameter &quot;snd_hda_intel.enable_msi=0&quot; resolve the issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32550</commentid>
    <comment_count>11</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-04-23 17:57:13 +0000</bug_when>
    <thetext>I have never tried this kernel option. and now my FRI2 does not work to check this out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32560</commentid>
    <comment_count>12</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-04-23 22:12:04 +0000</bug_when>
    <thetext>commit 3cd1c31a9db21f9deb395c3929d8f9a16ef8e3f3
Author: Darren Hart &lt;dvhart@linux.intel.com&gt;
Date:   Tue Apr 23 14:32:19 2013 -0700

    fri2: Disable MSI interrupts for the HDA device</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>