<?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: [imx6][android_4.3]processFrame renderBuffer failed during camera preview in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-android-4-3-processFrame-renderBuffer-failed-during-camera/m-p/310831#M40570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing similar issue now.. Any idea why this is happening?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2016 12:29:26 GMT</pubDate>
    <dc:creator>subashkumar</dc:creator>
    <dc:date>2016-09-15T12:29:26Z</dc:date>
    <item>
      <title>[imx6][android_4.3]processFrame renderBuffer failed during camera preview</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-android-4-3-processFrame-renderBuffer-failed-during-camera/m-p/310829#M40568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[Issue description]&lt;/P&gt;&lt;P&gt;Camera preview always stuck , PreviewStream stop running caused by queueBuffer fail.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Scenario]&lt;/P&gt;&lt;P&gt;We are trying to implement a v4l2-loopback camera device.&lt;/P&gt;&lt;P&gt;For doing this, we also modified driver to request buffer by using MMAP instead of USERPRT.&lt;/P&gt;&lt;P&gt;Device works but it will crash after few seconds preview.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help to solve this issue.&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[adb log]&lt;/P&gt;&lt;P&gt;========================================================================================&lt;/P&gt;&lt;P&gt;I/FslCameraHAL( 2803): DeviceAdapter(J)::deviceThread&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 3546): [unnamed-3546-1] queueBuffer: slot=0 time=0x45c8467613 crop=[0,0,0,0] tr=0 scale=SCALE_TO_WINDOW&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 3546): [unnamed-3546-1] dequeueBuffer: w=320 h=240 fmt=0x103 usage=0x8000302&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 3546): [unnamed-3546-1] dequeueBuffer: returning slot=1 buf=0x40015798 flags=0&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I/FslCameraHAL( 2803): OvDevice(J): fillCameraFrame mQueued=2&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 2328): [NavigationBar] dequeueBuffer: returning slot=2 buf=0x400fbcb0 flags=0&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 2328): [FramebufferSurface] dequeueBuffer: w=0 h=0 fmt=0x1 usage=0x300&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 2328): [FramebufferSurface] dequeueBuffer: returning slot=0 buf=0x40a3c0a8 flags=0&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 2328): [FramebufferSurface] queueBuffer: slot=0 time=0x45cc8d51ed crop=[0,0,0,0] tr=0 scale=FREEZE&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 2328): [SurfaceView] dequeueBuffer: returning slot=1 buf=0x4075a970 flags=0&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 2328): [NavigationBar] queueBuffer: slot=1 time=0x45c78cbb32 crop=[0,0,0,0] tr=0 scale=FREEZE&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 2328): [SurfaceView] queueBuffer: slot=0 time=0x45cc933322 crop=[0,0,0,0] tr=0 scale=FREEZE&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 2328): [StatusBar] queueBuffer: slot=0 time=0x45c6ea1914 crop=[0,0,0,0] tr=0 scale=FREEZE&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I/FslCameraHAL( 2803): OvDevice(J): acquireCameraFrame mQueued=3&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 2328): [SurfaceView] dequeueBuffer: w=0 h=0 fmt=0x2 usage=0x300&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I/FslCameraHAL( 2803): DeviceAdapter(J)::deviceThread&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;V/BufferQueue( 3546): [unnamed-3546-1] queueBuffer: slot=0 time=0x45cd0bd740 crop=[0,0,0,0] tr=0 scale=SCALE_TO_WINDOW&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E/BufferQueue( 3546): [unnamed-3546-1] queueBuffer: slot 0 is not owned by the client (state=3)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E/Surface ( 2803): queueBuffer: error queuing buffer to SurfaceTexture, -22&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E/Camera2-Device( 2803): enqueue_buffer: Error queueing buffer to native window: Invalid argument (-22)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;E/FslCameraHAL( 2803): Surface::queueBuffer returned error -22&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;E/FslCameraHAL( 2803): processFrame renderBuffer failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;V/BufferQueue( 3546): [unnamed-3546-1] cancelBuffer: slot=0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;E/BufferQueue( 3546): [unnamed-3546-1] cancelBuffer: slot 0 is not owned by the client (state=3)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;E/FslCameraHAL( 2803): handleError handle error:-22&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;E/Camera2ClientBase( 2803): Error condition -22 reported by HAL, arguments 0, 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;I/FslCameraHAL( 2803): stream thread dead because of error...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336426"&gt;camera_log_000111.log.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 10:06:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-android-4-3-processFrame-renderBuffer-failed-during-camera/m-p/310829#M40568</guid>
      <dc:creator>jimmysu</dc:creator>
      <dc:date>2014-05-06T10:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: [imx6][android_4.3]processFrame renderBuffer failed during camera preview</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-android-4-3-processFrame-renderBuffer-failed-during-camera/m-p/310830#M40569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H6 style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" class="font-color-meta-light" data-content-finding="Community" href="https://community.nxp.com/message/405234#405234" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #a9a9a9;"&gt;Re: [imx6][android_4.3]processFrame renderBuffer failed during camera preview&lt;/A&gt;&lt;/STRONG&gt;&lt;/H6&gt;&lt;P class="j-post-avatar" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;A _jive_internal="true" class="j-avatar jiveTT-hover-user" data-avatarid="1034" data-content-finding="Community" data-externalid="" data-presence="null" data-userid="203531" data-username="MaxTsai" href="https://community.nxp.com/people/MaxTsai" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #6a737b;"&gt;&lt;IMG alt="MaxTsai" border="0" class="jiveImage jive-avatar" data-avatarid="1034" data-height="46" data-username="MaxTsai" height="46" src="https://community.nxp.com/people/MaxTsai/avatar/46.png?a=1034" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="46" /&gt;&lt;/A&gt;&lt;SPAN class="j-status-levels" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;IMG alt="Employee" class="jiveImage" src="https://community.nxp.com/6.0.2.0/resources/images/status/FS_EMP_40x18.png" style="font-weight: inherit; font-style: inherit; font-family: inherit;" title="Employee" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author" style="font-weight: inherit; font-style: inherit; font-size: 0.9em; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A href="https://community.nxp.com/people/MaxTsai"&gt;MaxTsai&lt;/A&gt; &lt;/STRONG&gt;May 22, 2014 1:47 AM &lt;SPAN class="font-color-meta-light j-thread-replyto" style="padding: 0 0 0 3px; font-weight: inherit; font-style: inherit; font-family: inherit; color: #a9a9a9;"&gt;(&lt;A _jive_internal="true" class="font-color-meta-light localScroll" data-content-finding="Community" href="https://community.nxp.com/thread/323786#402917" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #a9a9a9;" title="Go to message"&gt;in response to SerchMX&lt;/A&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="j-ui-elem j-dotted-star" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: no-repeat no-repeat;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;hi Can I have your modification for libcamera? Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Regards,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 May 2014 22:07:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-android-4-3-processFrame-renderBuffer-failed-during-camera/m-p/310830#M40569</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-05-23T22:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: [imx6][android_4.3]processFrame renderBuffer failed during camera preview</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-android-4-3-processFrame-renderBuffer-failed-during-camera/m-p/310831#M40570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am facing similar issue now.. Any idea why this is happening?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 12:29:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-android-4-3-processFrame-renderBuffer-failed-during-camera/m-p/310831#M40570</guid>
      <dc:creator>subashkumar</dc:creator>
      <dc:date>2016-09-15T12:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: [imx6][android_4.3]processFrame renderBuffer failed during camera preview</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-android-4-3-processFrame-renderBuffer-failed-during-camera/m-p/310832#M40571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you resolved this issue ? How did you resolve it?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 04:38:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-android-4-3-processFrame-renderBuffer-failed-during-camera/m-p/310832#M40571</guid>
      <dc:creator>feifeihu</dc:creator>
      <dc:date>2017-10-16T04:38:04Z</dc:date>
    </item>
  </channel>
</rss>

