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. [SOLVED] Qt6 crosscompiled for pi4 raspi os 64 FAILED TO CREATE EGL CONTEXT
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Qt6 crosscompiled for pi4 raspi os 64 FAILED TO CREATE EGL CONTEXT

Scheduled Pinned Locked Moved Solved Mobile and Embedded
13 Posts 3 Posters 2.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.
  • H Offline
    H Offline
    Harlock21
    wrote on last edited by
    #2

    Hi all, this is the config summary:

    OpenGL:
    Desktop OpenGL ....................... no
    opengles2 ............................ yes
    opengles3 ............................ yes
    OpenGL ES 3.1 ........................ yes
    OpenGL ES 3.2 ........................ yes
    Vulkan ................................. yes
    Session Management ..................... yes
    Features used by QPA backends:
    evdev .................................. yes
    libinput ............................... yes
    HiRes wheel support in libinput ........ no
    INTEGRITY HID .......................... no
    mtdev .................................. yes
    tslib .................................. yes
    xkbcommon .............................. yes
    X11 specific:
    xlib ................................. yes
    XCB Xlib ............................. yes
    EGL on X11 ........................... yes
    xkbcommon-x11 ........................ yes
    xcb-sm ............................... no
    QPA backends:
    DirectFB ............................... no
    eglfs .................................. no
    EGLFS details:
    EGLFS OpenWFD ........................ no
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS RCAR ........................... no
    EGLFS EGLDevice ...................... no
    EGLFS GBM ............................ no
    EGLFS VSP2 ........................... no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGLFS X11 ............................ no
    LinuxFB ................................ yes
    VNC .................................... yes
    VK_KHR_display ......................... yes
    QNX:
    lgmon ................................ no
    IMF .................................. no
    XCB:
    Using system-provided xcb-xinput ..... no
    GL integrations:
    GLX Plugin ......................... no
    XCB GLX .......................... no
    EGL-X11 Plugin ..................... yes
    Windows:
    Direct 2D ............................ no
    Direct 2D 1.1 ........................ no
    DirectWrite .......................... no
    DirectWrite 3 ........................ no

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Harlock21
      wrote on last edited by
      #3

      Two things: when I was deploying all the plugin renderers were lacking and the sysroot had bad symlinks.
      Thanks all :)

      1 Reply Last reply
      1
      • Z Offline
        Z Offline
        Zavar
        wrote last edited by
        #4

        Hi @Harlock21, i'm having the same problems: (Failed to create RHI and Failed to initialize graphics backend for OpenGL). Could you share your method to fix this?

        SGaistS 1 Reply Last reply
        0
        • Z Zavar

          Hi @Harlock21, i'm having the same problems: (Failed to create RHI and Failed to initialize graphics backend for OpenGL). Could you share your method to fix this?

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote last edited by
          #5

          @Zavar hi and welcome to devnet,

          @Harlock21 wrote what was wrong in their last post as well as how they fixed it.

          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
          • Z Offline
            Z Offline
            Zavar
            wrote last edited by
            #6

            Hi, @SGaist! I'm deploying on Ubuntu 22.04, which is not supported by linuxdeloyqt, so what I'm trying to do is using linuxdeploy and qt-plugin, which is kinda more manually than lixnuxdeployqt. I'm having the same issue and considering it as lacking of plugins/libraries. But there no tutorial to do this, and AI is not very helpful

            SGaistS 1 Reply Last reply
            0
            • Z Zavar

              Hi, @SGaist! I'm deploying on Ubuntu 22.04, which is not supported by linuxdeloyqt, so what I'm trying to do is using linuxdeploy and qt-plugin, which is kinda more manually than lixnuxdeployqt. I'm having the same issue and considering it as lacking of plugins/libraries. But there no tutorial to do this, and AI is not very helpful

              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote last edited by
              #7

              @Zavar If you want to see which plugin is missing, start your application with the QT_DEBUG_PLUGINS environment variable set to 1.

              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
              • Z Offline
                Z Offline
                Zavar
                wrote last edited by Zavar
                #8

                @SGaist I try QT DEBUG PLUGINS and I didn't see anything wrong. Then I tried running with variable QT_QPA_PLATFORM=xcb helped fix the issue. Can you help me understand how this works?

                SGaistS 1 Reply Last reply
                0
                • Z Zavar

                  @SGaist I try QT DEBUG PLUGINS and I didn't see anything wrong. Then I tried running with variable QT_QPA_PLATFORM=xcb helped fix the issue. Can you help me understand how this works?

                  SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote last edited by
                  #9

                  @Zavar which Linux distribution are you running ? With which desktop environment ?

                  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
                  • Z Offline
                    Z Offline
                    Zavar
                    wrote last edited by Zavar
                    #10

                    @SGaist I'm using Ubuntu24.04 with GNOME, Wayland disabled (Qt version 6.8.3)

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

                      How did you disable Wayland ?

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

                      Z 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        How did you disable Wayland ?

                        Z Offline
                        Z Offline
                        Zavar
                        wrote last edited by
                        #12

                        @SGaist I did it by sudo nano /etc/gdm3/custom.conf -> WaylandEnable=false

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

                          Did you check whether you have somewhere in your environnement something that sets the QPA platform to wayland ?

                          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