<?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: Issue in Miracast source with nitrogen6_max in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567380#M87381</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great news! Glad to hear it works. As a FYI, if you want to avoid giving the permissions to everyone, I suggest you rebuild the miracast app as a system app sharing the system uid. See a blog post made some time ago on this topic:&lt;/P&gt;&lt;P&gt;&lt;A href="https://boundarydevices.com/android-security-part-1-application-signatures-permissions/" title="https://boundarydevices.com/android-security-part-1-application-signatures-permissions/"&gt;https://boundarydevices.com/android-security-part-1-application-signatures-permissions/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark this thread as resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jun 2016 11:54:25 GMT</pubDate>
    <dc:creator>gary_bisson</dc:creator>
    <dc:date>2016-06-24T11:54:25Z</dc:date>
    <item>
      <title>Issue in Miracast source with nitrogen6_max</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567375#M87376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are facing issue in miracst "source". We are using nitrogen6_max board with wl1837 module over SDIO interface. Android release is boundary-imx-kk4.4.3_2.0.0-ga . We have successfully interfaced WL1837 module. WiFi Direct/P2P functionality is working properly. We are using "WiFi-Display Sink player" android application as miracast "sink" on Samsung galaxy S6. This sink app is working fine with other mobile phones as miracast source.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help us to find the issue.&lt;/P&gt;&lt;P&gt;Please find logs and screenshot of distorted result at sink app. Frames changes at sink while changes at source but with distorted effect.&lt;/P&gt;&lt;P&gt;We are getting following error from /myandroid_kk/external/fsl_imx_omx/stagefright/src/OMXFSLPlugin.cpp:&lt;/P&gt;&lt;P&gt; " Not supported color format 4! "&lt;/P&gt;&lt;P&gt;Our Setup: Nitrogen6_max + 1024x768 display + wl1837mod WiFi&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="154191_154191.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/121861iA1C0450BF7DE7DB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="154191_154191.png" alt="154191_154191.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot_20160623-195738.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/21477iBD232CDD43245DB8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_20160623-195738.png" alt="Screenshot_20160623-195738.png" /&gt;&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-337098"&gt;WFDSourceErrorLog.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 14:50:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567375#M87376</guid>
      <dc:creator>jaiminthakkar</dc:creator>
      <dc:date>2016-06-23T14:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Miracast source with nitrogen6_max</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567376#M87377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good to see that wl18xx provides a better WiFi Direct support than the wl12xx. You therefore further than we could ever be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your issue, can you try modifying the device tree so the framebuffer default_bpp is 32-bit instead of 16-bit?&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/boundarydevices/linux-imx6/blob/boundary-imx-kk4.4.3_2.0.0-ga/arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi#L161" title="https://github.com/boundarydevices/linux-imx6/blob/boundary-imx-kk4.4.3_2.0.0-ga/arch/arm/boot/dts/imx6qdl-nitrogen6_max.dtsi#L161"&gt;linux-imx6/imx6qdl-nitrogen6_max.dtsi at boundary-imx-kk4.4.3_2.0.0-ga · boundarydevices/linux-imx6 · GitHub&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 16:28:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567376#M87377</guid>
      <dc:creator>gary_bisson</dc:creator>
      <dc:date>2016-06-23T16:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Miracast source with nitrogen6_max</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567377#M87378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We tried as you suggested (default_bpp = 32 ) but we got error while using WFD source like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;"I/OMXPlayer: LEVEL: 1 FUNCTION: OMX_S32 PreProcessIPUInit(VpuEncoderIpuHandle*) LINE: 856 "&lt;/LI&gt;&lt;LI&gt;"I/OMXPlayer: Open /dev/mxc_ipu failed."&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I/WifiDisplayController(&amp;nbsp; 489): Opened RTSP connection with Wifi display: [Phone] Sink-000000&lt;/P&gt;&lt;P&gt;I/DisplayManagerService(&amp;nbsp; 489): Display device added: DisplayDeviceInfo{"[Phone] Sink-000000": 1024 x 768, 60.0 fps, density 227, 227.0 x 227.0 dpi, touch EXTERNAL, rotation 0, type WIFI, address c2:bd:d1:f2:33:99, FLAG_PRESENTATION}&lt;/P&gt;&lt;P&gt;E/libEGL&amp;nbsp; (&amp;nbsp; 191): EGLBoolean eglSetSwapRectangleANDROID(EGLDisplay, EGLSurface, EGLint, EGLint, EGLint, EGLint):1590 error 3008 (EGL_BAD_DISPLAY)&lt;/P&gt;&lt;P&gt;I/FslHwcomposer(&amp;nbsp; 191): prepare: targetHandle is null&lt;/P&gt;&lt;P&gt;W/SurfaceFlinger(&amp;nbsp; 191): [[Phone] Sink-000000] Unexpected dequeueBuffer() in GLES state&lt;/P&gt;&lt;P&gt;W/SurfaceFlinger(&amp;nbsp; 191): [[Phone] Sink-000000] Unexpected dequeueBuffer() in GLES state&lt;/P&gt;&lt;P&gt;W/SurfaceFlinger(&amp;nbsp; 191): [[Phone] Sink-000000] Unexpected advanceFrame() in GLES state on GLES/MIXED frame&lt;/P&gt;&lt;P&gt;W/SurfaceFlinger(&amp;nbsp; 191): [[Phone] Sink-000000] Unexpected cancelBuffer(pslot=0) in HWC state&lt;/P&gt;&lt;P&gt;I/OMXPlayer(&amp;nbsp; 194): LEVEL: 1 FUNCTION: OMX_S32 PreProcessIPUInit(VpuEncoderIpuHandle*) LINE: 856&lt;/P&gt;&lt;P&gt;I/OMXPlayer(&amp;nbsp; 194): Open /dev/mxc_ipu failed.&lt;/P&gt;&lt;P&gt;I/OMXPlayer(&amp;nbsp; 194): LEVEL: 1 FUNCTION: virtual FilterBufRetCode VpuEncoder::FilterOneBuffer() LINE: 2283&lt;/P&gt;&lt;P&gt;I/OMXPlayer(&amp;nbsp; 194): init pre-process failure ! &lt;/P&gt;&lt;P&gt;E/ACodec&amp;nbsp; (&amp;nbsp; 194): [OMX.Freescale.std.video_encoder.avc.hw-based] ERROR(0x8000100b)&lt;/P&gt;&lt;P&gt;E/MediaCodec(&amp;nbsp; 194): Codec reported an error. (omx error 0x8000100b, internalError -2147483648)&lt;/P&gt;&lt;P&gt;E/PlaybackSession(&amp;nbsp; 194): converter signaled error -38&lt;/P&gt;&lt;P&gt;I/WifiDisplaySource(&amp;nbsp; 194): playback session wants to quit.&lt;/P&gt;&lt;P&gt;I/WifiDisplayController(&amp;nbsp; 489): Lost RTSP connection with Wifi display due to error 1: [Phone] Sink-000000&lt;/P&gt;&lt;P&gt;I/WifiDisplayController(&amp;nbsp; 489): Wifi display connection failed!&lt;/P&gt;&lt;P&gt;I/WifiDisplayController(&amp;nbsp; 489): Retrying Wifi display connection.&amp;nbsp; Retries left: 2&lt;/P&gt;&lt;P&gt;I/WifiDisplayController(&amp;nbsp; 489): Stopped listening for RTSP connection on 192.168.49.106:7236 from Wifi display: [Phone] Sink-000000&lt;/P&gt;&lt;P&gt;I/WifiDisplaySource(&amp;nbsp; 194): Sending TEARDOWN trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaimin Thakkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 05:22:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567377#M87378</guid>
      <dc:creator>jaiminthakkar</dc:creator>
      <dc:date>2016-06-24T05:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Miracast source with nitrogen6_max</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567378#M87379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is strange, I don't understand why changing the framebuffer depth would impact the /dev/mxc_ipu node access. Are you sure warning isn't there when default_bpp = 16?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, what are the permissions of /dev/mxc_ipu, have you tried changing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 07:27:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567378#M87379</guid>
      <dc:creator>gary_bisson</dc:creator>
      <dc:date>2016-06-24T07:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Miracast source with nitrogen6_max</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567379#M87380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Miracast source works good by your suggestions and changing permission like this in ueventd.freescale.rc.:&lt;/P&gt;&lt;P&gt;/dev/mxc_ipu&amp;nbsp;&amp;nbsp;&amp;nbsp; 0660&amp;nbsp;&amp;nbsp; graphics&amp;nbsp;&amp;nbsp; system&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;/dev/mxc_ipu&amp;nbsp;&amp;nbsp;&amp;nbsp; 0666&amp;nbsp;&amp;nbsp; graphics&amp;nbsp;&amp;nbsp; system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaimin Thakkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 11:35:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567379#M87380</guid>
      <dc:creator>jaiminthakkar</dc:creator>
      <dc:date>2016-06-24T11:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in Miracast source with nitrogen6_max</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567380#M87381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great news! Glad to hear it works. As a FYI, if you want to avoid giving the permissions to everyone, I suggest you rebuild the miracast app as a system app sharing the system uid. See a blog post made some time ago on this topic:&lt;/P&gt;&lt;P&gt;&lt;A href="https://boundarydevices.com/android-security-part-1-application-signatures-permissions/" title="https://boundarydevices.com/android-security-part-1-application-signatures-permissions/"&gt;https://boundarydevices.com/android-security-part-1-application-signatures-permissions/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark this thread as resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 11:54:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-in-Miracast-source-with-nitrogen6-max/m-p/567380#M87381</guid>
      <dc:creator>gary_bisson</dc:creator>
      <dc:date>2016-06-24T11:54:25Z</dc:date>
    </item>
  </channel>
</rss>

