This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352: Qt5 GUI apps not working

Part Number: AM3352

Tool/software:

We are using buildroot and are able to generate qt5 images and load and work with examples. But we are getting a segmentation fault with qt-webengine example apps.
To solve this we have patched the ti-sgx-km and um modules to these:

https://git.ti.com/cgit/graphics/omap5-sgx-ddk-linux/log/?h=ti-img-sgx/1.17.4948957/k6.1

https://git.ti.com/cgit/graphics/omap5-sgx-ddk-um-linux/log/?h=ti-img-sgx/kirkstone-ws/1.17.4948957

and now we are running into different issues and the previously working GUI exmaple apps like analogclock and openGL hellowindow apps are also throwing an error:

# export QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json
_PLATFORM=eglfs
expor# export QT_QPA_PLATFORM=eglfs
t QT_QPA_EGLFS_INTEGRAT# export QT_QPA_EGLFS_INTEGRATION=none
# export QT_LOGGING_RULES=*=true
# export QSG_INFO=1
# export QT_QPA_EGLFS_DEBUG=1
# export QT_DEBUG_PLUGINS=1
#
# cd /usr/lib/qt/examples/gui/analogclock/
# ./analogclock
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqeglfs.so"
Found metadata in lib /usr/lib/qt/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archreq": 0,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqminimal.so"
Found metadata in lib /usr/lib/qt/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archreq": 0,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqminimalegl.so"
Found metadata in lib /usr/lib/qt/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archreq": 0,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqoffscreen.so"
Found metadata in lib /usr/lib/qt/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archreq": 0,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqvnc.so"
Found metadata in lib /usr/lib/qt/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archreq": 0,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/examples/gui/analogclock/platforms" ...
loaded library "/usr/lib/qt/plugins/platforms/libqeglfs.so"
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/egldeviceintegrations" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/egldeviceintegrations/libqeglfs-emu-integration.so"
Found metadata in lib /usr/lib/qt/plugins/egldeviceintegrations/libqeglfs-emu-integration.so, metadata=
{
    "IID": "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "eglfs_emu"
        ]
    },
    "archreq": 0,
    "className": "QEglFSEmulatorIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("eglfs_emu")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.so"
Found metadata in lib /usr/lib/qt/plugins/egldeviceintegrations/libqeglfs-kms-egldevice-integration.so, metadata=
{
    "IID": "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "eglfs_kms_egldevice"
        ]
    },
    "archreq": 0,
    "className": "QEglFSKmsEglDeviceIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("eglfs_kms_egldevice")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/egldeviceintegrations/libqeglfs-kms-integration.so"
Found metadata in lib /usr/lib/qt/plugins/egldeviceintegrations/libqeglfs-kms-integration.so, metadata=
{
    "IID": "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "eglfs_kms"
        ]
    },
    "archreq": 0,
    "className": "QEglFSKmsGbmIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("eglfs_kms")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/examples/gui/analogclock/egldeviceintegrations" ...
qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_emu", "eglfs_kms_egldevice", "eglfs_kms")
qt.qpa.egldeviceintegration: Using base device integration
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
error: XDG_RUNTIME_DIR not set in the environment.
Could not initialize egl display
Aborted
#


thanks in advance!

  • Hi,

    I would not update AM335x to latest release because there are known bugs with the driver. The last working release was SDK 7.x.

    Regards,
    Krunal

  • Hi Krunal,
    We were initially trying out on TI-pSDK 7.3(kernel 5.4), but to move to the latest version we have moved to sdk v 9.1(kernel 6.1) and the sgx-km  for version 6.1 seems to be OK(except for the webengine seg-fault) and we are running into this issue only if we migrate the sgx-um to a linked version.

    OUR main issue is with qtwebengine and the crash logs for that is this:

    # ./minimal --no-sandbox
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/examples/webengine/minimal" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/examples/webengine/minimal/main.cpp"
    QElfParser: '/usr/lib/qt/examples/webengine/minimal/main.cpp' is not an ELF object
    "'/usr/lib/qt/examples/webengine/minimal/main.cpp' is not an ELF object"
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/examples/webengine/minimal/main.qml"
    QElfParser: '/usr/lib/qt/examples/webengine/minimal/main.qml' is not an ELF object
    "'/usr/lib/qt/examples/webengine/minimal/main.qml' is not an ELF object"
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/examples/webengine/minimal/minimal"
    "Failed to extract plugin meta data from '/usr/lib/qt/examples/webengine/minimal/minimal'"
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/examples/webengine/minimal/minimal.pro"
    QElfParser: '/usr/lib/qt/examples/webengine/minimal/minimal.pro' is not an ELF object
    "'/usr/lib/qt/examples/webengine/minimal/minimal.pro' is not an ELF object"
             not a plugin
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/examples/webengine/minimal/qml.qrc"
    QElfParser: '/usr/lib/qt/examples/webengine/minimal/qml.qrc' is not an ELF object
    "'/usr/lib/qt/examples/webengine/minimal/qml.qrc' is not an ELF object"
             not a plugin
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/platforms" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqeglfs.so"
    Found metadata in lib /usr/lib/qt/plugins/platforms/libqeglfs.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "eglfs"
            ]
        },
        "archreq": 0,
        "className": "QEglFSIntegrationPlugin",
        "debug": false,
        "version": 331520
    }
    
    
    Got keys from plugin meta data ("eglfs")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqminimal.so"
    Found metadata in lib /usr/lib/qt/plugins/platforms/libqminimal.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "minimal"
            ]
        },
        "archreq": 0,
        "className": "QMinimalIntegrationPlugin",
        "debug": false,
        "version": 331520
    }
    
    
    Got keys from plugin meta data ("minimal")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqminimalegl.so"
    Found metadata in lib /usr/lib/qt/plugins/platforms/libqminimalegl.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "minimalegl"
            ]
        },
        "archreq": 0,
        "className": "QMinimalEglIntegrationPlugin",
        "debug": false,
        "version": 331520
    }
    
    
    Got keys from plugin meta data ("minimalegl")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqoffscreen.so"
    Found metadata in lib /usr/lib/qt/plugins/platforms/libqoffscreen.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "offscreen"
            ]
        },
        "archreq": 0,
        "className": "QOffscreenIntegrationPlugin",
        "debug": false,
        "version": 331520
    }
    
    
    Got keys from plugin meta data ("offscreen")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqvnc.so"
    Found metadata in lib /usr/lib/qt/plugins/platforms/libqvnc.so, metadata=
    {
        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
        "MetaData": {
            "Keys": [
                "vnc"
            ]
        },
        "archreq": 0,
        "className": "QVncIntegrationPlugin",
        "debug": false,
        "version": 331520
    }
    
    
    Got keys from plugin meta data ("vnc")
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/examples/webengine/minimal/platforms" ...
    loaded library "/usr/lib/qt/plugins/platforms/libqeglfs.so"
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/egldeviceintegrations" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/egldeviceintegrations/libqeglfs-emu-integration.so"
    Found metadata in lib /usr/lib/qt/plugins/egldeviceintegrations/libqeglfs-emu-integration.so, metadata=
    {
        "IID": "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5",
        "MetaData": {
            "Keys": [
                "eglfs_emu"
            ]
        },
        "archreq": 0,
        "className": "QEglFSEmulatorIntegrationPlugin",
        "debug": false,
        "version": 331520
    }
    
    
    Got keys from plugin meta data ("eglfs_emu")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/egldeviceintegrations/libqeglfs-kms-integration.so"
    Found metadata in lib /usr/lib/qt/plugins/egldeviceintegrations/libqeglfs-kms-integration.so, metadata=
    {
        "IID": "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5",
        "MetaData": {
            "Keys": [
                "eglfs_kms"
            ]
        },
        "archreq": 0,
        "className": "QEglFSKmsGbmIntegrationPlugin",
        "debug": false,
        "version": 331520
    }
    
    
    Got keys from plugin meta data ("eglfs_kms")
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/examples/webengine/minimal/egldeviceintegrations" ...
    qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_emu", "eglfs_kms")
    qt.qpa.egldeviceintegration: Using base device integration
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/imageformats" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/imageformats/libqico.so"
    Found metadata in lib /usr/lib/qt/plugins/imageformats/libqico.so, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "ico",
                "cur"
            ],
            "MimeTypes": [
                "image/vnd.microsoft.icon",
                "image/vnd.microsoft.icon"
            ]
        },
        "archreq": 0,
        "className": "QICOPlugin",
        "debug": false,
        "version": 331520
    }
    
    
    Got keys from plugin meta data ("ico", "cur")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/imageformats/libqjpeg.so"
    Found metadata in lib /usr/lib/qt/plugins/imageformats/libqjpeg.so, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "jpg",
                "jpeg"
            ],
            "MimeTypes": [
                "image/jpeg",
                "image/jpeg"
            ]
        },
        "archreq": 0,
        "className": "QJpegPlugin",
        "debug": false,
        "version": 331520
    }
    
    
    Got keys from plugin meta data ("jpg", "jpeg")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/imageformats/libqpdf.so"
    Found metadata in lib /usr/lib/qt/plugins/imageformats/libqpdf.so, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "pdf"
            ],
            "MimeTypes": [
                "application/pdf"
            ]
        },
        "archreq": 0,
        "className": "QPdfPlugin",
        "debug": false,
        "version": 331520
    }
    
    
    Got keys from plugin meta data ("pdf")
    QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/imageformats/libqsvg.so"
    Found metadata in lib /usr/lib/qt/plugins/imageformats/libqsvg.so, metadata=
    {
        "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
        "MetaData": {
            "Keys": [
                "svg",
                "svgz"
            ],
            "MimeTypes": [
                "image/svg+xml",
                "image/svg+xml-compressed"
            ]
        },
        "archreq": 0,
        "className": "QSvgPlugin",
        "debug": false,
        "version": 331520
    }
    
    
    Got keys from plugin meta data ("svg", "svgz")
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/examples/webengine/minimal/imageformats" ...
    loaded library "/usr/lib/qt/plugins/imageformats/libqico.so"
    loaded library "/usr/lib/qt/plugins/imageformats/libqjpeg.so"
    loaded library "/usr/lib/qt/plugins/imageformats/libqpdf.so"
    loaded library "/usr/lib/qt/plugins/imageformats/libqsvg.so"
    Unable to query physical screen size, defaulting to 100 dpi.
    To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
    qt.qpa.input: evdevkeyboard: Using device discovery
    qt.qpa.input: udev device discovery for type QFlags<QDeviceDiscovery::QDeviceType>(Device_Keyboard)
    qt.qpa.input: Found matching devices ()
    qt.qpa.input: evdevmouse: Using device discovery
    qt.qpa.input: udev device discovery for type QFlags<QDeviceDiscovery::QDeviceType>(Device_Mouse|Device_Touchpad)
    qt.qpa.input: Found matching devices ()
    qt.qpa.input: evdevtouch: Using device discovery
    qt.qpa.input: udev device discovery for type QFlags<QDeviceDiscovery::QDeviceType>(Device_Touchpad|Device_Touchscreen)
    qt.qpa.input: Found matching devices ()
    Created context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) with config:
            EGL_BUFFER_SIZE: 16
            EGL_ALPHA_SIZE: 0
            EGL_BLUE_SIZE: 5
            EGL_GREEN_SIZE: 6
            EGL_RED_SIZE: 5
            EGL_DEPTH_SIZE: 0
            EGL_STENCIL_SIZE: 0
            EGL_CONFIG_CAVEAT: 12344
            EGL_CONFIG_ID: 9
            EGL_LEVEL: 0
            EGL_MAX_PBUFFER_HEIGHT: 2048
            EGL_MAX_PBUFFER_PIXELS: 4194304
            EGL_MAX_PBUFFER_WIDTH: 2048
            EGL_NATIVE_RENDERABLE: 0
            EGL_NATIVE_VISUAL_ID: 909199186
            EGL_NATIVE_VISUAL_TYPE: 0
            EGL_SAMPLES: 0
            EGL_SAMPLE_BUFFERS: 0
            EGL_SURFACE_TYPE: 1541
            EGL_TRANSPARENT_TYPE: 12344
            EGL_TRANSPARENT_BLUE_VALUE: 0
            EGL_TRANSPARENT_GREEN_VALUE: 0
            EGL_TRANSPARENT_RED_VALUE: 0
            EGL_BIND_TO_TEXTURE_RGB: 0
            EGL_BIND_TO_TEXTURE_RGBA: 0
            EGL_MIN_SWAP_INTERVAL: 1
            EGL_MAX_SWAP_INTERVAL: 10
    Found metadata in lib /usr/qml/QtQuick.2/libqtquick2plugin.so, metadata=
    {
        "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
        "archreq": 0,
        "className": "QtQuick2Plugin",
        "debug": false,
        "uri": [
            "QtQuick.2"
        ],
        "version": 331520
    }
    
    
    loaded library "/usr/qml/QtQuick.2/libqtquick2plugin.so"
    Found metadata in lib /usr/qml/QtQuick/Window.2/libwindowplugin.so, metadata=
    {
        "IID": "org.qt-project.Qt.QQmlEngineExtensionInterface",
        "archreq": 0,
        "className": "QtQuick2WindowPlugin",
        "debug": false,
        "uri": [
            "QtQuick.Window.2"
        ],
        "version": 331520
    }
    
    
    loaded library "/usr/qml/QtQuick/Window.2/libwindowplugin.so"
    Found metadata in lib /usr/qml/QtWebEngine/libqtwebengineplugin.so, metadata=
    {
        "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
        "archreq": 0,
        "className": "QtWebEnginePlugin",
        "debug": false,
        "uri": [
            "QtWebEngine"
        ],
        "version": 331520
    }
    
    
    loaded library "/usr/qml/QtWebEngine/libqtwebengineplugin.so"
    qt.scenegraph.general: threaded render loop
    qt.scenegraph.general: Using sg animation driver
    qt.scenegraph.general: Animation Driver: using vsync: 16.67 ms
    qt.scenegraph.renderloop: exposureChanged() QQuickWindow(0x4ee448, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x720)
    qt.quick.focus: QQuickWindowPrivate::setFocusInScope():
    qt.quick.focus:     scope: QObject(0x0)
    qt.quick.focus:     item: QQuickRootItem(0x514d50)
    qt.quick.focus:     activeFocusItem: QObject(0x0)
    qt.accessibility.cache: insert - id: 2147483648  iface: QAccessibleInterface(0x528020 name="" role=Window obj=QQuickWindow(0x4ee448)rect=QRect(0,0 1280x720))
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/accessiblebridge" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/examples/webengine/minimal/accessiblebridge" ...
    qt.scenegraph.renderloop: exposureChanged() QQuickWindow(0x4ee448 active, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x720)
    qt.scenegraph.renderloop: exposureChanged() QQuickWindow(0x4ee448 active exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x720)
    qt.scenegraph.renderloop: handleExposure() QQuickWindow(0x4ee448 active exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x720)
    qt.scenegraph.renderloop: - adding window to list
    qt.scenegraph.renderloop: - starting render thread
    Created context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) with config:
            EGL_BUFFER_SIZE: 16
            EGL_ALPHA_SIZE: 0
            EGL_BLUE_SIZE: 5
            EGL_GREEN_SIZE: 6
            EGL_RED_SIZE: 5
            EGL_DEPTH_SIZE: 24
            EGL_STENCIL_SIZE: 8
            EGL_CONFIG_CAVEAT: 12344
            EGL_CONFIG_ID: 8
            EGL_LEVEL: 0
            EGL_MAX_PBUFFER_HEIGHT: 2048
            EGL_MAX_PBUFFER_PIXELS: 4194304
            EGL_MAX_PBUFFER_WIDTH: 2048
            EGL_NATIVE_RENDERABLE: 0
            EGL_NATIVE_VISUAL_ID: 909199186
            EGL_NATIVE_VISUAL_TYPE: 0
            EGL_SAMPLES: 0
            EGL_SAMPLE_BUFFERS: 0
            EGL_SURFACE_TYPE: 1541
            EGL_TRANSPARENT_TYPE: 12344
            EGL_TRANSPARENT_BLUE_VALUE: 0
            EGL_TRANSPARENT_GREEN_VALUE: 0
            EGL_TRANSPARENT_RED_VALUE: 0
            EGL_BIND_TO_TEXTURE_RGB: 0
            EGL_BIND_TO_TEXTURE_RGBA: 0
            EGL_MIN_SWAP_INTERVAL: 1
            EGL_MAX_SWAP_INTERVAL: 10
    qt.scenegraph.renderloop: - OpenGL context created
    qt.scenegraph.renderloop: polishAndSync (in expose) QQuickWindow(0x4ee448 active exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x720)
    qt.scenegraph.renderloop: - lock for sync
    qt.scenegraph.renderloop: - wait for sync
    qt.scenegraph.renderloop:                     (RT) run()
    qt.scenegraph.general: Using sg animation driver
    qt.scenegraph.general: Animation Driver: using vsync: 16.67 ms
    qt.scenegraph.renderloop:                     (RT) syncAndRender()
    qt.scenegraph.renderloop:                     (RT) - rendering started
    qt.scenegraph.renderloop:                     (RT) - window not ready, skipping render
    qt.scenegraph.renderloop:                     (RT) - rendering done
    qt.scenegraph.time.renderloop: Frame rendered with 'threaded' renderloop in 0ms, sync=0, render=0, swap=0 - (on render thread)
    qt.scenegraph.renderloop:                     (RT) --- begin processEvents()
    qt.scenegraph.renderloop:                     (RT) WM_RequestSync
    qt.scenegraph.renderloop:                     (RT) - triggered from expose
    qt.scenegraph.renderloop:                     (RT) - repaint regardless
    qt.scenegraph.renderloop:                     (RT) --- done processEvents()
    qt.scenegraph.general: opengl texture atlas dimensions: 2048x1024
    qt.scenegraph.general: R/G/B/A Buffers:   5 6 5 0
    qt.scenegraph.general: Depth Buffer:      24
    qt.scenegraph.general: Stencil Buffer:    8
    qt.scenegraph.general: Samples:           0
    qt.scenegraph.general: GL_VENDOR:         Imagination Technologies
    qt.scenegraph.general: GL_RENDERER:       PowerVR SGX 530
    qt.scenegraph.general: GL_VERSION:        OpenGL ES 2.0 build 1.17@4948957
    qt.scenegraph.general: GL_EXTENSIONS:    GL_EXT_blend_minmax GL_EXT_discard_framebuffer GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture GL_EXT_shader_texture_lod GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_IMG_multisampled_render_to_texture GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot GL_IMG_uniform_buffer_object GL_KHR_debug GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_depth_texture GL_OES_egl_sync GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_fragment_precision_high GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_required_internalformat GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_float GL_OES_texture_half_float GL_OES_vertex_array_object GL_OES_vertex_half_float
    qt.scenegraph.general: Max Texture Size: 2048
    qt.scenegraph.general: Debug context:    false
    qt.scenegraph.renderloop:                     (RT) syncAndRender()
    qt.scenegraph.renderloop:                     (RT) - updatePending, doing sync
    qt.scenegraph.renderloop:                     (RT) sync()
    qt.scenegraph.renderloop: update from item QQuickWindow(0x4ee448 active exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x720)
    qt.scenegraph.renderloop: - on render thread
    qt.quick.dirty: QQuickWindowPrivate::updateDirtyNodes():
    qt.quick.dirty:    QSGNode: QQuickRootItem(0x514d50, parent=0x0, geometry=0,0 1280x720) Size|ChildrenChanged|ChildrenStackingChanged|Window|EffectReference
    qt.scenegraph.renderloop:                     (RT) - renderer was created
    qt.scenegraph.renderloop:                     (RT) - rendering started
    qt.scenegraph.time.renderer: time in renderer: total=2ms, preprocess=0, updates=0, binding=0, rendering=2
    qt.scenegraph.renderloop:                     (RT) - rendering done
    qt.scenegraph.renderloop:                     (RT) - wake Gui after expose
    qt.scenegraph.renderloop: - unlock after sync
    qt.scenegraph.time.renderloop: Frame prepared with 'threaded' renderloop, polish=0, lock=0, blockedForSync=1325, animations=0 - (on Gui thread) QQuickWindow(0x4ee448 active exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x720)
    qt.scenegraph.renderloop: - done with handleExposure()
    qt.scenegraph.time.renderloop: Frame rendered with 'threaded' renderloop in 635ms, sync=622, render=3, swap=9 - (on render thread)
    qt.scenegraph.renderloop:                     (RT) --- begin processEvents()
    qt.scenegraph.renderloop:                     (RT) --- done processEvents()
    qt.scenegraph.renderloop:                     (RT) done drawing, sleep...
    qt.scenegraph.renderloop:                     (RT) --- begin processEventsAndWaitForMore()
    qt.scenegraph.renderloop: update from item QQuickWindow(0x4ee448 active exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x720)
    qt.scenegraph.renderloop: update from item QQuickWindow(0x4ee448 active exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x720)
    qt.scenegraph.renderloop: update from item QQuickWindow(0x4ee448 active exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x720)
    qt.scenegraph.renderloop: update from item QQuickWindow(0x4ee448 active exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x720)
    qt.scenegraph.renderloop: update from item QQuickWindow(0x4ee448 active exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x720)
    [199:215:0101/030553.322536:ERROR:gl_ozone_egl_qt.cpp(91)] eglGetProcAddress not found.
    Segmentation fault
    #


    I beleive we are seeing the seg-fault even with older kernel4.19 version also.

    is our QtWebengine seg-fault even related to ti-sgx?

  • Hi,

    I don't recall observing any segfaults with QtWebgine on the Linux SDK 7.x. However, we never officially supported QtWebengine on AM335x due to the lack of processing power.

    Regards,
    Krunal

  • Hi Krunal, How do i test this out on an officially release version? any specific TI-rootfs that i can try out, we are building our busy-box rootfs using buildroot.

    I have a beagleboneback board, we want to evaluate the performance of the Qt Webengine before we take a decision.

  • Hi,

    The last SDK we had support for QtWebengine was PSDK5.x. Then we removed support for QtWebengine since it had dependencies on Python 2 which is EOL.

    Regards,
    Krunal