This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

EGL Error : Could not create the egl surface: error = 0x300b

Note: This was originally posted on 18th March 2013 at http://forums.arm.com

Hi,

I have a Cubieboard embedded system:

http://cubieboard.org/

      1G ARM cortex-A8 processor, NEON, VFPv3, 256KB L2 cache  Mali400, OpenGL ES GPU  512M/1GB DDR3 @480MHz  HDMI 1080p Output  10/100M Ethernet  4Gb Nand Flash  2 USB Host, 1 micro SD slot, 1 SATA, 1 ir  96 extend pin including I2C, SPI, RGB/LVDS, CSI/TS, FM-IN, ADC, CVBS, VGA, SPDIF-OUT, R-TP..  Running Android, Ubuntu and other Linux distributions


The cubieboard is based on the AllWinner A10 SoC and this is what is available as documentation:

http://linux-sunxi.org/A10
http://linux-sunxi.org/Mali400

It uses Mali-400 MP for graphics - and I'm trying to use the Qt5 graphics framework with it.

Following the second link and installing the mali-libs from sunxi I'm able to display the coloured triangle and obtain the es_info2 output as stated.

When attempting to run a Qt5 App using the EGLFS platform, I'm getting:

EGL Error : Could not create the egl surface: error = 0x300b

So far I've managed to translate this error 0x300b to EGL_BAD_NATIVE_WINDOW but haven't got a clue about what it means and to solve it.


If anyone has any idea of why the error is showing, and how to fix it - please let me know.

Thanks in advance!
Parents
  • Hi Wickwire,

    Have you been able to resolve the issue?. If not, can you please check if you are using the correct binary driver for the board?.

    Mali supports 3 windowing systems on Linux: Android, Linux fbdev and Linux X11. The correct version of libMali.so needs to be used in each case. For example, if you try to use libMali.so that was built for fbdev on X11, you will get eglInitialize() or similar errors.

    These pages may help you get it working: http://linux-sunxi.org/Mali400 and (deleted).

    Please let me know if you still have problems.

    Tu

Reply
  • Hi Wickwire,

    Have you been able to resolve the issue?. If not, can you please check if you are using the correct binary driver for the board?.

    Mali supports 3 windowing systems on Linux: Android, Linux fbdev and Linux X11. The correct version of libMali.so needs to be used in each case. For example, if you try to use libMali.so that was built for fbdev on X11, you will get eglInitialize() or similar errors.

    These pages may help you get it working: http://linux-sunxi.org/Mali400 and (deleted).

    Please let me know if you still have problems.

    Tu

Children
No data