<?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: IMX8MP ML Example not working in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-ML-Example-not-working/m-p/2135491#M239352</link>
    <description>&lt;P&gt;tested this on my side, didn't find any error log, the message as below is warning message, which exist in the old bsp too, this isn't the error message, reported to the GPU team about this warning message before&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;0:00:01.005968875  1671 0xaaaaedd5fb00 WARN           imxcompositor gstimxcompositor.c:1540:gst_imxcompositor_aggregate_frames:&amp;lt;mix:sink_1&amp;gt; set rotate failed 0xaaaaee03ec60&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joanxie_0-1752732604448.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/347978i421080DB6340478C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="joanxie_0-1752732604448.png" alt="joanxie_0-1752732604448.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jul 2025 06:13:16 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2025-07-17T06:13:16Z</dc:date>
    <item>
      <title>IMX8MP ML Example not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-ML-Example-not-working/m-p/2129917#M239076</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm running BSP&amp;nbsp;5.15.71-2.2.2, and I wanted to try out the machine learning example in&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/UG10166.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/UG10166.pdf&lt;/A&gt;&amp;nbsp;section 8.1&lt;BR /&gt;&lt;BR /&gt;When running this given pipeline, based on the example (only thing that has been changed is the waylandsink to fakevideosink as i'm running headless)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;GST_DEBUG=3 gst-launch-1.0 --no-position v4l2src device=/dev/video2 ! video/x-raw,width=640,height=480,framerate=24/1 ! tee name=t t. ! queue max-size-buffers=2 leaky=2 !  imxvideoconvert_g2d ! video/x-raw,width=300,height=300,format=RGBA ! videoconvert ! video/x-raw,format=RGB ! tensor_converter ! tensor_filter framework=tensorflow-lite model=/home/root/ssd_mobilenet_v2_coco_quant_postprocess.tflite  custom=Delegate:External,ExtDelegateLib:libvx_delegate.so ! tensor_decoder mode=bounding_boxes option1=mobilenet-ssd-postprocess option2=/home/root/ssd_labels.txt option3=0:1:2:3,50 option4=640:480 option5=300:300 ! mix. t. ! queue max-size-buffers=2 ! imxcompositor_g2d name=mix latency=30000000 min-upstream-latency=30000000 sink_0::zorder=2 sink_1::zorder=1 ! fakevideosink&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;The hardware accellerated imxcompositor_g2d gives the following error&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;** Message: 19:38:14.427: accl = cpu
Vx delegate: allowed_cache_mode set to 0.
Vx delegate: device num set to 0.
Vx delegate: allowed_builtin_code set to 0.
Vx delegate: error_during_init set to 0.
Vx delegate: error_during_prepare set to 0.
Vx delegate: error_during_invoke set to 0.
WARNING: Fallback unsupported op 32 to TfLite
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
0:00:00.964549750  1671 0xaaaaedd5fb00 WARN           imxcompositor gstimxcompositor.c:1540:gst_imxcompositor_aggregate_frames:&amp;lt;mix:sink_1&amp;gt; set rotate failed 0xaaaaee03eb40

W [HandleLayoutInfer:274]Op 162: default layout inference pass.
W [HandleLayoutInfer:274]Op 162: default layout inference pass.
0:00:01.005968875  1671 0xaaaaedd5fb00 WARN           imxcompositor gstimxcompositor.c:1540:gst_imxcompositor_aggregate_frames:&amp;lt;mix:sink_1&amp;gt; set rotate failed 0xaaaaee03ec60

0:00:01.050180875  1671 0xaaaaedd5fb00 WARN           imxcompositor gstimxcompositor.c:1540:gst_imxcompositor_aggregate_frames:&amp;lt;mix:sink_1&amp;gt; set rotate failed 0xffff4c013480

0:00:01.089492750  1671 0xaaaaedd5fb00 WARN           imxcompositor gstimxcompositor.c:1540:gst_imxcompositor_aggregate_frames:&amp;lt;mix:sink_1&amp;gt; set rotate failed 0xaaaaee03eea0&lt;/LI-CODE&gt;&lt;P&gt;From the logs, and other pipelines i have tried, the VX delegate works just fine, it does HW object detection. The only issue that happens is with imxcompositor_g2d. Are there specific limitations that I might not be aware of while using HW image compositors?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 07:23:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-ML-Example-not-working/m-p/2129917#M239076</guid>
      <dc:creator>Vilius</dc:creator>
      <dc:date>2025-07-08T07:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP ML Example not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-ML-Example-not-working/m-p/2132929#M239230</link>
      <description>&lt;P&gt;do you mean the pipeline works with waylandsink, then failed with&amp;nbsp;waylandsink to fakevideosink?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 02:36:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-ML-Example-not-working/m-p/2132929#M239230</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2025-07-14T02:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP ML Example not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-ML-Example-not-working/m-p/2133309#M239250</link>
      <description>&lt;P&gt;No, the sink doesnt matter, be it fake sink, udp sink, or others. I have identified it to the&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;imxcompositor_g2d&lt;/STRONG&gt; component specifically. Because changing it to a software based &lt;STRONG&gt;compositor&lt;/STRONG&gt; component, the pipeline works just fine.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 11:45:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-ML-Example-not-working/m-p/2133309#M239250</guid>
      <dc:creator>Vilius</dc:creator>
      <dc:date>2025-07-14T11:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP ML Example not working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-ML-Example-not-working/m-p/2135491#M239352</link>
      <description>&lt;P&gt;tested this on my side, didn't find any error log, the message as below is warning message, which exist in the old bsp too, this isn't the error message, reported to the GPU team about this warning message before&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;0:00:01.005968875  1671 0xaaaaedd5fb00 WARN           imxcompositor gstimxcompositor.c:1540:gst_imxcompositor_aggregate_frames:&amp;lt;mix:sink_1&amp;gt; set rotate failed 0xaaaaee03ec60&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joanxie_0-1752732604448.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/347978i421080DB6340478C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="joanxie_0-1752732604448.png" alt="joanxie_0-1752732604448.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2025 06:13:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-ML-Example-not-working/m-p/2135491#M239352</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2025-07-17T06:13:16Z</dc:date>
    </item>
  </channel>
</rss>

