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. Could not initialize egl display on RPI3

Could not initialize egl display on RPI3

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 3 Posters 1.2k 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.
  • O Offline
    O Offline
    Oleg Romanenko
    wrote on last edited by
    #1

    Hello,

    I have followed guide of cross-compiling (https://wiki.qt.io/RaspberryPi2EGLFS). RPI has the latest Raspbian minimum edition. After trying to run the application on RPI I receive an error: Could not initialize egl display

    How can I trace the source of the error and how to fix it?

    Best regards,
    Oleg

    jsulmJ 1 Reply Last reply
    0
    • O Oleg Romanenko

      Hello,

      I have followed guide of cross-compiling (https://wiki.qt.io/RaspberryPi2EGLFS). RPI has the latest Raspbian minimum edition. After trying to run the application on RPI I receive an error: Could not initialize egl display

      How can I trace the source of the error and how to fix it?

      Best regards,
      Oleg

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

      @Oleg-Romanenko said in Could not initialize egl display on RPI3:

      minimum edition

      Is it running in text mode? Or do you have any windows manager running when you try to start your app?

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

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Service IT
        wrote on last edited by
        #3

        Same problem

        qt.qpa.xcb: could not connect to display :0.0
        qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

        • failed to add service - already in use?

        Any solution

        jsulmJ 1 Reply Last reply
        0
        • S Service IT

          Same problem

          qt.qpa.xcb: could not connect to display :0.0
          qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

          • failed to add service - already in use?

          Any solution

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

          @Service-IT said in Could not initialize egl display on RPI3:

          qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

          Please set QT_DEBUG_PLUGINS environment variable to 1 before starting your app. Then start it and post the output from terminal here. There should be more information then.
          https://doc.qt.io/qt-5/debug.html

          "qt.qpa.xcb: could not connect to display :0.0" - is X server running and is its ID 0.0?

          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