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 eglfs: Could not create the egl surface: error = 0x300b
Forum Updated to NodeBB v4.3 + New Features

Qt5 eglfs: Could not create the egl surface: error = 0x300b

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 11.1k 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.
  • E Offline
    E Offline
    einarmar
    wrote on last edited by
    #1

    Hi there
    I have been cross-compiling Qt5 for my ARM board (SabreLite) with 2d/3d acceleration support but without X11.
    I have tested the acceleration with the binaries from Vivante SDK and the acceleration itself works fine.
    I however always get this error (0x300b) when running one of the Qt5 demo applications with -platoform eglfs.
    I looked at the code and saw that the imlementation of createNativeWindow in qtbase/src/plugins/platforms/eglfs/qeglfshooks_stub.cpp doesn't exists, i.e. always returns zero.
    Looking at qtbase/src/plugins/platforms/eglfs/qeglfshooks_x11.cpp the method is implemented.

    So my question here is, do I need the X11 when only running with eglfs ? I was under the impression that it wasn't necessary.

    regards
    Einar

    1 Reply Last reply
    0
    • A Offline
      A Offline
      agocs
      wrote on last edited by
      #2

      Yes, there has to be a device specific implementation of the hooks. The X11 one is only useful for development and is not used on actual devices.

      Try passing -device linux-imx6-g++ to configure. This, in addition to a few other settings, will make eglfs use the hooks implementation from qtbase/mkspecs/devices/linux-imx6-g++.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        einarmar
        wrote on last edited by
        #3

        Hi Agocs and thank you for your reply.
        I tried it and it works, I am able to run a Qt5 test application that uses the accelerator (vivante galcore). This was indeed a great pleasure to see and I thank you for your input.

        regards
        Einar

        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