<?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のトピックUsing EGL and DirectFB in IMX6Q</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Using-EGL-and-DirectFB-in-IMX6Q/m-p/471861#M74727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;I realized that if I use DirectFB I can access to GC320, my plan is using DirectFB and EGL at the same time because other standard API such as OpenGL and OpenVG use the EGL to get their drawing surfaces so I wrote a code for this and I attached it(DFB.cpp).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;When I use DirectFB alone I don’t have serious problem you can set :&lt;/P&gt;&lt;P&gt;#undef DFB_ONLY&lt;/P&gt;&lt;P&gt;To&lt;/P&gt;&lt;P&gt;#define DFB_ONLY&lt;/P&gt;&lt;P&gt;in my code to use just DirectFb.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I used EGL and DirectFB (#undef DFB_ONLY) and also I set the fb by:&lt;/P&gt;&lt;P&gt;fbset -fb /dev/fb0 -g 800 600 2048 2048 32&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;On eglSwapBuffers I ran into [SIG 11]!!!&lt;/EM&gt;&lt;/STRONG&gt; the output of my app is:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;!--START--!&lt;/P&gt;&lt;P&gt;commandline read: dfb&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (c) 2001-2009&amp;nbsp; The world wide DirectFB Open Source Community&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (c) 2000-2004&amp;nbsp; Convergence (integrated media) GmbH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----------------------------------------------------------------&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(*) DirectFB/Core: Single Application Core. (2016-05-28 04:39) &lt;/P&gt;&lt;P&gt;(*) Direct/Memcpy: Using libc memcpy()&lt;/P&gt;&lt;P&gt;(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] &amp;lt;8388608&amp;gt;...&lt;/P&gt;&lt;P&gt;(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0] &amp;lt;8388608&amp;gt;...&lt;/P&gt;&lt;P&gt;(*) DirectFB/FBDev: Found 'DISP4 BG' (ID 0) with frame buffer at 0x19000000, 16384k (MMIO 0x00000000, 0k)&lt;/P&gt;&lt;P&gt;(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] &amp;lt;8388608&amp;gt;...&lt;/P&gt;&lt;P&gt;(*) DirectFB/Input: Keyboard 0.9 (directfb.org)&lt;/P&gt;&lt;P&gt;(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] &amp;lt;8388608&amp;gt;...&lt;/P&gt;&lt;P&gt;(*) DirectFB/Input: gpio-keys 0.1 (directfb.org)&lt;/P&gt;&lt;P&gt;(*) Using the default feature settings.&lt;/P&gt;&lt;P&gt;(*) DirectFB/Graphics: Vivante unknown chip model 1.0 (Vivante)&lt;/P&gt;&lt;P&gt;(*) DirectFB/Core/WM: Default 0.3 (directfb.org)&lt;/P&gt;&lt;P&gt;(*) FBDev/Mode: Setting 800x600 RGB32&lt;/P&gt;&lt;P&gt;(*) FBDev/Mode: Switched to 800x600 (virtual 800x1200) at 32 bit (RGB32), pitch 3200&lt;/P&gt;&lt;P&gt;(*) FBDev/Surface: Allocated 800x600 32 bit RGB32 buffer (index 0) at offset 0 and pitch 3200.&lt;/P&gt;&lt;P&gt;(*) FBDev/Surface: Allocated 800x600 32 bit RGB32 buffer (index 1) at offset 1920000 and pitch 3200.&lt;/P&gt;&lt;P&gt;id=14, a,b,g,r=8,8,8,8, d,s=16,0, AA=0,openvgbit=23, surfacebit=1415&lt;/P&gt;&lt;P&gt;&lt;SPAN aria-label="Alert" class="emoticon_alert emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt; [ 2782:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.000] --&amp;gt; Caught signal 11 (at 0x24598, invalid permissions) &amp;lt;--&lt;/P&gt;&lt;P&gt; (!!!)&amp;nbsp; *** WARNING [still objects in 'Window Pool'] *** [object.c:241 in fusion_object_pool_destroy()]&lt;/P&gt;&lt;P&gt; (!!!)&amp;nbsp; *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()]&lt;/P&gt;&lt;P&gt; (!!!)&amp;nbsp; *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()]&lt;/P&gt;&lt;P&gt; (!!!)&amp;nbsp; *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()]&lt;/P&gt;&lt;P&gt;Aborted&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ali&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-336363"&gt;DFB.cpp.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jun 2016 07:34:45 GMT</pubDate>
    <dc:creator>ali_sarlak</dc:creator>
    <dc:date>2016-06-02T07:34:45Z</dc:date>
    <item>
      <title>Using EGL and DirectFB in IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-EGL-and-DirectFB-in-IMX6Q/m-p/471861#M74727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;I realized that if I use DirectFB I can access to GC320, my plan is using DirectFB and EGL at the same time because other standard API such as OpenGL and OpenVG use the EGL to get their drawing surfaces so I wrote a code for this and I attached it(DFB.cpp).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;When I use DirectFB alone I don’t have serious problem you can set :&lt;/P&gt;&lt;P&gt;#undef DFB_ONLY&lt;/P&gt;&lt;P&gt;To&lt;/P&gt;&lt;P&gt;#define DFB_ONLY&lt;/P&gt;&lt;P&gt;in my code to use just DirectFb.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I used EGL and DirectFB (#undef DFB_ONLY) and also I set the fb by:&lt;/P&gt;&lt;P&gt;fbset -fb /dev/fb0 -g 800 600 2048 2048 32&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;On eglSwapBuffers I ran into [SIG 11]!!!&lt;/EM&gt;&lt;/STRONG&gt; the output of my app is:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;!--START--!&lt;/P&gt;&lt;P&gt;commandline read: dfb&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (c) 2001-2009&amp;nbsp; The world wide DirectFB Open Source Community&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (c) 2000-2004&amp;nbsp; Convergence (integrated media) GmbH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----------------------------------------------------------------&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(*) DirectFB/Core: Single Application Core. (2016-05-28 04:39) &lt;/P&gt;&lt;P&gt;(*) Direct/Memcpy: Using libc memcpy()&lt;/P&gt;&lt;P&gt;(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER 0/0] &amp;lt;8388608&amp;gt;...&lt;/P&gt;&lt;P&gt;(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0] &amp;lt;8388608&amp;gt;...&lt;/P&gt;&lt;P&gt;(*) DirectFB/FBDev: Found 'DISP4 BG' (ID 0) with frame buffer at 0x19000000, 16384k (MMIO 0x00000000, 0k)&lt;/P&gt;&lt;P&gt;(*) Direct/Thread: Started 'Keyboard Input' (-1) [INPUT OTHER/OTHER 0/0] &amp;lt;8388608&amp;gt;...&lt;/P&gt;&lt;P&gt;(*) DirectFB/Input: Keyboard 0.9 (directfb.org)&lt;/P&gt;&lt;P&gt;(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] &amp;lt;8388608&amp;gt;...&lt;/P&gt;&lt;P&gt;(*) DirectFB/Input: gpio-keys 0.1 (directfb.org)&lt;/P&gt;&lt;P&gt;(*) Using the default feature settings.&lt;/P&gt;&lt;P&gt;(*) DirectFB/Graphics: Vivante unknown chip model 1.0 (Vivante)&lt;/P&gt;&lt;P&gt;(*) DirectFB/Core/WM: Default 0.3 (directfb.org)&lt;/P&gt;&lt;P&gt;(*) FBDev/Mode: Setting 800x600 RGB32&lt;/P&gt;&lt;P&gt;(*) FBDev/Mode: Switched to 800x600 (virtual 800x1200) at 32 bit (RGB32), pitch 3200&lt;/P&gt;&lt;P&gt;(*) FBDev/Surface: Allocated 800x600 32 bit RGB32 buffer (index 0) at offset 0 and pitch 3200.&lt;/P&gt;&lt;P&gt;(*) FBDev/Surface: Allocated 800x600 32 bit RGB32 buffer (index 1) at offset 1920000 and pitch 3200.&lt;/P&gt;&lt;P&gt;id=14, a,b,g,r=8,8,8,8, d,s=16,0, AA=0,openvgbit=23, surfacebit=1415&lt;/P&gt;&lt;P&gt;&lt;SPAN aria-label="Alert" class="emoticon_alert emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt; [ 2782:&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.000] --&amp;gt; Caught signal 11 (at 0x24598, invalid permissions) &amp;lt;--&lt;/P&gt;&lt;P&gt; (!!!)&amp;nbsp; *** WARNING [still objects in 'Window Pool'] *** [object.c:241 in fusion_object_pool_destroy()]&lt;/P&gt;&lt;P&gt; (!!!)&amp;nbsp; *** WARNING [still objects in 'Layer Region Pool'] *** [object.c:241 in fusion_object_pool_destroy()]&lt;/P&gt;&lt;P&gt; (!!!)&amp;nbsp; *** WARNING [still objects in 'Layer Context Pool'] *** [object.c:241 in fusion_object_pool_destroy()]&lt;/P&gt;&lt;P&gt; (!!!)&amp;nbsp; *** WARNING [still objects in 'Surface Pool'] *** [object.c:241 in fusion_object_pool_destroy()]&lt;/P&gt;&lt;P&gt;Aborted&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's wrong?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ali&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-336363"&gt;DFB.cpp.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2016 07:34:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-EGL-and-DirectFB-in-IMX6Q/m-p/471861#M74727</guid>
      <dc:creator>ali_sarlak</dc:creator>
      <dc:date>2016-06-02T07:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using EGL and DirectFB in IMX6Q</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Using-EGL-and-DirectFB-in-IMX6Q/m-p/471862#M74728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;This is an issue with &lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;libdirectfb_gal, however I do not know if this going to be fixed, Since there is no DirectFB support anymore. I suggest to use Wayland instead.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 16:14:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Using-EGL-and-DirectFB-in-IMX6Q/m-p/471862#M74728</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2016-06-15T16:14:24Z</dc:date>
    </item>
  </channel>
</rss>

