Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
EGL + QQuickFramebufferObject on Jetson TX1 .. EGL_BAD_ALLOC (0x3003) problem
Bodo last edited by
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.
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,