<?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: zero copy about v4l2 to drm in imx8qm in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1395174#M185452</link>
    <description>&lt;P&gt;I tried this on a 8MPLUSLPD4-PEVK and got:&lt;/P&gt;&lt;P&gt;21504.204670] enter isp_mi_stop&lt;BR /&gt;Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt;====== V4L2ENC: 1.18.5 build on Nov 9 2021 07:44:26. ======&lt;BR /&gt;Pipeline is live and does not need PREROLL ...&lt;BR /&gt;Pipeline is PREROLLED ...&lt;BR /&gt;Setting pipeline to PLAYING ...&lt;BR /&gt;New clock: GstSystemClock&lt;BR /&gt;Redistribute latency...&lt;BR /&gt;[21504.558748] enter isp_mi_stop&lt;BR /&gt;[21505.215150] enter isp_s_comp&lt;BR /&gt;[21505.218062] enter isp_s_comp&lt;BR /&gt;[21505.220980] enter isp_s_comp&lt;BR /&gt;[21505.236736] enter wdr3_hw_init&lt;BR /&gt;[21505.239799] wdr3 res: 3840 2160&lt;BR /&gt;[21505.243742] enter isp_mi_start&lt;BR /&gt;ERROR: from element /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0: Failed to process frame.&lt;BR /&gt;Additional debug info:&lt;BR /&gt;../git/sys/v4l2/gstv4l2videoenc.c(833): gst_v4l2_video_enc_handle_frame (): /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0:&lt;BR /&gt;Maybe be due to not enough memory or failing driver&lt;BR /&gt;Execution ended after 0:00:01.122470649&lt;BR /&gt;Setting pipeline to NULL ...&lt;BR /&gt;[21505.463975] enter isp_mi_stop&lt;BR /&gt;[21505.613430] enter isp_mi_stop&lt;BR /&gt;Freeing pipeline ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any ideas why this doesn't work?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Jan 2022 01:11:03 GMT</pubDate>
    <dc:creator>marcus-castlepeakinc</dc:creator>
    <dc:date>2022-01-06T01:11:03Z</dc:date>
    <item>
      <title>zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1205761#M167161</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;As above subject, I have some trouble to implement zero copy about camera data to drm or display unit in i.MX8qm.&lt;/P&gt;&lt;P&gt;I think /unit_tests/V4L2/mx8_v4l2_cap_drm.out which is implemented by copying v4l2 camera data to drm it may cause delayed time to display camera data. So, I'd like to change&amp;nbsp; mx8_v4l2_cap_drm with zero copy for display camera data and i am using ov5640 mipi camera.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas or sample codes or reference link?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 05:16:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1205761#M167161</guid>
      <dc:creator>yibhan</dc:creator>
      <dc:date>2021-01-04T05:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1205869#M167171</link>
      <description>&lt;P&gt;Hi yibhan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try gstreamer camera encode example with zero-copy support :&lt;/P&gt;
&lt;P&gt;gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=300 io-mode=dmabuf ! \&lt;BR /&gt;'video/x-raw,format=(string)NV12,width=1920,height=1080,framerate=(fraction)30/1' ! \&lt;BR /&gt;queue ! v4l2h264enc output-io-mode=dmabuf-import ! \&lt;BR /&gt;avimux ! filesink location=test.avi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 07:18:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1205869#M167171</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-01-04T07:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1206077#M167197</link>
      <description>&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;Thank you for answer. But I'd like to set v4l2 and drm directly not using gst-lanuch.&lt;/P&gt;&lt;P&gt;Could you have any ideas or reference codes?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 10:21:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1206077#M167197</guid>
      <dc:creator>yibhan</dc:creator>
      <dc:date>2021-01-04T10:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1230369#M169446</link>
      <description>&lt;P&gt;Hey! I am also trying to get a low latency sample application. Any progress on this yibhan?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;prasad.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 13:23:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1230369#M169446</guid>
      <dc:creator>prasad_imx8</dc:creator>
      <dc:date>2021-02-12T13:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1230772#M169472</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;not yet&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2021 23:17:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1230772#M169472</guid>
      <dc:creator>yibhan</dc:creator>
      <dc:date>2021-02-14T23:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1265700#M172970</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to do it. may be we can discuss more.&lt;/P&gt;&lt;P&gt;Then post the final solution here.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Prasad.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 08:19:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1265700#M172970</guid>
      <dc:creator>prasad_imx8</dc:creator>
      <dc:date>2021-04-21T08:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274027#M173771</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;Dear Yibhan&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;MY board :&lt;/FONT&gt; &lt;/STRONG&gt;I.MX8QM - Freescale MEK&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;Linux Version:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;repo init -u &lt;A href="https://source.codeaurora.org/external/imx/imx-manifest" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-manifest&lt;/A&gt; -b imx-linux-sumo -m imx-4.14.98-2.3.0.xml&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;DTB: &lt;/FONT&gt;fsl-imx8qm-mek-hdmi.dtb&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;What i am doing :&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;/unit_tests/V4L2/mx8_v4l2_cap_drm.out -cam 1 -of&lt;BR /&gt;/unit_tests/V4L2/mx8_v4l2_cap_drm.out -cam 1&lt;BR /&gt;/unit_tests/V4L2/mx8_v4l2_cap_drm.out -cam 1 -m 0 -fr 30&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Problem:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am not getting any picture on Display&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Pls help&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 May 2021 11:17:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274027#M173771</guid>
      <dc:creator>RameshChandrakasan</dc:creator>
      <dc:date>2021-05-08T11:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274066#M173776</link>
      <description>&lt;P&gt;Hi, I am prasad and i have some experience in the problem you are facing. My setup was slightly different.&lt;/P&gt;&lt;P&gt;however, for your observation the isuue might be in the video input or video display pipeline so you have to first see where is the problem. To identify if video input fails:&lt;BR /&gt;gst-launch-1.0 -vvv v4l2src device=/dev/video0 num-buffers=5 ! video/x-raw,width=1280,height=800 ! jpegenc ! filesink location=test_1280x800.jpg&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To test display:&lt;BR /&gt;modetest -s &amp;lt;connector_id&amp;gt;[,&amp;lt;connector_id&amp;gt;][@&amp;lt;crtc_id&amp;gt;]:&amp;lt;mode&amp;gt;[-&amp;lt;vrefresh&amp;gt;][@&amp;lt;format&amp;gt;]&lt;/P&gt;&lt;P&gt;if the issue is in video input (more likely)&lt;/P&gt;&lt;P&gt;1) test setup is faulty.&lt;BR /&gt;2) Virtual channel is enabled in the CSI capture port and input stream doesnt have VC ID.&lt;BR /&gt;3) Number of data lanes mismatch.&lt;BR /&gt;4) Sync polarities.&lt;BR /&gt;5) Pinmuxing (I dont think this is the issue)&lt;BR /&gt;6) Color format mismatch (input sensor and CSI port)&lt;/P&gt;&lt;P&gt;I can help you more if you tell me, which camera sensor are you using? and the exact setup.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Prasad.&lt;/P&gt;</description>
      <pubDate>Sun, 09 May 2021 06:40:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274066#M173776</guid>
      <dc:creator>prasad_imx8</dc:creator>
      <dc:date>2021-05-09T06:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274287#M173795</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Dear Prasad&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;My camera&lt;FONT color="#008000"&gt;&lt;STRONG&gt; is working when i use with gstreamer&lt;/STRONG&gt; (&lt;/FONT&gt;ie) using gst-launch-1.0 command.&lt;/P&gt;&lt;P&gt;But , I want to get the picture &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;without gstreamer framework.&lt;/FONT&gt;&lt;/STRONG&gt; i have attached my log here, in that first command is using gstreamer,&lt;/P&gt;&lt;P&gt;But&lt;/P&gt;&lt;P&gt;Second command using raw driver is not working (ie)&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;$/unit_tests/V4L2/mx8_v4l2_cap_drm.out&amp;nbsp; --- &lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;which is my problem.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;Pls suggest&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 07:19:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274287#M173795</guid>
      <dc:creator>RameshChandrakasan</dc:creator>
      <dc:date>2021-05-10T07:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274292#M173796</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have weston running in the background. The DRM can only have one master.&lt;/P&gt;&lt;P&gt;run this command before you run the unit test.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;systemctl disable weston&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;killall weston &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will s&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 07:24:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274292#M173796</guid>
      <dc:creator>prasad_imx8</dc:creator>
      <dc:date>2021-05-10T07:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274294#M173797</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;You have weston running in the background. The DRM can only have one master.&lt;BR /&gt;&lt;SPAN&gt;run this command before you run the unit test.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;systemctl disable weston&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;killall weston &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This will solve the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 07:26:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274294#M173797</guid>
      <dc:creator>prasad_imx8</dc:creator>
      <dc:date>2021-05-10T07:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274405#M173806</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Dear Prasad&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF00FF"&gt;Well Done. It is working as per the way you suggested.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Now, Next level.&lt;/P&gt;&lt;P&gt;Can we i use in side the wayland weston window context.? -&lt;STRONG&gt;&lt;FONT color="#99CC00"&gt;Pls your suggestion&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Because My graphics application is developed on wayland window.&lt;/P&gt;&lt;P&gt;As , &lt;STRONG&gt;&lt;FONT color="#008000"&gt;"Zero copy is intended for this video display pipe line. it is matter of configuring the ISI , capture , display controller: -imx8&amp;nbsp; and finally connect and displaying them like digitally coupled streaming pipeline."&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;If i am using gstreamer frame work for this display application , really it is killing the i.mx8qm&amp;nbsp; hardware architecture. Processor is copying pixel by pixel and displaying on screen...i.mx8qm is platform (linux,widows,vxworks etc ) &lt;STRONG&gt;&lt;FONT color="#FF6600"&gt;independent SOC&lt;/FONT&gt;&lt;/STRONG&gt;. gstreamer is relally killing the i.mx8qm evaluation and on this direction. Making people to work on imaginary PADS,SINK,ELEMENT &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Finally , Will it possible to do with raw driver on top of wayland? so that graphics and video can be overlayed/mixed?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Pls suggest.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;Regards&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Ramesh&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 09:44:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274405#M173806</guid>
      <dc:creator>RameshChandrakasan</dc:creator>
      <dc:date>2021-05-10T09:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274410#M173808</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;This is a very common issue we face with wayland. Yes there a way but I haven't tried it on NXP. You have to make some changes in the kernel so that there is no conflicting commit to the display.&amp;nbsp;&lt;/P&gt;&lt;P&gt;May be NXP should help you here.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Prasad.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 09:52:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274410#M173808</guid>
      <dc:creator>prasad_imx8</dc:creator>
      <dc:date>2021-05-10T09:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274767#M173840</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;Dear Prasad,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am trying to compile the mx6s_v4l2_cap_drm.c&lt;/P&gt;&lt;P&gt;/opt/fsl-imx-xwayland/4.14-sumo/sysroots/aarch64-poky-linux/usr/include&lt;FONT color="#FF0000"&gt;/xf86drm.h:40:10: fatal error: drm.h: No such file or directory&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;#include &amp;lt;drm.h&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;^~~~~~~&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;compilation terminated.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Makefile:34: recipe for target 'mx6s_v4l2_cap_drm.o' failed&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;make: *** [mx6s_v4l2_cap_drm.o] Error 1&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;Error log&lt;/FONT&gt; &lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_drm.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/144420iEF5936AE6FF2BA79/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_drm.png" alt="Screenshot_drm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I have searched the file in target root file system.&amp;nbsp; &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Not found&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Have you faced similar issues?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;Regards&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Ramesh&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 04:25:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274767#M173840</guid>
      <dc:creator>RameshChandrakasan</dc:creator>
      <dc:date>2021-05-11T04:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274960#M173873</link>
      <description>&lt;P&gt;Locally include it from the linux kernel (copy paste the header file)&amp;nbsp;&lt;/P&gt;&lt;P&gt;And why are you compiling IMX6 (you are using IMX8 right?)&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 10:18:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1274960#M173873</guid>
      <dc:creator>prasad_imx8</dc:creator>
      <dc:date>2021-05-11T10:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1291610#M175438</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;Dear Freescale -V4L2 Driver Experts&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;With Respect to the below&amp;nbsp; "kernel message"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#800080"&gt;Which&amp;nbsp; I.MX8 digital IP is represented by&amp;nbsp;[mxc_isi.0]&amp;nbsp; &amp;amp; [mxc_isi.0.capture]?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;(i.e) [ 5.548794] mx8-img-md: created link [mxc-mipi-csi2.0] =&amp;gt; [mxc_isi.0]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;mxc_isi.0 is receiving data from&amp;nbsp;mxc-mipi-csi2.0 -- Understood , ISI is Receiving Video Data from MIPI CSI2 to Input port of ISI .&lt;/P&gt;&lt;P&gt;So,&amp;nbsp;&lt;FONT color="#800080"&gt;&lt;STRONG&gt;[mxc_isi.0] -----&amp;gt;Represent&amp;nbsp;ISI Input Port&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Similarly&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;[ 5.535194] mx8-img-md: created link [mxc_isi.0] =&amp;gt; [mxc_isi.0.capture]&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;mxc_isi.0&amp;nbsp; supplying to&amp;nbsp;mxc_isi.0.capture&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;Query : What is&amp;nbsp;mxc_isi.0.capture? , Output of ISI , or what it represents?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------Kernel Log Message -----------------------------------------&lt;/P&gt;&lt;P&gt;[ 5.477763] mx8-img-md: Registered mxc_isi.0.capture as /dev/video0&lt;BR /&gt;[ 5.503068] mx8-img-md: Registered mxc_isi.4.capture as /dev/video1&lt;/P&gt;&lt;P&gt;[ 5.535194] mx8-img-md: created link [mxc_isi.0] =&amp;gt; [mxc_isi.0.capture]&lt;/P&gt;&lt;P&gt;[ 5.548794] mx8-img-md: created link [mxc-mipi-csi2.0] =&amp;gt; [mxc_isi.0]&lt;/P&gt;&lt;P&gt;[ 5.562380] mx8-img-md: created link [mxc_isi.4] =&amp;gt; [mxc_isi.4.capture]&lt;/P&gt;&lt;P&gt;[ 5.575986] mx8-img-md: created link [mxc-mipi-csi2.1] =&amp;gt; [mxc_isi.4]&lt;/P&gt;&lt;P&gt;[ 5.590799] mx8-img-md: created link [ov5640_mipi_v3 7-003c] =&amp;gt; [mxc-mipi-csi2.0]&lt;/P&gt;&lt;P&gt;------------------------------------------Kernel Log Message Ends ------------------------------------&lt;/P&gt;&lt;P&gt;Pls Suggest&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 05:55:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1291610#M175438</guid>
      <dc:creator>RameshChandrakasan</dc:creator>
      <dc:date>2021-06-12T05:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1291618#M175440</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not working for NXP nor an expert. But I know a little bit about this topic, so I will just tell you my opinion. NXP may differ.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The different naming comes from of course the things managed by the modules&amp;nbsp; and how NXP has segregated the configuration in the drivers.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mxc_isi.0: corresponds to driver&amp;nbsp;imx8-isi-core.c, which is the&amp;nbsp;driver for the ISI module. Handles clock, interrupt and stuff.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mxc_isi.0.capture:&amp;nbsp;corresponds to driver&amp;nbsp; imx8-isi-cap.c. this handles buffer management and formats.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rest of them you would already know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The data flow can be Visualized&amp;nbsp;as&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[ov5640_mipi_v3 7-003c] =&amp;gt; [mxc-mipi-csi2.0]=&amp;gt; [mxc_isi.0] =&amp;gt; [mxc_isi.0.capture]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For me mxc_isi.0 and&amp;nbsp;mxc_isi.0.capture are single component just divided into to make it less complicated.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Output of &lt;SPAN&gt;mxc_isi.0.capture is the capture video data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 07:20:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1291618#M175440</guid>
      <dc:creator>prasad_imx8</dc:creator>
      <dc:date>2021-06-12T07:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1395172#M185451</link>
      <description>&lt;P&gt;I've got a 8MPLUSPD4-PEVK.&amp;nbsp; I tried to run&lt;/P&gt;&lt;P&gt;root@imx8mpevk:/unit_tests/V4L2# ./mx8_v4l2_cap_drm.out -cam 7 -fmt NV12 -of&lt;BR /&gt;(init_video_channel:513): init channel[0] save_file_name=0.NV12&lt;BR /&gt;(init_video_channel:517): init channel[0] v4l2_dev_name=/dev/video0 w/h=(1280,800)&lt;BR /&gt;(init_video_channel:513): init channel[1] save_file_name=1.NV12&lt;BR /&gt;(init_video_channel:517): init channel[1] v4l2_dev_name=/dev/video1 w/h=(1280,800)&lt;BR /&gt;(init_video_channel:513): init channel[2] save_file_name=2.NV12&lt;BR /&gt;(init_video_channel:517): init channel[2] v4l2_dev_name=/dev/video2 w/h=(1280,800)&lt;BR /&gt;(open_save_file:594): open 0.NV12 success&lt;BR /&gt;(open_save_file:594): open 1.NV12 success&lt;BR /&gt;(open_save_file:594): open 2.NV12 success&lt;BR /&gt;(main:1835): =*= success =*=&lt;/P&gt;&lt;P&gt;And got 3 zero length files.&lt;/P&gt;&lt;P&gt;Does anyone have any idea?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh, and does anyone know where the source is to mx8_v4l2_cap_drm?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 01:04:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1395172#M185451</guid>
      <dc:creator>marcus-castlepeakinc</dc:creator>
      <dc:date>2022-01-06T01:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1395174#M185452</link>
      <description>&lt;P&gt;I tried this on a 8MPLUSLPD4-PEVK and got:&lt;/P&gt;&lt;P&gt;21504.204670] enter isp_mi_stop&lt;BR /&gt;Setting pipeline to PAUSED ...&lt;/P&gt;&lt;P&gt;====== V4L2ENC: 1.18.5 build on Nov 9 2021 07:44:26. ======&lt;BR /&gt;Pipeline is live and does not need PREROLL ...&lt;BR /&gt;Pipeline is PREROLLED ...&lt;BR /&gt;Setting pipeline to PLAYING ...&lt;BR /&gt;New clock: GstSystemClock&lt;BR /&gt;Redistribute latency...&lt;BR /&gt;[21504.558748] enter isp_mi_stop&lt;BR /&gt;[21505.215150] enter isp_s_comp&lt;BR /&gt;[21505.218062] enter isp_s_comp&lt;BR /&gt;[21505.220980] enter isp_s_comp&lt;BR /&gt;[21505.236736] enter wdr3_hw_init&lt;BR /&gt;[21505.239799] wdr3 res: 3840 2160&lt;BR /&gt;[21505.243742] enter isp_mi_start&lt;BR /&gt;ERROR: from element /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0: Failed to process frame.&lt;BR /&gt;Additional debug info:&lt;BR /&gt;../git/sys/v4l2/gstv4l2videoenc.c(833): gst_v4l2_video_enc_handle_frame (): /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0:&lt;BR /&gt;Maybe be due to not enough memory or failing driver&lt;BR /&gt;Execution ended after 0:00:01.122470649&lt;BR /&gt;Setting pipeline to NULL ...&lt;BR /&gt;[21505.463975] enter isp_mi_stop&lt;BR /&gt;[21505.613430] enter isp_mi_stop&lt;BR /&gt;Freeing pipeline ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any ideas why this doesn't work?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 01:11:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1395174#M185452</guid>
      <dc:creator>marcus-castlepeakinc</dc:creator>
      <dc:date>2022-01-06T01:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: zero copy about v4l2 to drm in imx8qm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1406479#M186432</link>
      <description>&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;I have to run my camera with weston services enable, is there any way to do that, please suggest us.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Mallikarjuna B.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 07:44:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/zero-copy-about-v4l2-to-drm-in-imx8qm/m-p/1406479#M186432</guid>
      <dc:creator>mallibeerala</dc:creator>
      <dc:date>2022-01-28T07:44:53Z</dc:date>
    </item>
  </channel>
</rss>

