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

EGL Error : Could not create the egl surface: error = 0x321c

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
2 Posts 1 Posters 437 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.
  • O Offline
    O Offline
    Orocle
    wrote on last edited by
    #1

    Can anyone help me understand this error? This is a fresh compile of 6.2.4 on a Jetson Orin. The same exact compile config works on Xavier. Something is different, but I don't know what.

    Thank you.

    qt.qpa.eglfs.kms: Creating stream
    qt.qpa.eglfs.kms: Created stream 0xaaaaaac611c1 on display 0xaaaaaaaf7350
    qt.qpa.eglfs.kms: Using EGLStream mailbox mode
    qt.qpa.eglfs.kms: Output has 4 layers
    qt.qpa.eglfs.kms: Searching for id: 43
    qt.qpa.eglfs.kms: [0] layer 0xaaaaaac19bf1 - crtc 43
    qt.qpa.eglfs.kms: [1] layer 0xaaaaaac12a61 - crtc 56
    qt.qpa.eglfs.kms: [2] layer 0xaaaaaac18141 - plane 44
    qt.qpa.eglfs.kms: [3] layer 0xaaaaaacc0801 - plane 57
    qt.qpa.eglfs.kms: Using layer 0xaaaaaac19bf1
    resetSurface: Unable to connect stream
    qt.qpa.eglfs.kms: Stream producer format is QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 0, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QColorSpace(), profile QSurfaceFormat::NoProfile)
    qt.qpa.eglfs.kms: Creating stream producer surface of size 1920x1080
    qt.qpa.eglfs.kms: Creating stream
    qt.qpa.eglfs.kms: Created stream 0xaaaaaac611c1 on display 0xaaaaaaaf7350
    qt.qpa.eglfs.kms: Using EGLStream mailbox mode
    qt.qpa.eglfs.kms: Output has 4 layers
    qt.qpa.eglfs.kms: Searching for id: 43
    qt.qpa.eglfs.kms: [0] layer 0xaaaaaac19bf1 - crtc 43
    qt.qpa.eglfs.kms: [1] layer 0xaaaaaac12a61 - crtc 56
    qt.qpa.eglfs.kms: [2] layer 0xaaaaaac18141 - plane 44
    qt.qpa.eglfs.kms: [3] layer 0xaaaaaacc0801 - plane 57
    qt.qpa.eglfs.kms: Using layer 0xaaaaaac19bf1
    resetSurface: Unable to connect stream
    qt.qpa.eglfs.kms: Stream producer format is QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 8, stencilBufferSize 0, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QColorSpace(), profile QSurfaceFormat::NoProfile)
    qt.qpa.eglfs.kms: Creating stream producer surface of size 1920x1080
    EGL Error : Could not create the egl surface: error = 0x321c

    1 Reply Last reply
    0
    • O Offline
      O Offline
      Orocle
      wrote on last edited by
      #2

      And here is the config summary..

      Configure summary:

      Building for: devices/linux-orin-g++ (arm64, CPU features: cx16 neon)
      Compiler: gcc 9.4.0
      Build options:
      Mode ................................... release
      Optimize release build for size ........ no
      Fully optimize release builds (-O3) .... no
      Building shared libraries .............. yes
      Using C standard ....................... C11
      Using C++ standard ..................... C++17
      Using ccache ........................... no
      Using new DTAGS ........................ yes
      Relocatable ............................ yes
      Using precompiled headers .............. yes
      Using LTCG ............................. no
      Target compiler supports:
      Intrinsics without compiler architecture option yes
      Extensions ........................... NEON
      Sanitizers:
      Addresses ............................ no
      Threads .............................. no
      Memory ............................... no
      Fuzzer (instrumentation only) ........ no
      Undefined ............................ no
      Build parts ............................ libs
      Qt modules and options:
      Qt Concurrent .......................... yes
      Qt D-Bus ............................... yes
      Qt D-Bus directly linked to libdbus .... yes
      Qt Gui ................................. yes
      Qt Network ............................. yes
      Qt PrintSupport ........................ yes
      Qt Sql ................................. yes
      Qt Testlib ............................. yes
      Qt Widgets ............................. yes
      Qt Xml ................................. yes
      Support enabled for:
      Using pkg-config ....................... yes
      udev ................................... yes
      Using system zlib ...................... yes
      Zstandard support ...................... no
      Thread support ......................... yes
      Common build options:
      Linker can resolve circular dependencies yes
      Qt Core:
      backtrace .............................. yes
      DoubleConversion ....................... yes
      Using system DoubleConversion ........ no
      GLib ................................... yes
      ICU .................................... yes
      Using system libb2 ..................... no
      Built-in copy of the MIME database ..... yes
      cpp/winrt base ......................... no
      Tracing backend ........................ <none>
      Logging backends:
      journald ............................. no
      syslog ............................... no
      slog2 ................................ no
      PCRE2 .................................. yes
      Using system PCRE2 ................... yes
      CLONE_PIDFD support in forkfd .......... yes
      Qt Sql:
      SQL item models ........................ yes
      Qt Network:
      getifaddrs() ........................... yes
      IPv6 ifname ............................ yes
      libproxy ............................... no
      Linux AF_NETLINK ....................... yes
      OpenSSL ................................ yes
      Qt directly linked to OpenSSL ........ no
      OpenSSL 1.1 ............................ yes
      DTLS ................................... yes
      OCSP-stapling .......................... yes
      SCTP ................................... no
      Use system proxies ..................... yes
      GSSAPI ................................. no
      Brotli Decompression Support ........... no
      Qt Gui:
      Accessibility .......................... yes
      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 ............... yes
      PNG .................................. yes
      Using system libpng ................ yes
      Text formats:
      HtmlParser ........................... yes
      CssParser ............................ yes
      OdfWriter ............................ yes
      MarkdownReader ....................... yes
      Using system libmd4c ............... no
      MarkdownWriter ....................... yes
      EGL .................................... yes
      OpenVG ................................. no
      OpenGL:
      Desktop OpenGL ....................... no
      OpenGL ES 2.0 ........................ yes
      OpenGL ES 3.0 ........................ 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
      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 .................................. yes
      EGLFS details:
      EGLFS OpenWFD ........................ no
      EGLFS i.Mx6 .......................... no
      EGLFS i.Mx6 Wayland .................. no
      EGLFS RCAR ........................... no
      EGLFS EGLDevice ...................... yes
      EGLFS GBM ............................ yes
      EGLFS VSP2 ........................... no
      EGLFS Mali ........................... no
      EGLFS Raspberry Pi ................... no
      EGLFS X11 ............................ yes
      LinuxFB ................................ yes
      VNC .................................... yes
      VK_KHR_display ......................... yes
      QNX:
      lgmon ................................ no
      IMF .................................. no
      XCB:
      Using system-provided xcb-xinput ..... yes
      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
      Qt Widgets:
      GTK+ ................................... no
      Styles ................................. Fusion Windows
      Qt Testlib:
      Tester for item models ................. yes
      Qt PrintSupport:
      CUPS ................................... yes
      Qt Sql Drivers:
      DB2 (IBM) .............................. no
      InterBase .............................. yes
      MySql .................................. no
      OCI (Oracle) ........................... no
      ODBC ................................... no
      PostgreSQL ............................. yes
      SQLite ................................. yes
      Using system provided SQLite ......... no

      Qt is now configured for building. Just run 'cmake --build . --parallel'

      Once everything is built, you must run 'cmake --install .'
      Qt will be installed into '/usr/local/qt6'

      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