<?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中的主题 8MMINILPD4-EVK imxvideoconvert_g2d broken frames</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863255#M131645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I attached a USB camera on my 8MMINILPD4-EVK running Linux image L4.14.78_1.0.0_ga_images_MX8MMEVK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following gstreamer pipeline works fine:&lt;/P&gt;&lt;P&gt;gst-launch-1.0 v4l2src device=/dev/video1 ! "video/x-raw,format=UYVY,width=640,height=480" ! videoconvert ! autovideosink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I replace videoconvert by the accelerated imxvideoconvert_g2d, I get broken frames which look like uninitialized memory intermixed with old image fragments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something? What is the roadmap of video acceleration (2D, 3D GPU) support in Linux?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2019 06:34:23 GMT</pubDate>
    <dc:creator>frankba</dc:creator>
    <dc:date>2019-03-04T06:34:23Z</dc:date>
    <item>
      <title>8MMINILPD4-EVK imxvideoconvert_g2d broken frames</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863255#M131645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I attached a USB camera on my 8MMINILPD4-EVK running Linux image L4.14.78_1.0.0_ga_images_MX8MMEVK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following gstreamer pipeline works fine:&lt;/P&gt;&lt;P&gt;gst-launch-1.0 v4l2src device=/dev/video1 ! "video/x-raw,format=UYVY,width=640,height=480" ! videoconvert ! autovideosink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I replace videoconvert by the accelerated imxvideoconvert_g2d, I get broken frames which look like uninitialized memory intermixed with old image fragments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something? What is the roadmap of video acceleration (2D, 3D GPU) support in Linux?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2019 06:34:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863255#M131645</guid>
      <dc:creator>frankba</dc:creator>
      <dc:date>2019-03-04T06:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: MCIMX8M-EVK imxvideoconvert_g2d broken frames</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863256#M131646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;The IMX8M doesn't have a 2D GPU, but the IMX8M Mini does. &lt;/P&gt;&lt;P&gt;It looks like you are running an image for imx8M Mini on a imx8M board:&amp;nbsp;&lt;/P&gt;&lt;P&gt;SW: L4.14.78_1.0.0_ga_images_MX8&lt;STRONG&gt;MM&lt;/STRONG&gt;EVK is for 8M Mini&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the image for IMX8M, the gst-plugin "imxvideoconvert_g2d" doesn't exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose that autovideosink is selecting waylandsink. &lt;/P&gt;&lt;P&gt;gst-inspect-1.0 reports that waylandsink is accepting UYVY in input format.&lt;/P&gt;&lt;P&gt;Does the pipeline works without the videoconvert?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The display controller of IMX8M has more capabilities that imx8M Mini.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Julien,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2019 16:55:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863256#M131646</guid>
      <dc:creator>julien_jayat</dc:creator>
      <dc:date>2019-03-04T16:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: MCIMX8M-EVK imxvideoconvert_g2d broken frames</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863257#M131647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry, my fault, it's indeed a i.MX 8M Mini EVK (8MMINILPD4-EVK). I'm working with Mini only at this time and mixed it up.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;gst-launch-1.0 v4l2src device=/dev/video1 ! "video/x-raw,format=UYVY,width=640,height=480" ! waylandsink&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;does not work. With export GST_DEBUG=waylandsink:5 I get&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;0:00:00.127933874 4027 0x209d58a0 DEBUG waylandsink gstwaylandsink.c:569:gst_wayland_sink_get_caps:&amp;lt;waylandsink0&amp;gt; display caps: video/x-raw, format=(string){ BGRA, BGRx, RGB16, I420, NV12, YUY2 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw(memory:DMABuf), format=(string){ BGRA, BGRx, RGB16, YUY2, NV12, I420 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]&lt;BR /&gt;ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;gst-launch-1.0 -v v4l2src device=/dev/video1 ! "video/x-raw,format=UYVY,width=640,height=480" ! videoconvert ! waylandsink&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;works as expected&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;gst-launch-1.0 -v v4l2src device=/dev/video1 ! "video/x-raw,format=UYVY,width=640,height=480" ! imxvideoconvert_g2d ! waylandsink&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;shows those artefacts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2019 07:35:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863257#M131647</guid>
      <dc:creator>frankba</dc:creator>
      <dc:date>2019-03-05T07:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: 8MMINILPD4-EVK imxvideoconvert_g2d broken frames</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863258#M131648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2019 15:25:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863258#M131648</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2019-03-06T15:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: 8MMINILPD4-EVK imxvideoconvert_g2d broken frames</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863259#M131649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I can't reproduce the problem with videotestsink and CSI camera (/dev/video0)&lt;/P&gt;&lt;P&gt;I can't see noticeable difference when using both command.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;gst-launch-1.0 videotestsrc pattern=19&amp;nbsp; ! "video/x-raw, format=UYVY,width=640,height=480" ! imxvideoconvert_g2d ! autovideosink &lt;BR /&gt;gst-launch-1.0 videotestsrc pattern=19&amp;nbsp; ! "video/x-raw, format=UYVY,width=640,height=480" ! videoconvert | autovideosink&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when using a an USB Camera (/dev/video1) I can reproduce the problem&lt;/P&gt;&lt;P&gt;with imxvideoconvert_g2d&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64335iF03C78897A6A247F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.bmp" alt="pastedImage_1.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;videoconvert:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/64371i621DAA9326009720/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.bmp" alt="pastedImage_6.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is that what you are seeing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems related to usb camera handling. I might have to create a ticket to R&amp;amp;D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 09:33:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863259#M131649</guid>
      <dc:creator>julien_jayat</dc:creator>
      <dc:date>2019-03-07T09:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: 8MMINILPD4-EVK imxvideoconvert_g2d broken frames</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863260#M131650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Julien, thats exact what I'm observing here. Thx Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 15:39:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/8MMINILPD4-EVK-imxvideoconvert-g2d-broken-frames/m-p/863260#M131650</guid>
      <dc:creator>frankba</dc:creator>
      <dc:date>2019-03-07T15:39:59Z</dc:date>
    </item>
  </channel>
</rss>

