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. EGL + QQuickFramebufferObject on Jetson TX1 .. EGL_BAD_ALLOC (0x3003) problem
Qt 6.11 is out! See what's new in the release blog

EGL + QQuickFramebufferObject on Jetson TX1 .. EGL_BAD_ALLOC (0x3003) problem

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 378 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.
  • B Offline
    B Offline
    Bodo
    wrote on last edited by
    #1

    Hi all,

    I got an EGL stream running 'with' an QQuickItem.
    Now I like to not have it fullscreen only, but be able to use it within QML-based GUI (render it to a dedicated area, maybe transform it or add border or such).

    I started of with the 'textureingsnode' example of the qtdeclarative package.

    But now I'm stuck in the early initialization phase when trying to create the window surface.
    My code:

    m_display = (EGLDisplay*)eglGetDisplay(EGL_DEFAULT_DISPLAY);
    
    Display* disp = QX11Info::display();
    m_window = DefaultRootWindow(disp);
    
    // m_config is found by iterating the configs and does return the same chosen config as before without using fbo
    
    // m_display and m_window have non-NULL values here
    m_surface = eglCreateWindowSurface(m_display, m_config, m_window, NULL);
    //-> results in eglError 12291 (3003, EGL_BAD_ALLOC)
    

    Did anyone try something similar?
    Any hints are appreciated.

    Thanks + Best,
    Bodo

    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