Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT 5.15.5 not working on i.MX93 platform
Forum Updated to NodeBB v4.3 + New Features

QT 5.15.5 not working on i.MX93 platform

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 391 Views 2 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.
  • A Offline
    A Offline
    Akash_shinde
    wrote on last edited by
    #1

    Hi Team,

    We are compiling qt 5.15.5 sample example for i.MX93 platform.
    run time showing segmentation fault or core dump for platform wayland-EGL.
    but same example running on platform xcb its working fine, but we want to run on wayland-EGL platform need your help for further debugging.

    Thank you,
    Akash Shinde

    jsulmJ 1 Reply Last reply
    0
    • A Akash_shinde

      Hi Team,

      We are compiling qt 5.15.5 sample example for i.MX93 platform.
      run time showing segmentation fault or core dump for platform wayland-EGL.
      but same example running on platform xcb its working fine, but we want to run on wayland-EGL platform need your help for further debugging.

      Thank you,
      Akash Shinde

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

      @Akash_shinde said in QT 5.15.5 not working on i.MX93 platform:

      segmentation fault or core dump

      Did you analyze them?

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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Akash_shinde
        wrote on last edited by
        #3

        this error we are facing for qt 5.6.3
        [Thread debugging using libthread_db enabled]
        Using host libthread_db library "/usr/lib/libthread_db.so.1".
        Using Wayland-EGL
        MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
        libEGL warning: egl: failed to create dri2 screen

        Program received signal SIGSEGV, Segmentation fault.
        0x0000fffff607b474 in QtWaylandClient::QWaylandIntegration::initializeShellIntegration() () from /usr/lib/libQt5WaylandClient.so.5
        (gdb) bt
        #0 0x0000fffff607b474 in QtWaylandClient::QWaylandIntegration::initializeShellIntegration() ()
        from /usr/lib/libQt5WaylandClient.so.5
        #1 0x0000fffff607bb58 in QtWaylandClient::QWaylandIntegration::shellIntegration() const () from /usr/lib/libQt5WaylandClient.so.5
        #2 0x0000fffff60871a4 in QtWaylandClient::QWaylandDisplay::createShellSurface(QtWaylandClient::QWaylandWindow*) ()
        from /usr/lib/libQt5WaylandClient.so.5
        #3 0x0000fffff608db28 in QtWaylandClient::QWaylandWindow::initWindow() () from /usr/lib/libQt5WaylandClient.so.5
        #4 0x0000fffff621a6b4 in ?? () from /usr/lib/qt5/plugins/platforms/libqwayland-egl.so
        #5 0x0000fffff6218878 in ?? () from /usr/lib/qt5/plugins/platforms/libqwayland-egl.so
        #6 0x0000fffff6079cb4 in QtWaylandClient::QWaylandIntegration::createPlatformWindow(QWindow*) const ()
        from /usr/lib/libQt5WaylandClient.so.5
        #7 0x0000fffff7480650 in QWindowPrivate::create (this=0xaaaaaab0fff0, recursive=recursive@entry=false)
        at /usr/src/debug/qtbase/5.6.3+git/src/gui/kernel/qwindow.cpp:397
        #8 0x0000fffff7480990 in QWindow::create (this=this@entry=0xaaaaaaafd9e0)
        at /usr/src/debug/qtbase/5.6.3+git/src/gui/kernel/qwindow.cpp:557
        #9 0x0000fffff7a89ec4 in QWidgetPrivate::create_sys (this=this@entry=0xaaaaaab00850, window=window@entry=0,
        initializeWindow=initializeWindow@entry=true, destroyOldWindow=destroyOldWindow@entry=true)
        at /usr/src/debug/qtbase/5.6.3+git/src/widgets/kernel/qwidget.cpp:1471
        #10 0x0000fffff7a8a508 in QWidget::create (this=0xfffffffff8c8, window=0, initializeWindow=true, destroyOldWindow=true)
        at /usr/src/debug/qtbase/5.6.3+git/src/widgets/kernel/qwidget.cpp:1334
        #11 0x0000fffff7a96a88 in QWidget::setVisible (this=0xfffffffff8c8, visible=<optimized out>)
        at /usr/src/debug/qtbase/5.6.3+git/src/widgets/kernel/qwidget.cpp:8136
        #12 0x0000aaaaaaaa2c24 in main (argc=<optimized out>, argv=<optimized out>)
        at /usr/src/debug/qtbase/5.6.3+git/examples/widgets/widgets/analogclock/main.cpp:49

        JKSHJ 1 Reply Last reply
        0
        • A Akash_shinde

          this error we are facing for qt 5.6.3
          [Thread debugging using libthread_db enabled]
          Using host libthread_db library "/usr/lib/libthread_db.so.1".
          Using Wayland-EGL
          MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
          libEGL warning: egl: failed to create dri2 screen

          Program received signal SIGSEGV, Segmentation fault.
          0x0000fffff607b474 in QtWaylandClient::QWaylandIntegration::initializeShellIntegration() () from /usr/lib/libQt5WaylandClient.so.5
          (gdb) bt
          #0 0x0000fffff607b474 in QtWaylandClient::QWaylandIntegration::initializeShellIntegration() ()
          from /usr/lib/libQt5WaylandClient.so.5
          #1 0x0000fffff607bb58 in QtWaylandClient::QWaylandIntegration::shellIntegration() const () from /usr/lib/libQt5WaylandClient.so.5
          #2 0x0000fffff60871a4 in QtWaylandClient::QWaylandDisplay::createShellSurface(QtWaylandClient::QWaylandWindow*) ()
          from /usr/lib/libQt5WaylandClient.so.5
          #3 0x0000fffff608db28 in QtWaylandClient::QWaylandWindow::initWindow() () from /usr/lib/libQt5WaylandClient.so.5
          #4 0x0000fffff621a6b4 in ?? () from /usr/lib/qt5/plugins/platforms/libqwayland-egl.so
          #5 0x0000fffff6218878 in ?? () from /usr/lib/qt5/plugins/platforms/libqwayland-egl.so
          #6 0x0000fffff6079cb4 in QtWaylandClient::QWaylandIntegration::createPlatformWindow(QWindow*) const ()
          from /usr/lib/libQt5WaylandClient.so.5
          #7 0x0000fffff7480650 in QWindowPrivate::create (this=0xaaaaaab0fff0, recursive=recursive@entry=false)
          at /usr/src/debug/qtbase/5.6.3+git/src/gui/kernel/qwindow.cpp:397
          #8 0x0000fffff7480990 in QWindow::create (this=this@entry=0xaaaaaaafd9e0)
          at /usr/src/debug/qtbase/5.6.3+git/src/gui/kernel/qwindow.cpp:557
          #9 0x0000fffff7a89ec4 in QWidgetPrivate::create_sys (this=this@entry=0xaaaaaab00850, window=window@entry=0,
          initializeWindow=initializeWindow@entry=true, destroyOldWindow=destroyOldWindow@entry=true)
          at /usr/src/debug/qtbase/5.6.3+git/src/widgets/kernel/qwidget.cpp:1471
          #10 0x0000fffff7a8a508 in QWidget::create (this=0xfffffffff8c8, window=0, initializeWindow=true, destroyOldWindow=true)
          at /usr/src/debug/qtbase/5.6.3+git/src/widgets/kernel/qwidget.cpp:1334
          #11 0x0000fffff7a96a88 in QWidget::setVisible (this=0xfffffffff8c8, visible=<optimized out>)
          at /usr/src/debug/qtbase/5.6.3+git/src/widgets/kernel/qwidget.cpp:8136
          #12 0x0000aaaaaaaa2c24 in main (argc=<optimized out>, argv=<optimized out>)
          at /usr/src/debug/qtbase/5.6.3+git/examples/widgets/widgets/analogclock/main.cpp:49

          JKSHJ Online
          JKSHJ Online
          JKSH
          Moderators
          wrote on last edited by
          #4

          @Akash_shinde said in QT 5.15.5 not working on i.MX93 platform:

          MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)

          There's your problem.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Akash_shinde
            wrote on last edited by
            #5

            After export LIBGL_ALWAYS_SOFTWARE=1 not showing mesa error. but still, it is crashing need your help.
            root@imx93-11x11-lpddr4x-evk:~# gdb /usr/share/qt5/examples/quick/canvas/canvas
            GNU gdb (GDB) 14.2
            Copyright (C) 2023 Free Software Foundation, Inc.
            License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
            This is free software: you are free to change and redistribute it.
            There is NO WARRANTY, to the extent permitted by law.
            Type "show copying" and "show warranty" for details.
            This GDB was configured as "aarch64-poky-linux".
            Type "show configuration" for configuration details.
            For bug reporting instructions, please see:
            https://www.gnu.org/software/gdb/bugs/.
            Find the GDB manual and other documentation resources online at:
            http://www.gnu.org/software/gdb/documentation/.

            For help, type "help".
            Type "apropos word" to search for commands related to "word"...
            Reading symbols from /usr/share/qt5/examples/quick/canvas/canvas...
            (No debugging symbols found in /usr/share/qt5/examples/quick/canvas/canvas)
            (gdb) run -platform wayland-egl
            Starting program: /usr/share/qt5/examples/quick/canvas/canvas -platform wayland-egl
            [Thread debugging using libthread_db enabled]
            Using host libthread_db library "/usr/lib/libthread_db.so.1".
            Using Wayland-EGL
            [New Thread 0xfffff454f160 (LWP 708)]

            Thread 1 "canvas" received signal SIGSEGV, Segmentation fault.
            0x0000fffff5a8b474 in QtWaylandClient::QWaylandIntegration::initializeShellIntegration() () from /usr/lib/libQt5WaylandClient.so.5
            (gdb)

            1 Reply Last reply
            0
            • Axel SpoerlA Offline
              Axel SpoerlA Offline
              Axel Spoerl
              Moderators
              wrote on last edited by
              #6

              Qt 5.6 is even more outdated than Qt 5.15.
              Please try a newer version of Qt!

              Software Engineer
              The Qt Company, Oslo

              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