<?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: Not Able to Capture Still Image With Resolution 4192*3104 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Not-Able-to-Capture-Still-Image-With-Resolution-4192-3104/m-p/415433#M62410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you tried with a smaller image size? It seems that the default configuration of the IPU driver accept a maximum screen size of 4096 x 2048. However, you could enlarge the DMA buffers, as explained on the following links:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/306408"&gt;Re: DMA related crash when capturing hi-res video while storing to SSD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/389616"&gt;dma allocation failed whiling taking picture&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/xhteam/hardware-imx/issues/1" title="https://github.com/xhteam/hardware-imx/issues/1"&gt;Sometimes camera can't capture 5M frame · Issue #1 · xhteam/hardware-imx · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Tue, 23 Jun 2015 01:47:07 GMT</pubDate>
    <dc:creator>CarlosCasillas</dc:creator>
    <dc:date>2015-06-23T01:47:07Z</dc:date>
    <item>
      <title>Not Able to Capture Still Image With Resolution 4192*3104</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Not-Able-to-Capture-Still-Image-With-Resolution-4192-3104/m-p/415432#M62409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having IMX6 dual lite sabreSD board. I amtrying to capture a still image with resolution 4192 * 3104 but every time I get page allocation error from ipu_csi_enc.c .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the error whic i get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;page allocation failure: order:13, mode:0xd1&lt;/P&gt;&lt;P&gt;[&amp;lt;80048854&amp;gt;] (unwind_backtrace+0x0/0xf8) from [&amp;lt;800c08e8&amp;gt;] (warn_alloc_failed+0xc8/0x100)&lt;/P&gt;&lt;P&gt;[&amp;lt;800c08e8&amp;gt;] (warn_alloc_failed+0xc8/0x100) from [&amp;lt;800c2e20&amp;gt;] (__alloc_pages_nodemask+0x4c8/0x6cc)&lt;/P&gt;&lt;P&gt;[&amp;lt;800c2e20&amp;gt;] (__alloc_pages_nodemask+0x4c8/0x6cc) from [&amp;lt;8004b7c0&amp;gt;] (__dma_alloc+0xa4/0x300)&lt;/P&gt;&lt;P&gt;[&amp;lt;8004b7c0&amp;gt;] (__dma_alloc+0xa4/0x300) from [&amp;lt;8004bff8&amp;gt;] (dma_alloc_coherent+0x54/0x60)&lt;/P&gt;&lt;P&gt;[&amp;lt;8004bff8&amp;gt;] (dma_alloc_coherent+0x54/0x60) from [&amp;lt;7f0121cc&amp;gt;] (csi_enc_enabling_tasks+0x30/0x3c4 [ipu_csi_enc])&lt;/P&gt;&lt;P&gt;VIDIOC_STREAMON error[&amp;lt;7f0121cc&amp;gt;] (csi_enc_enabling_tasks+0x30/0x3c4 [ipu_csi_enc]) from [&amp;lt;7f01623c&amp;gt;] (mxc_streamon+0x78/0x22c [mxc_v4l2_captur)&lt;/P&gt;&lt;P&gt;[&amp;lt;7f01623c&amp;gt;] (mxc_streamon+0x78/0x22c [mxc_v4l2_capture]) from [&amp;lt;7f01808c&amp;gt;] (mxc_v4l_do_ioctl+0x420/0x2120 [mxc_v4l2_capture])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&amp;lt;7f01808c&amp;gt;] (mxc_v4l_do_ioctl+0x420/0x2120 [mxc_v4l2_capture]) from [&amp;lt;8035c6d4&amp;gt;] (video_usercopy+0x98/0x4d4)&lt;/P&gt;&lt;P&gt;[&amp;lt;8035c6d4&amp;gt;] (video_usercopy+0x98/0x4d4) from [&amp;lt;8035bc70&amp;gt;] (v4l2_ioctl+0x11c/0x138)&lt;/P&gt;&lt;P&gt;start time = 611 s, 931414 us[&amp;lt;8035bc70&amp;gt;] (v4l2_ioctl+0x11c/0x138) from [&amp;lt;80101674&amp;gt;] (do_vfs_ioctl+0x80/0x54c)&lt;/P&gt;&lt;P&gt;[&amp;lt;80101674&amp;gt;] (do_vfs_ioctl+0x80/0x54c) from [&amp;lt;80101b78&amp;gt;] (sys_ioctl+0x38/0x5c)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&amp;lt;80101b78&amp;gt;] (sys_ioctl+0x38/0x5c) from [&amp;lt;80041fc0&amp;gt;] (ret_fast_syscall+0x0/0x30)&lt;/P&gt;&lt;P&gt;Mem-info:&lt;/P&gt;&lt;P&gt;DMA per-cpu:&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 0: hi:&amp;nbsp;&amp;nbsp; 90, btch:&amp;nbsp; 15 usd:&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 1: hi:&amp;nbsp;&amp;nbsp; 90, btch:&amp;nbsp; 15 usd:&amp;nbsp; 11&lt;/P&gt;&lt;P&gt;Normal per-cpu:&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 0: hi:&amp;nbsp; 186, btch:&amp;nbsp; 31 usd:&amp;nbsp; 78&lt;/P&gt;&lt;P&gt;CPU&amp;nbsp;&amp;nbsp;&amp;nbsp; 1: hi:&amp;nbsp; 186, btch:&amp;nbsp; 31 usd: 177&lt;/P&gt;&lt;P&gt;active_anon:156 inactive_anon:16 isolated_anon:0&lt;/P&gt;&lt;P&gt; active_file:381 inactive_file:369 isolated_file:0&lt;/P&gt;&lt;P&gt; unevictable:0 dirty:0 writeback:0 unstable:0&lt;/P&gt;&lt;P&gt; free:166179 slab_reclaimable:641 slab_unreclaimable:1618&lt;/P&gt;&lt;P&gt; mapped:327 shmem:19 pagetables:96 bounce:0&lt;/P&gt;&lt;P&gt;DMA free:94056kB min:844kB low:1052kB high:1264kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(s&lt;/P&gt;&lt;P&gt;lowmem_reserve[]: 0 577 577 577&lt;/P&gt;&lt;P&gt;Normal free:570660kB min:2680kB low:3348kB high:4020kB active_anon:624kB inactive_anon:64kB active_file:1524kB inactive_file:1476kB unevictableo&lt;/P&gt;&lt;P&gt;lowmem_reserve[]: 0 0 0 0&lt;/P&gt;&lt;P&gt;DMA: 4*4kB 5*8kB 7*16kB 8*32kB 7*64kB 2*128kB 1*256kB 5*512kB 4*1024kB 4*2048kB 5*4096kB 1*8192kB 3*16384kB 0*32768kB = 94056kB&lt;/P&gt;&lt;P&gt;Normal: 55*4kB 4*8kB 24*16kB 19*32kB 3*64kB 1*128kB 3*256kB 2*512kB 2*1024kB 0*2048kB 2*4096kB 4*8192kB 4*16384kB 14*32768kB = 570652kB&lt;/P&gt;&lt;P&gt;732 total pagecache pages&lt;/P&gt;&lt;P&gt;0 pages in swap cache&lt;/P&gt;&lt;P&gt;Swap cache stats: add 0, delete 0, find 0/0&lt;/P&gt;&lt;P&gt;Free swap&amp;nbsp; = 0kB&lt;/P&gt;&lt;P&gt;Total swap = 0kB&lt;/P&gt;&lt;P&gt;262144 pages of RAM&lt;/P&gt;&lt;P&gt;166522 free pages&lt;/P&gt;&lt;P&gt;70635 reserved pages&lt;/P&gt;&lt;P&gt;1274 slab pages&lt;/P&gt;&lt;P&gt;787 pages shared&lt;/P&gt;&lt;P&gt;0 pages swap cached&lt;/P&gt;&lt;P&gt;cam-&amp;gt;v2f.fmt.pix.sizeimage = 25560576&lt;/P&gt;&lt;P&gt;ERROR:IPU CSI v4l2 capture: Allocate dummy frame failed.&lt;/P&gt;&lt;P&gt;ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0&lt;/P&gt;&lt;P&gt;VIDIOC_DQBUF failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked IMX6 application processor reference manual in which it is clearly stated that maximum frame size supported by IPU is 8192 * 4096 pixels, so my requirement is far below than the maximum. So I doubt if there is some limitation in any of the driver related to memory alocation .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly please provide some inputs regarding this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 10:57:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Not-Able-to-Capture-Still-Image-With-Resolution-4192-3104/m-p/415432#M62409</guid>
      <dc:creator>paritoshsingh</dc:creator>
      <dc:date>2015-06-19T10:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Not Able to Capture Still Image With Resolution 4192*3104</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Not-Able-to-Capture-Still-Image-With-Resolution-4192-3104/m-p/415433#M62410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you tried with a smaller image size? It seems that the default configuration of the IPU driver accept a maximum screen size of 4096 x 2048. However, you could enlarge the DMA buffers, as explained on the following links:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/306408"&gt;Re: DMA related crash when capturing hi-res video while storing to SSD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/389616"&gt;dma allocation failed whiling taking picture&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/xhteam/hardware-imx/issues/1" title="https://github.com/xhteam/hardware-imx/issues/1"&gt;Sometimes camera can't capture 5M frame · Issue #1 · xhteam/hardware-imx · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Tue, 23 Jun 2015 01:47:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Not-Able-to-Capture-Still-Image-With-Resolution-4192-3104/m-p/415433#M62410</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2015-06-23T01:47:07Z</dc:date>
    </item>
  </channel>
</rss>

