Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt5 on Cubieboard - EGL Error : Could not create the egl surface: error = 0x300b
Forum Updated to NodeBB v4.3 + New Features

Qt5 on Cubieboard - EGL Error : Could not create the egl surface: error = 0x300b

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 11.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wickwire
    wrote on last edited by
    #1

    Hi,

    I'm trying to use Qt5 with Cubieboard:

    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
    

    Using Linaro Ubuntu 12.11, building the mali libs and building Qt5, I got to the point where config.summary reports the following:

    http://pastebin.com/Ca3uD6xE

    I thought I was OK with EGLFS support, but then, trying to run a typical helloworld app, I got:

    http://pastebin.com/NN0NR1PP

    So while debating the issues at the cubieforums as well, I thought maybe someone here could help figuring out what is going on and how to fix it...

    I read many posts here about similar errors, all memory related - where users usually increased GPU memory to 64MB or above, usually Raspberry Pi.

    My Cubieboard has 1GB RAM and dmesg output follows:

    http://pastebin.com/gjUPvREM

    If anyone has any ideas, I can test them and post results as well - I bought this device recently and I believe Qt5 could be quite an advantage on it, at the moment I'm using it to manage an OpenVPN Server, Web Server, File Server... etc.

    Thanks in advance!

    1 Reply Last reply
    0
    • W Offline
      W Offline
      wickwire
      wrote on last edited by
      #2

      Hi,

      I've been reading upon the error message for the EGLFS platform:

      Could not create the egl surface: error = 0x300b

      Turns out that the message translates to EGL_BAD_NATIVE_WINDOW so now I'm trying to figure out what this means and how to fix it...

      Once again if anyone has any ideas - please let me know!

      1 Reply Last reply
      0
      • M Offline
        M Offline
        messi
        wrote on last edited by
        #3

        Hi wickwire

        I'm not quite sure if I can help you but I had similar errors with the eglfs on the beagleboard.

        What I did I set the folowing environment variables:

        export QT_QPA_EGLFS_DEPTH=16
        export DISPLAY=:0

        I also had to change my code which was devloped with Qt4.8.4 and QtQuick1.1
        I had to remove the obsolete qmlapplicationviewer class.

        After those changes it worked.

        Good luck.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved