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. Application running is error for eglfs mali base on Arm platform (QT5.8)
QtWS25 Last Chance

Application running is error for eglfs mali base on Arm platform (QT5.8)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
10 Posts 3 Posters 4.7k Views
  • 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.
  • J Offline
    J Offline
    JOHN.CHEN
    wrote on last edited by
    #1

    hello every one :
    i have a problem on arm platform for qt5.8 .when i run the app the log :

    root@firefly:/home/firefly/testapp# ./test
    hello
    hello john
    hello window1111
    EGL Error : Could not create the egl surface: error = 0x3009

    my source code is :


    QByteArray width = qgetenv("QT_QPA_EGLFS_PHYSICAL_WIDTH");
    width.setNum(1920);
    QByteArray height = qgetenv("QT_QPA_EGLFS_PHYSICAL_HEIGHT");
    height.setNum(720);
    
    printf("hello\r\n");
    QApplication a(argc, argv);
    printf("hello john\r\n");
    
    MainWindow w;
    printf("hello window1111\r\n");
    w.show();
    printf("hello window\r\n");
    return a.exec();
    

    my qt config is :

    Qt Gui:
    FreeType ............................... yes
    Using system FreeType ................ yes
    HarfBuzz ............................... yes
    Using system HarfBuzz ................ no
    Fontconfig ............................. yes
    Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
    Using system libjpeg ............... no
    PNG .................................. yes
    Using system libpng ................ no
    OpenGL:
    EGL .................................. yes
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ yes
    OpenGL ES 3.0 ........................ yes
    OpenGL ES 3.1 ........................ yes
    Session Management ..................... yes
    Features used by QPA backends:
    evdev .................................. yes
    libinput ............................... no
    mtdev .................................. no
    tslib .................................. no
    xkbcommon-evdev ........................ yes
    QPA backends:
    DirectFB ............................... no
    EGLFS .................................. yes
    EGLFS details:
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS EGLDevice ...................... no
    EGLFS GBM ............................ no
    EGLFS Mali ........................... yes
    EGLFS Rasberry Pi .................... no
    EGL on X11 ........................... no
    LinuxFB ................................ yes
    Mir client ............................. no
    X11:
    Using system provided XCB libraries .. no
    EGL on X11 ........................... no
    Xinput2 .............................. yes
    XCB XKB .............................. no
    XLib ................................. yes
    Xrender .............................. yes
    XCB GLX .............................. yes
    XCB Xlib ............................. yes
    Using system-provided xkbcommon ...... no

    could you help me to solve this problem ?
    thank all

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should add the model of the board.

      You might also want to consider moving to 5.9 which just got released and is the new LTS.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 2 Replies Last reply
      1
      • SGaistS SGaist

        Hi,

        You should add the model of the board.

        You might also want to consider moving to 5.9 which just got released and is the new LTS.

        J Offline
        J Offline
        JOHN.CHEN
        wrote on last edited by
        #3

        @SGaist thank your help ,i will do it

        1 Reply Last reply
        1
        • SGaistS SGaist

          Hi,

          You should add the model of the board.

          You might also want to consider moving to 5.9 which just got released and is the new LTS.

          J Offline
          J Offline
          JOHN.CHEN
          wrote on last edited by
          #4

          @SGaist
          if i selected the mode for -platform linuxfb ,the testapp works
          but when i was run the dashboard app ,like this :

          root@firefly:/home/firefly/dashboard# ./dashboard -platform eglfs
          libpng warning: iCCP: known incorrect sRGB profile
          EGL Error : Could not create the egl surface: error = 0x3009
          hello 1hello 2Aborted

          and other mode :

          ./dashboard -platform linuxfb
          libpng warning: iCCP: known incorrect sRGB profile
          This plugin does not support createPlatformOpenGLContext!
          Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
          hello 1hello 2Aborted

          do you have some advice for this?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Again: please give more details about your target: model name, gpu exact type, linux distribution running on etc.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            J 3 Replies Last reply
            1
            • SGaistS SGaist

              Again: please give more details about your target: model name, gpu exact type, linux distribution running on etc.

              J Offline
              J Offline
              JOHN.CHEN
              wrote on last edited by JOHN.CHEN
              #6

              @SGaist said in Application running is error for eglfs mali base on Arm platform (QT5.8):

              inux distribution running on etc.

              **Target information:
              target:
              SoC: RK32885, ARM Cortex-A17 (MP4) with Mali-T760 (MP4) GPU.
              Architecture: ARMv7
              HWREV: r0p0
              linux distribution running on : ubuntu 14.04 kernel 3.1.0
              QT lib version: QT5.8

              build tools information
              Build Os :ubuntu 16.04 64bit
              arm build tools: gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf.tar**

              my qt config information :
              ./configure -v -release -platform linux-g++ -xplatform linux-arm-gnueabi-g++ -qt-zlib -nomake examples -opensource -confirm-license -no-xcb -eglfs -no-pch -opengl es3 -make libs -qt-libjpeg -qt-libpng -sysroot /mnt/nfs -extprefix /opt/qt5.8-arm

              1 Reply Last reply
              1
              • SGaistS SGaist

                Again: please give more details about your target: model name, gpu exact type, linux distribution running on etc.

                J Offline
                J Offline
                JOHN.CHEN
                wrote on last edited by
                #7
                This post is deleted!
                jsulmJ 1 Reply Last reply
                0
                • J JOHN.CHEN

                  This post is deleted!

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @JOHN.CHEN This are not answers to @SGaist question...

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Again: please give more details about your target: model name, gpu exact type, linux distribution running on etc.

                    J Offline
                    J Offline
                    JOHN.CHEN
                    wrote on last edited by
                    #9

                    @SGaist
                    when i was run the app for this information:
                    root@firefly:/home/firefly/dashboard# ./dashboard
                    libpng warning: iCCP: known incorrect sRGB profile
                    This plugin does not support createPlatformOpenGLContext!
                    Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
                    hello 1hello 2Aborted

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Is that the board that is described in this Qt article ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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