<?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: G2D plugins don't work in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/G2D-plugins-don-t-work/m-p/638343#M97322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pierre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please refer to below link about gstreamer-imx support&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/441521"&gt;Gstreamer imxvpuap error&lt;/A&gt;&amp;nbsp;&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, 26 Dec 2016 23:40:09 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2016-12-26T23:40:09Z</dc:date>
    <item>
      <title>G2D plugins don't work</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/G2D-plugins-don-t-work/m-p/638342#M97321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to make G2D plugins from gstreamer-imx work with my imx6q. I work on Yocto, fido branch, with 3.14.38 kernel.&lt;/P&gt;&lt;P&gt;These plugins are from &lt;A href="https://github.com/Freescale/gstreamer-imx" rel="nofollow noopener noreferrer" target="_blank"&gt;https://github.com/Freescale/gstreamer-imx&lt;/A&gt;. When I try to run gst-launch-1.0 imxv4l2videosrc ! imxg2dvideosink I get the following error :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE&gt;&lt;CODE&gt;g2d_alloc: alloc memory fail with size 16!
ERROR: Pipeline doesn't want to pause.
Setting pipeline to NULL ...
Freeing pipeline ..&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With more debug :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;CODE&gt;0:00:00.540714000&amp;nbsp; &amp;nbsp;425&amp;nbsp; &amp;nbsp;0x549400 INFO&amp;nbsp; &amp;nbsp; &amp;nbsp;imxphysmemallocator phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:&amp;lt;GstImxPhysMemAllocator@0x54d908&amp;gt; initializing physical memory allocator&lt;BR /&gt;g2d_alloc: alloc memory fail with size 16!&lt;BR /&gt;0:00:00.556959667&amp;nbsp; &amp;nbsp;425&amp;nbsp; &amp;nbsp;0x549400 ERROR&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; imxg2dallocator allocator.c:59:gst_imx_g2d_alloc_phys_mem:&amp;lt;imxg2dallocator0&amp;gt; could not allocate 16 bytes of physical memory&lt;BR /&gt;0:00:00.557108000&amp;nbsp; &amp;nbsp;425&amp;nbsp; &amp;nbsp;0x549400 WARN&amp;nbsp; &amp;nbsp; &amp;nbsp;imxphysmemallocator phys_mem_allocator.c:154:gst_imx_phys_mem_allocator_alloc:&amp;lt;imxg2dallocator0&amp;gt; could not allocate memory block with 16 bytes&lt;BR /&gt;0:00:00.557213000&amp;nbsp; &amp;nbsp;425&amp;nbsp; &amp;nbsp;0x549400 WARN&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GST_BUFFER gstbuffer.c:739:gst_buffer_new_allocate: failed to allocate 16 bytes&lt;/CODE&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I posted an issue on the github, but it's not solved.&lt;/P&gt;&lt;P&gt;I tried to change the CMA value, already to 320M to other values, but this the same error.&lt;/P&gt;&lt;P&gt;a part of my kernel configuration :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;CONFIG_MXC_GPU_VIV=y&lt;/P&gt;&lt;P&gt;CONFIG_CMA_SIZE_MBYTES=320&lt;BR /&gt;CONFIG_CMA_SIZE_SEL_MBYTES=y&lt;/P&gt;&lt;P&gt;CONFIG_CMA_ALIGNMENT=8&lt;BR /&gt;CONFIG_CMA_AREAS=7&lt;/P&gt;&lt;P&gt;CONFIG_DMA_CMA=y&lt;/P&gt;&lt;P&gt;CONFIG_DMA_SHARED_BUFFER=y&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I think it would be a kernel missconfiguration. I work on another iMX (DL) and these plugins just work fine with yocto fido. Any thougts about kernel missing configuration?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 14:24:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/G2D-plugins-don-t-work/m-p/638342#M97321</guid>
      <dc:creator>pierre-olivierh</dc:creator>
      <dc:date>2016-12-23T14:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: G2D plugins don't work</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/G2D-plugins-don-t-work/m-p/638343#M97322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pierre&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please refer to below link about gstreamer-imx support&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/441521"&gt;Gstreamer imxvpuap error&lt;/A&gt;&amp;nbsp;&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, 26 Dec 2016 23:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/G2D-plugins-don-t-work/m-p/638343#M97322</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-12-26T23:40:09Z</dc:date>
    </item>
  </channel>
</rss>

