<?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 IMX.35 Video Capture Causing Blank Video output in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX-35-Video-Capture-Causing-Blank-Video-output/m-p/183111#M8113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using v4l on an IMX35 based platform, and have seen a sporadic issue when enabling v4l overlay capture causes video output to stop and the result is a blank screen. The blank screen happens when using the VIDEOC_OVERLAY ioctl on the v4l device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When this happens, I notice that a the SDC_PIX_SKIP is set in IPU_TASKS_STAT (Which is set to 0x2203) It happens mainly on first attempt at video capture, and the frequency is perhaps 1/20 times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attempts to stop capture throw up an warning that tasks cannot be stopped (&lt;/P&gt;&lt;P&gt;DMASDC_0_BUSY is set in the IDMAC_CHA_BUSY register, and never seems to go to zero).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- BG plane is being used for Qt graphics.&lt;/P&gt;&lt;P&gt;- FG plane is being used to capture video, but switched around so graphics is rendered on top (I'm using a key colour.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see this error as I am using an EOF interrupt to detect if video capture has stopped [Video freeze has&amp;nbsp;been spotted in certain environmental conditions, and&amp;nbsp;Freescale advised us to use the EOF interrupt&amp;nbsp;as a means to check&amp;nbsp;if capture has frozen]&amp;nbsp;(I write a flag into the IMX internal RAM every frame, and check this value in userland and reset the flag. If the flag never gets detected, then I have to reset video capture. In the case when the 'blank screen' occurs the flag is never written and attempts to stop video capture just give the warning.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what the relevance of SDC_PIX_SKIP is, as I cannot find it documented anywhere. It seems a bit suspicious that this bit is set, as it appears to indicate some sort of error condition. Does anyone know what this is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know whether it's relevant, but Linux is booted from u-boot which has a IMX35 fb driver installed. The drivers are mainly the standard v4l drivers, with a new module for an external analogue-&amp;gt;digital converter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh, one thing I noticed is that when the v4l driver is a loadable&amp;nbsp;module, the blank screen happened more frequently than if it was compiled into the kernel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Aug 2012 09:22:44 GMT</pubDate>
    <dc:creator>Martinnike</dc:creator>
    <dc:date>2012-08-22T09:22:44Z</dc:date>
    <item>
      <title>IMX.35 Video Capture Causing Blank Video output</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-35-Video-Capture-Causing-Blank-Video-output/m-p/183111#M8113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using v4l on an IMX35 based platform, and have seen a sporadic issue when enabling v4l overlay capture causes video output to stop and the result is a blank screen. The blank screen happens when using the VIDEOC_OVERLAY ioctl on the v4l device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When this happens, I notice that a the SDC_PIX_SKIP is set in IPU_TASKS_STAT (Which is set to 0x2203) It happens mainly on first attempt at video capture, and the frequency is perhaps 1/20 times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Attempts to stop capture throw up an warning that tasks cannot be stopped (&lt;/P&gt;&lt;P&gt;DMASDC_0_BUSY is set in the IDMAC_CHA_BUSY register, and never seems to go to zero).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- BG plane is being used for Qt graphics.&lt;/P&gt;&lt;P&gt;- FG plane is being used to capture video, but switched around so graphics is rendered on top (I'm using a key colour.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see this error as I am using an EOF interrupt to detect if video capture has stopped [Video freeze has&amp;nbsp;been spotted in certain environmental conditions, and&amp;nbsp;Freescale advised us to use the EOF interrupt&amp;nbsp;as a means to check&amp;nbsp;if capture has frozen]&amp;nbsp;(I write a flag into the IMX internal RAM every frame, and check this value in userland and reset the flag. If the flag never gets detected, then I have to reset video capture. In the case when the 'blank screen' occurs the flag is never written and attempts to stop video capture just give the warning.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know what the relevance of SDC_PIX_SKIP is, as I cannot find it documented anywhere. It seems a bit suspicious that this bit is set, as it appears to indicate some sort of error condition. Does anyone know what this is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know whether it's relevant, but Linux is booted from u-boot which has a IMX35 fb driver installed. The drivers are mainly the standard v4l drivers, with a new module for an external analogue-&amp;gt;digital converter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh, one thing I noticed is that when the v4l driver is a loadable&amp;nbsp;module, the blank screen happened more frequently than if it was compiled into the kernel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 09:22:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-35-Video-Capture-Causing-Blank-Video-output/m-p/183111#M8113</guid>
      <dc:creator>Martinnike</dc:creator>
      <dc:date>2012-08-22T09:22:44Z</dc:date>
    </item>
  </channel>
</rss>

