<?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のトピックIMX8MP isp server does not dequeue frames?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-isp-server-does-not-dequeue-frames/m-p/1664318#M207188</link>
    <description>&lt;P&gt;I'm trying to figure out what goes wrong when streaming from a camera connected to the MIPI interface of the imx8mp.&lt;/P&gt;&lt;P&gt;I'm able to stream raw12 video data through the ISP, but for some reason after several "start/stop streaming", it stops working.&lt;/P&gt;&lt;P&gt;I have two issues.&lt;/P&gt;&lt;P&gt;1. MIPI data keeps flowing and I can see that the interrupts occur on the mipi interface. But there is no data passed to the ISP? If i set the format to 1080p then after ~1080 frames a frame will dequeue a .&lt;BR /&gt;If i run 640x480, a frame will dequeue after 480 frames:&lt;BR /&gt;video10: VIDIOC_DQBUF: 00:17:03.610752 index=0, type=vid-cap, request_fd=0, flags=0x00002001, field=none, sequence=0, memory=mmap, bytesused=614400, offset/userptr=0x0, length=614400&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So it is somehow related to the image size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(see log below)&lt;/P&gt;&lt;P&gt;[ 1031.733958] mxc-mipi-csi2.0: Frame Start: 19&lt;BR /&gt;[ 1031.738230] mxc-mipi-csi2.0: status: 01000000&lt;BR /&gt;[ 1031.754893] mxc-mipi-csi2.0: Frame End: 19&lt;BR /&gt;[ 1031.758989] mxc-mipi-csi2.0: status: 00100000&lt;BR /&gt;[ 1031.767295] mxc-mipi-csi2.0: Frame Start: 20&lt;BR /&gt;[ 1031.771567] mxc-mipi-csi2.0: status: 01000000&lt;BR /&gt;[ 1031.788247] mxc-mipi-csi2.0: Frame End: 20&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;[ 1021.729297] videodev: v4l2_poll: video10: poll: 00000000 000000fb&lt;BR /&gt;[ 1021.733472] mxc-mipi-csi2.0: Frame Start: 424&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;[ 1023.604813] mxc-mipi-csi2.0: Frame Start: 480&lt;BR /&gt;[ 1023.609171] mxc-mipi-csi2.0: status: 01000000&lt;BR /&gt;[ 1023.614254] video10: VIDIOC_DQBUF: 00:17:03.610752 index=0, type=vid-cap, request_fd=0, flags=0x00002001, field=none, sequence=0, memory=mmap, bytesused=614400, offset/userptr=0x0, length=614400&lt;BR /&gt;[ 1023.631617] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000&lt;BR /&gt;[ 1023.635497] mxc-mipi-csi2.0: Frame End: 480&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. No mipi interrupts! Everything looks like it should on the MIPI interface, but sometimes when I start a stream, the mipi intializes and starts as usual, but nothing happens afterwards, no MIPI interrupts. I've measured the power consumption on the camera, but it seems to be running as expected.&lt;/P&gt;&lt;P&gt;[ 1978.522978] mxc-mipi-csi2.0: mipi_csis_s_stream: 1, state: 0x0&lt;BR /&gt;[ 1978.528854] mxc-mipi-csi2.0: fmt: 0x2008, 640 x 480&lt;BR /&gt;[ 1978.551171] mxc-mipi-csi2.0: --- mipi_csis_s_stream ---&lt;BR /&gt;[ 1978.556427] mxc-mipi-csi2.0: CSIS_VERSION[0]: 0x03060301&lt;BR /&gt;[ 1978.562452] mxc-mipi-csi2.0: CSIS_CMN_CTRL[4]: 0x00004905&lt;BR /&gt;[ 1978.568475] mxc-mipi-csi2.0: CSIS_CLK_CTRL[8]: 0x000f0000&lt;BR /&gt;[ 1978.574496] mxc-mipi-csi2.0: CSIS_INTMSK[10]: 0x0fffff1f&lt;BR /&gt;[ 1978.580602] mxc-mipi-csi2.0: CSIS_INTSRC[14]: 0x00000000&lt;BR /&gt;[ 1978.586708] mxc-mipi-csi2.0: CSIS_DPHYSTATUS[20]: 0x000000f1&lt;BR /&gt;[ 1978.592814] mxc-mipi-csi2.0: CSIS_DPHYCTRL[24]: 0x0d800007&lt;BR /&gt;[ 1978.598919] mxc-mipi-csi2.0: CSIS_DPHYBCTRL_L[30]: 0x000001f4&lt;BR /&gt;[ 1978.605024] mxc-mipi-csi2.0: CSIS_DPHYBCTRL_H[34]: 0x00000000&lt;BR /&gt;[ 1978.611132] mxc-mipi-csi2.0: CSIS_DPHYSCTRL_L[38]: 0x00000000&lt;BR /&gt;[ 1978.617238] mxc-mipi-csi2.0: CSIS_DPHYSCTRL_H[3c]: 0x00000000&lt;BR /&gt;[ 1978.623343] mxc-mipi-csi2.0: CSIS_ISPCONFIG_CH0[40]: 0x000000ac&lt;BR /&gt;[ 1978.629450] mxc-mipi-csi2.0: CSIS_ISPCONFIG_CH1[50]: 0x000008fd&lt;BR /&gt;[ 1978.635557] mxc-mipi-csi2.0: CSIS_ISPCONFIG_CH2[60]: 0x000008fe&lt;BR /&gt;[ 1978.641662] mxc-mipi-csi2.0: CSIS_ISPCONFIG_CH3[70]: 0x000008ff&lt;BR /&gt;[ 1978.647769] mxc-mipi-csi2.0: CSIS_ISPRESOL_CH0[44]: 0x01e00280&lt;BR /&gt;[ 1978.653878] mxc-mipi-csi2.0: CSIS_ISPRESOL_CH1[54]: 0x80008000&lt;BR /&gt;[ 1978.659987] mxc-mipi-csi2.0: CSIS_ISPRESOL_CH2[64]: 0x80008000&lt;BR /&gt;[ 1978.666098] mxc-mipi-csi2.0: CSIS_ISPRESOL_CH3[74]: 0x80008000&lt;BR /&gt;[ 1978.672214] mxc-mipi-csi2.0: CSIS_ISPSYNC_CH0[48]: 0x00000000&lt;BR /&gt;[ 1978.678328] mxc-mipi-csi2.0: CSIS_ISPSYNC_CH1[58]: 0x00000000&lt;BR /&gt;[ 1978.684435] mxc-mipi-csi2.0: CSIS_ISPSYNC_CH2[68]: 0x00000000&lt;BR /&gt;[ 1978.690542] mxc-mipi-csi2.0: CSIS_ISPSYNC_CH3[78]: 0x00000000&lt;BR /&gt;[ 1978.696650] mxc-mipi-csi2.0: --- mipi_csis_s_stream ---&lt;BR /&gt;[ 1978.701888] mxc-mipi-csi2.0: GPR_GASKET_0_CTRL[60]: 0x00000000&lt;BR /&gt;[ 1978.707995] mxc-mipi-csi2.0: GPR_GASKET_0_HSIZE[64]: 0x00000000&lt;BR /&gt;[ 1978.714131] mxc-mipi-csi2.0: GPR_GASKET_0_VSIZE[68]: 0x00000000&lt;BR /&gt;[ 1978.720824] enter wdr3_hw_init&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2023 19:12:59 GMT</pubDate>
    <dc:creator>nbi</dc:creator>
    <dc:date>2023-06-06T19:12:59Z</dc:date>
    <item>
      <title>IMX8MP isp server does not dequeue frames?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-isp-server-does-not-dequeue-frames/m-p/1664318#M207188</link>
      <description>&lt;P&gt;I'm trying to figure out what goes wrong when streaming from a camera connected to the MIPI interface of the imx8mp.&lt;/P&gt;&lt;P&gt;I'm able to stream raw12 video data through the ISP, but for some reason after several "start/stop streaming", it stops working.&lt;/P&gt;&lt;P&gt;I have two issues.&lt;/P&gt;&lt;P&gt;1. MIPI data keeps flowing and I can see that the interrupts occur on the mipi interface. But there is no data passed to the ISP? If i set the format to 1080p then after ~1080 frames a frame will dequeue a .&lt;BR /&gt;If i run 640x480, a frame will dequeue after 480 frames:&lt;BR /&gt;video10: VIDIOC_DQBUF: 00:17:03.610752 index=0, type=vid-cap, request_fd=0, flags=0x00002001, field=none, sequence=0, memory=mmap, bytesused=614400, offset/userptr=0x0, length=614400&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So it is somehow related to the image size.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(see log below)&lt;/P&gt;&lt;P&gt;[ 1031.733958] mxc-mipi-csi2.0: Frame Start: 19&lt;BR /&gt;[ 1031.738230] mxc-mipi-csi2.0: status: 01000000&lt;BR /&gt;[ 1031.754893] mxc-mipi-csi2.0: Frame End: 19&lt;BR /&gt;[ 1031.758989] mxc-mipi-csi2.0: status: 00100000&lt;BR /&gt;[ 1031.767295] mxc-mipi-csi2.0: Frame Start: 20&lt;BR /&gt;[ 1031.771567] mxc-mipi-csi2.0: status: 01000000&lt;BR /&gt;[ 1031.788247] mxc-mipi-csi2.0: Frame End: 20&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;[ 1021.729297] videodev: v4l2_poll: video10: poll: 00000000 000000fb&lt;BR /&gt;[ 1021.733472] mxc-mipi-csi2.0: Frame Start: 424&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;[ 1023.604813] mxc-mipi-csi2.0: Frame Start: 480&lt;BR /&gt;[ 1023.609171] mxc-mipi-csi2.0: status: 01000000&lt;BR /&gt;[ 1023.614254] video10: VIDIOC_DQBUF: 00:17:03.610752 index=0, type=vid-cap, request_fd=0, flags=0x00002001, field=none, sequence=0, memory=mmap, bytesused=614400, offset/userptr=0x0, length=614400&lt;BR /&gt;[ 1023.631617] timecode=00:00:00 type=0, flags=0x00000000, frames=0, userbits=0x00000000&lt;BR /&gt;[ 1023.635497] mxc-mipi-csi2.0: Frame End: 480&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. No mipi interrupts! Everything looks like it should on the MIPI interface, but sometimes when I start a stream, the mipi intializes and starts as usual, but nothing happens afterwards, no MIPI interrupts. I've measured the power consumption on the camera, but it seems to be running as expected.&lt;/P&gt;&lt;P&gt;[ 1978.522978] mxc-mipi-csi2.0: mipi_csis_s_stream: 1, state: 0x0&lt;BR /&gt;[ 1978.528854] mxc-mipi-csi2.0: fmt: 0x2008, 640 x 480&lt;BR /&gt;[ 1978.551171] mxc-mipi-csi2.0: --- mipi_csis_s_stream ---&lt;BR /&gt;[ 1978.556427] mxc-mipi-csi2.0: CSIS_VERSION[0]: 0x03060301&lt;BR /&gt;[ 1978.562452] mxc-mipi-csi2.0: CSIS_CMN_CTRL[4]: 0x00004905&lt;BR /&gt;[ 1978.568475] mxc-mipi-csi2.0: CSIS_CLK_CTRL[8]: 0x000f0000&lt;BR /&gt;[ 1978.574496] mxc-mipi-csi2.0: CSIS_INTMSK[10]: 0x0fffff1f&lt;BR /&gt;[ 1978.580602] mxc-mipi-csi2.0: CSIS_INTSRC[14]: 0x00000000&lt;BR /&gt;[ 1978.586708] mxc-mipi-csi2.0: CSIS_DPHYSTATUS[20]: 0x000000f1&lt;BR /&gt;[ 1978.592814] mxc-mipi-csi2.0: CSIS_DPHYCTRL[24]: 0x0d800007&lt;BR /&gt;[ 1978.598919] mxc-mipi-csi2.0: CSIS_DPHYBCTRL_L[30]: 0x000001f4&lt;BR /&gt;[ 1978.605024] mxc-mipi-csi2.0: CSIS_DPHYBCTRL_H[34]: 0x00000000&lt;BR /&gt;[ 1978.611132] mxc-mipi-csi2.0: CSIS_DPHYSCTRL_L[38]: 0x00000000&lt;BR /&gt;[ 1978.617238] mxc-mipi-csi2.0: CSIS_DPHYSCTRL_H[3c]: 0x00000000&lt;BR /&gt;[ 1978.623343] mxc-mipi-csi2.0: CSIS_ISPCONFIG_CH0[40]: 0x000000ac&lt;BR /&gt;[ 1978.629450] mxc-mipi-csi2.0: CSIS_ISPCONFIG_CH1[50]: 0x000008fd&lt;BR /&gt;[ 1978.635557] mxc-mipi-csi2.0: CSIS_ISPCONFIG_CH2[60]: 0x000008fe&lt;BR /&gt;[ 1978.641662] mxc-mipi-csi2.0: CSIS_ISPCONFIG_CH3[70]: 0x000008ff&lt;BR /&gt;[ 1978.647769] mxc-mipi-csi2.0: CSIS_ISPRESOL_CH0[44]: 0x01e00280&lt;BR /&gt;[ 1978.653878] mxc-mipi-csi2.0: CSIS_ISPRESOL_CH1[54]: 0x80008000&lt;BR /&gt;[ 1978.659987] mxc-mipi-csi2.0: CSIS_ISPRESOL_CH2[64]: 0x80008000&lt;BR /&gt;[ 1978.666098] mxc-mipi-csi2.0: CSIS_ISPRESOL_CH3[74]: 0x80008000&lt;BR /&gt;[ 1978.672214] mxc-mipi-csi2.0: CSIS_ISPSYNC_CH0[48]: 0x00000000&lt;BR /&gt;[ 1978.678328] mxc-mipi-csi2.0: CSIS_ISPSYNC_CH1[58]: 0x00000000&lt;BR /&gt;[ 1978.684435] mxc-mipi-csi2.0: CSIS_ISPSYNC_CH2[68]: 0x00000000&lt;BR /&gt;[ 1978.690542] mxc-mipi-csi2.0: CSIS_ISPSYNC_CH3[78]: 0x00000000&lt;BR /&gt;[ 1978.696650] mxc-mipi-csi2.0: --- mipi_csis_s_stream ---&lt;BR /&gt;[ 1978.701888] mxc-mipi-csi2.0: GPR_GASKET_0_CTRL[60]: 0x00000000&lt;BR /&gt;[ 1978.707995] mxc-mipi-csi2.0: GPR_GASKET_0_HSIZE[64]: 0x00000000&lt;BR /&gt;[ 1978.714131] mxc-mipi-csi2.0: GPR_GASKET_0_VSIZE[68]: 0x00000000&lt;BR /&gt;[ 1978.720824] enter wdr3_hw_init&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 19:12:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-isp-server-does-not-dequeue-frames/m-p/1664318#M207188</guid>
      <dc:creator>nbi</dc:creator>
      <dc:date>2023-06-06T19:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP isp server does not dequeue frames?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-isp-server-does-not-dequeue-frames/m-p/1670293#M207665</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;DIV id="bodyDisplay_0" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;Would you provide more details, on how are you running the test?&lt;/P&gt;
&lt;P&gt;Is it gstreamer pipeline?&lt;BR /&gt;Are you modifying the device tree?&lt;BR /&gt;Are you writing your test?&lt;/P&gt;
&lt;P&gt;Please provide more details on how the issue can be reproduce it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Jun 2023 12:41:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-isp-server-does-not-dequeue-frames/m-p/1670293#M207665</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2023-06-15T12:41:23Z</dc:date>
    </item>
  </channel>
</rss>

