<?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>i.MX ProcessorsのトピックRe: HDMI audio distortion</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/HDMI-audio-distortion/m-p/665539#M102363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this linux release and gstreamer&amp;nbsp;version (gstreamer-imx) are not supported by nxp,&lt;/P&gt;&lt;P&gt;one can post this to meta-fsl-arm mailing list, so that someone familiar with it could try to assist you.&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale" rel="nofollow" target="_blank"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&lt;/A&gt;&lt;BR /&gt;also please check maintainer of gstreamer-imx plugins mentioned on&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/445732"&gt;https://community.nxp.com/thread/445732&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively one can check it with nxp linux bsp and gstreamer plugins, difference is described on&lt;/P&gt;&lt;P&gt;trac.gateworks.com/wiki/Yocto/gstreamer&lt;/P&gt;&lt;P&gt;NXP Linux Documentation can be found on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsoftware-and-tools%2Fsoftware-development-tools%2Fi.mx-software-and-tools%2Fi.mx-6series-i.mx-7series-software-and-development-tool-resources%3AIMX_SW" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 May 2017 10:24:31 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-05-08T10:24:31Z</dc:date>
    <item>
      <title>HDMI audio distortion</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HDMI-audio-distortion/m-p/665538#M102362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;We are using the Solidrun Hummingboard based on Imx6d on a Video HDMI decoder application&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;The kernel used is Linux KDS-DEC4-1 3.14.59-rt59+ #1 SMP PREEMPT Wed May 3 17:29:38 IDT 2017 armv7l GNU/Linux&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;Running gstreamer based on alsa for audio by this command&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;gst-launch-1.0 -v --no-fault rtspsrc location=rtsp://192.168.68.150:554/stream latency=10 name=demux 
demux. ! rtph264depay ! h264parse ! imxvpudec ! queue max-size-time=0 max-size-buffers=0 leaky=2 ! imxipuvideosink sync=true use-vsync=true 
demux. ! rtpmp4adepay ! avdec_aac ! audioconvert ! alsasink device=sysdefault:CARD=imxhdmisoc
&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;the audio is clear during a long time but sometimes after 1day of continuous playing the audio is suddenly heard with distortion, restarting the pipeline fix the problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;Using a tee in gstreamer pipeline which output on both hdmi sound card and on the Sgt5000 card as following show that pthe problem only appears on the HDMI card while on the Audio Analog Codec card the problem is not heard which make me think that the problem is not on the gstreamer layer&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;gst-launch-1.0 -v --no-fault rtspsrc location=rtsp://192.168.1.39:554/stream latency=10 name=demux 
demux. ! rtph264depay ! h264parse ! imxvpudec ! queue max-size-time=0 max-size-buffers=0 leaky=2 ! imxipuvideosink sync=true use-vsync=true 
demux. ! rtpmp4adepay ! avdec_aac ! audioconvert ! 
tee name=t 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t. ! queue ! alsasink device=sysdefault:CARD=imxhdmisoc 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t. ! queue ! alsasink device=sysdefault:CARD=Codec
&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;We are suspecting the problem is related to the errata&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;&lt;A class="link-titled" href="http://cache.nxp.com/assets/documents/data/en/errata/IMX6DQCE.pdf" rel="nofollow noopener noreferrer" title="http://cache.nxp.com/assets/documents/data/en/errata/IMX6DQCE.pdf" target="_blank"&gt;http://cache.nxp.com/assets/documents/data/en/errata/IMX6DQCE.pdf&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;ERR005171 - HDMI: HDMI Tx audio may have noise due to audio DMA FIFO overflow&lt;/SPAN&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;but it's mentioned that a workaround is already implemented in our BSP which is after the&amp;nbsp; imx_3.0.35_4.1.0. freescale release&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;- Could you indicate me what is the file to check in our linux kernel to see the workaround&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;- Is there a way that I &amp;nbsp;can I detect the problem by myself such as checking a imx6 register I have dump all the HDMI registers changes from good hearing and bad hearing and theses are the only differences&lt;/SPAN&gt;&lt;/P&gt;&lt;H2 id="toc-hId-1764792741"&gt;&lt;/H2&gt;&lt;PRE&gt;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;root@KDS-DEC4-1:~/regs# diff -y 140.good 140.bad 
HDMI_BASE:0x00120000 =0x36f000ff | HDMI_BASE:0x00120000 =0x36f100ff
HDMI_IH_PHY_STAT0:0x00120104 =0x00 | HDMI_IH_PHY_STAT0:0x00120104 =0x02
HDMI_IH_VP_STAT0:0x00120107 =0x02 | HDMI_IH_VP_STAT0:0x00120107 =0x57
HDMI_IH_MUTE_CEC_STAT0:0x00120186 =0x7f | HDMI_IH_MUTE_CEC_STAT0:0x00120186 =0x68
HDMI_PHY_STAT0:0x00123004 =0xf3 | HDMI_PHY_STAT0:0x00123004 =0x03
:0x00123609 =0x23 | :0x00123609 =0x17
:0x0012360c =0x28 | :0x0012360c =0xc8
:0x0012360d =0xbc | :0x0012360d =0x9d
:0x00123617 =0x00 | :0x00123617 =0x01


-Is there a way to fix the problem without restart the gstreamer pipeline 

thanks you in Advance

&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 14:39:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HDMI-audio-distortion/m-p/665538#M102362</guid>
      <dc:creator>ericzerbib</dc:creator>
      <dc:date>2017-05-04T14:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: HDMI audio distortion</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HDMI-audio-distortion/m-p/665539#M102363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this linux release and gstreamer&amp;nbsp;version (gstreamer-imx) are not supported by nxp,&lt;/P&gt;&lt;P&gt;one can post this to meta-fsl-arm mailing list, so that someone familiar with it could try to assist you.&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale" rel="nofollow" target="_blank"&gt;https://lists.yoctoproject.org/listinfo/meta-freescale&lt;/A&gt;&lt;BR /&gt;also please check maintainer of gstreamer-imx plugins mentioned on&lt;BR /&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/445732"&gt;https://community.nxp.com/thread/445732&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively one can check it with nxp linux bsp and gstreamer plugins, difference is described on&lt;/P&gt;&lt;P&gt;trac.gateworks.com/wiki/Yocto/gstreamer&lt;/P&gt;&lt;P&gt;NXP Linux Documentation can be found on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsoftware-and-tools%2Fsoftware-development-tools%2Fi.mx-software-and-tools%2Fi.mx-6series-i.mx-7series-software-and-development-tool-resources%3AIMX_SW" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 10:24:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HDMI-audio-distortion/m-p/665539#M102363</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-05-08T10:24:31Z</dc:date>
    </item>
  </channel>
</rss>

