<?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のトピックRe: EGL Error creating egl surface, error = 0x300b</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268507#M28399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Einar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you might find this helpful in understanding why hellogl_es2 -platfrom eglfs is not working: &lt;A href="https://community.nxp.com/docs/DOC-94251"&gt;QT5 Demo Errors on EGLFS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need Wayland or X11 environment for that demo. Eglfs supports a single window only.&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;Slavina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2014 22:59:42 GMT</pubDate>
    <dc:creator>slavinakoleva-c</dc:creator>
    <dc:date>2014-01-28T22:59:42Z</dc:date>
    <item>
      <title>EGL Error creating egl surface, error = 0x300b</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268503#M28395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Hi &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;After cross-compiling Qt5 (5.2.0) for armhf with &lt;SPAN style="text-decoration: underline;"&gt;opengl es2&lt;/SPAN&gt; support and with &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;the hardfp &lt;STRONG&gt;Vivante&lt;/STRONG&gt; binaries from: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://repository.timesys.com/buildsources/g/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q-3.0.35-4.0.0/" style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #6a737b; background-color: #f6f6f6;"&gt;&lt;/A&gt;&lt;A href="http://repository.timesys.com/buildsources/g/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q-3.0.35-4.0.0/" target="test_blank"&gt;http://repository.timesys.com/buildsources/g/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q-3.0.35-4.0.0/&lt;/A&gt; , I can run the provided examples with &lt;EM&gt;-platform linxufb&lt;/EM&gt; on my &lt;STRONG&gt;imx6q&lt;/STRONG&gt; board. &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;The problem is however with the &lt;EM&gt;-platform eglfs&lt;/EM&gt;. &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;My Qt5 application is not able to run because it complains about: &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;EGL Error : Could not create the egl surface: error = 0x300b&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;The application is executed like: &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;hellogl_es2 -platform eglfs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;I've seen various threads and forums about this issue but non have had any solution for me at least. Mostly comments about this issue being fixed in 5.2.0. &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Anyone had any luck with using eglfs on the imx6q ? my board is SabreLite. &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;regards&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Einar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 09:20:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268503#M28395</guid>
      <dc:creator>EinarMar</dc:creator>
      <dc:date>2013-12-18T09:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: EGL Error creating egl surface, error = 0x300b</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268504#M28396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried the Vivante SDK demos with success so the acceleration part is working fine. So this means it is breaking somewhere in Qt5 ? &lt;/P&gt;&lt;P&gt;Does anybody have input here ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Einar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Dec 2013 16:21:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268504#M28396</guid>
      <dc:creator>EinarMar</dc:creator>
      <dc:date>2013-12-28T16:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: EGL Error creating egl surface, error = 0x300b</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268505#M28397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: 5px; margin-bottom: 10px; padding-bottom: 10px; font-family: 'Open Sans', sans-serif; color: #363534;"&gt;I looked at the code and saw that the imlementation of &lt;EM&gt;createNativeWindow&lt;/EM&gt; in qtbase/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp doesn’t exists, i.e. always returns zero. &lt;BR /&gt;Looking at qtbase/src/plugins/platforms/eglfs/qeglfshooks_x11.cpp the method is implemented.&lt;/P&gt;&lt;P style="margin-top: 5px; margin-bottom: 10px; padding-bottom: 10px; font-family: 'Open Sans', sans-serif; color: #363534;"&gt;Does this mean I need the X11, after all, when attempting to run only with eglfs ? I was under the impression that it wasn’t necessary.&lt;/P&gt;&lt;P style="margin-top: 5px; margin-bottom: 10px; padding-bottom: 10px; font-family: 'Open Sans', sans-serif; color: #363534;"&gt;regards&lt;BR /&gt;Einar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 07:06:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268505#M28397</guid>
      <dc:creator>EinarMar</dc:creator>
      <dc:date>2013-12-31T07:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: EGL Error creating egl surface, error = 0x300b</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268506#M28398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I asked around on the qt-project forum and got response there about adding the -device &lt;SPAN style="color: #363534; font-family: 'Open Sans', sans-serif;"&gt;linux-imx6-g++&lt;/SPAN&gt; to configure. &lt;/P&gt;&lt;P&gt;I recompiled my Qt5 and tested some opengl test programs with success. It now uses the accelerator without any problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This added option will implement the eglfs with some X11 hooks to create the native screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my configure line is now:&lt;/P&gt;&lt;P&gt;./configure -top-level -arch armhf -xplatform linux-arm-sl-gnueabi-g++ -opensource -eglfs -no-openvg -no-opengl -opengl es2 -no-xcb -no-pch -device linux-imx6-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- -no-sse -no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -hostprefix /opt/pluto-targets/armhf-rootfs//usr -confirm-license -make tools -make examples -no-dbus -no-openssl -no-xvideo -no-cups -no-dbus -no-glib -qt-zlib -no-nis -no-cups -no-openssl -qt-libpng -qt-libjpeg -no-audio-backend -no-separate-debug-info -no-rpath -prefix /usr -bindir /usr/bin -libdir /usr/lib -docdir /usr/share/qt5-pluto/doc -headerdir /usr/include/qt5-pluto -datadir /usr/share/qt5-pluto -plugindir /usr/lib/qt5-pluto/plugins -translationdir /usr/share/qt5-pluto/translations -sysconfdir /etc/xdg -examplesdir /usr/lib/qt5-pluto/examples --fully-process -v&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can now verify that the windowless application (eglfs) using acceleration in Qt5 works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Einar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 07:58:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268506#M28398</guid>
      <dc:creator>EinarMar</dc:creator>
      <dc:date>2014-01-03T07:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: EGL Error creating egl surface, error = 0x300b</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268507#M28399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Einar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you might find this helpful in understanding why hellogl_es2 -platfrom eglfs is not working: &lt;A href="https://community.nxp.com/docs/DOC-94251"&gt;QT5 Demo Errors on EGLFS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need Wayland or X11 environment for that demo. Eglfs supports a single window only.&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;Slavina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 22:59:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268507#M28399</guid>
      <dc:creator>slavinakoleva-c</dc:creator>
      <dc:date>2014-01-28T22:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: EGL Error creating egl surface, error = 0x300b</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268508#M28400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that Slavina but as I have mentioned in my previous post then I have managed to run the &lt;EM&gt;hellogl_es2 -platform eglfs&lt;/EM&gt; just fine. &lt;/P&gt;&lt;P&gt;It seems to be using the galcore kernel core for working on the gpu and the application itself is at 1% cpu load. &lt;/P&gt;&lt;P&gt;I therefore can verify that the acceleration and Qt5 (eglfs) are working just fine :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Einar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 07:17:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/EGL-Error-creating-egl-surface-error-0x300b/m-p/268508#M28400</guid>
      <dc:creator>EinarMar</dc:creator>
      <dc:date>2014-02-18T07:17:16Z</dc:date>
    </item>
  </channel>
</rss>

