<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alsa overrun/underrun errors in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Alsa-overrun-underrun-errors/m-p/501259#M81102</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yehuda&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check if this behaviour is caused by bus bandwidth limitation&lt;/P&gt;&lt;P&gt;running mmdc profiling tool&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/481292#comment-481292" title="https://community.freescale.com/message/481292#comment-481292"&gt;https://community.freescale.com/message/481292#comment-481292&lt;/A&gt; &lt;/P&gt;&lt;P&gt;If this is bandwidth limitation, then it is necessary to decrease bus loading&lt;/P&gt;&lt;P&gt;removing gpu/vpu applications or change them in such way, so they consume&lt;/P&gt;&lt;P&gt;less bandwidth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Mar 2016 01:34:39 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-03-24T01:34:39Z</dc:date>
    <item>
      <title>Alsa overrun/underrun errors</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Alsa-overrun-underrun-errors/m-p/501258#M81101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: arial, sans-serif; color: #222222;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: arial, sans-serif; color: #222222;"&gt;I'm using 2 TLV320AIC3106 codecs, connected to SSI1 and SSI2, and I recently changed the sampling rate from 44.1KHz to 48KHz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 13.3333px; font-family: arial, sans-serif;"&gt;When I run alsa loops (see below), I usually get the xrun error message roughly once in every 2 minutes:&amp;nbsp; overrun!!! (at least xx ms long) or &lt;SPAN style="color: #222222; font-family: arial, sans-serif; font-size: 13.3333px;"&gt;underrun!!! (at least xx ms long).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 13.3333px; font-family: arial, sans-serif;"&gt;BTW, before changing the sampling rate, the error messages appeared a lot more often (every couple of seconds).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-size: 13.3333px; font-family: arial, sans-serif;"&gt;This problem happens with both codecs, even if the loops are internal for each codec.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #222222; font-size: 13.3333px; font-family: arial, sans-serif;"&gt;Here are the alsa loops I run:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;arecord -D hw:0 -f S16_LE -r 48000 -B 8000 -F 1000 -c 2 | aplay -D hw:0 -f S16_LE -r 48000 -B 4000 -F 2000 -c 2run&amp;nbsp; |&lt;/P&gt;&lt;P&gt;arecord -D hw:1 -f S16_LE -r 48000 -B 8000 -F 1000 -c 2 | aplay -D hw:1 -f S16_LE -r 48000 -B 4000 -F 2000 -c 2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: arial, sans-serif; color: #222222;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: arial, sans-serif; color: #222222;"&gt;Yehuda&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2016 15:37:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Alsa-overrun-underrun-errors/m-p/501258#M81101</guid>
      <dc:creator>yehudastern</dc:creator>
      <dc:date>2016-03-23T15:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Alsa overrun/underrun errors</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Alsa-overrun-underrun-errors/m-p/501259#M81102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yehuda&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check if this behaviour is caused by bus bandwidth limitation&lt;/P&gt;&lt;P&gt;running mmdc profiling tool&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/481292#comment-481292" title="https://community.freescale.com/message/481292#comment-481292"&gt;https://community.freescale.com/message/481292#comment-481292&lt;/A&gt; &lt;/P&gt;&lt;P&gt;If this is bandwidth limitation, then it is necessary to decrease bus loading&lt;/P&gt;&lt;P&gt;removing gpu/vpu applications or change them in such way, so they consume&lt;/P&gt;&lt;P&gt;less bandwidth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 01:34:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Alsa-overrun-underrun-errors/m-p/501259#M81102</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-03-24T01:34:39Z</dc:date>
    </item>
  </channel>
</rss>

