Uploaded image for project: 'Qt Automotive Suite'
  1. Qt Automotive Suite
  2. AUTOSUITE-1004

Apps using 3D crashing on Linux in VMware with Wayland enabled

    XMLWordPrintable

Details

    • Linux/X11

    Description

      Using:

      appman: commit 721e1ca52f08b89b2abb8bcb224d7f226f059244 (HEAD -> 5.13, origin/5.13)

      neptune3: commit 7104f720e4bd812c292544effb72cc2da86f702c (HEAD -> 5.13, origin/5.13)

      Qt 3D Studio runtime: commit d9dedb7bb1d61bfe73d8ab9d653ebfd6039e72eb (HEAD -> 2.1, origin/2.1)

      Qt 5.13: commit f22f1007f4330144bb336d3b809218a4cd845d71 (HEAD -> 5.13.0, origin/5.13.0)

      Qt config.summary is attached.

      Starting after successful start, calling the Vehicle app causes its crash:

      ➜  neptune ./neptune3-ui          
      [WARN | am.deployment] For the installer to work correctly, the executable needs to be run either as root via sudo or SUID (preferred)           [main.cpp:246]
      [WARN | am.deployment] (using fallback implementation - you might experience permission errors on installer operations)                          [main.cpp:246]
      [WARN | qt.qpa.wayland | qml-launcher] Failed to load client buffer integration: "linux-dmabuf-unstable-v1"
      [WARN | qt.qpa.wayland | qml-launcher] Available client buffer integrations: ("wayland-egl", "xcomposite-egl")
      [WARN | am.graphics | qml-launcher] Failed to create the global shared OpenGL context.                                                     [sharedmain.cpp:230]
      [WARN | am.deployment | qml-launcher] Absolute import path in the runtime configuration can lead to problems inside containers (e.g. "/home/vladimir/development/builds/neptune/imports_shared")                         [launcher-qml.cpp:216]
      [WARN | qt.qpa.wayland | qml-launcher] Failed to load client buffer integration: "linux-dmabuf-unstable-v1"
      [WARN | qt.qpa.wayland | qml-launcher] Failed to load client buffer integration: "linux-dmabuf-unstable-v1"
      [WARN | qt.qpa.wayland | qml-launcher] Available client buffer integrations: ("wayland-egl", "xcomposite-egl")
      [WARN | am.graphics | qml-launcher] Failed to create the global shared OpenGL context.                                                     [sharedmain.cpp:230]
      [WARN | qt.qpa.wayland | qml-launcher] Available client buffer integrations: ("wayland-egl", "xcomposite-egl")
      [WARN | am.graphics | qml-launcher] Failed to create the global shared OpenGL context.                                                     [sharedmain.cpp:230]
      [WARN | am.deployment | qml-launcher] Absolute import path in the runtime configuration can lead to problems inside containers (e.g. "/home/vladimir/development/builds/neptune/imports_shared")                         [launcher-qml.cpp:216]
      [WARN | am.deployment | qml-launcher] Absolute import path in the runtime configuration can lead to problems inside containers (e.g. "/home/vladimir/development/builds/neptune/imports_shared")                         [launcher-qml.cpp:216]
      [WARN | qt.qpa.wayland | qml-launcher] Failed to load client buffer integration: "linux-dmabuf-unstable-v1"
      [WARN | qt.qpa.wayland | qml-launcher] Available client buffer integrations: ("wayland-egl", "xcomposite-egl")
      [WARN | am.graphics | qml-launcher] Failed to create the global shared OpenGL context.                                                     [sharedmain.cpp:230]
      [WARN | qt.qpa.wayland | qml-launcher] Failed to load client buffer integration: "linux-dmabuf-unstable-v1"
      [WARN | qt.qpa.wayland | qml-launcher] Available client buffer integrations: ("wayland-egl", "xcomposite-egl")
      [WARN | am.graphics | qml-launcher] Failed to create the global shared OpenGL context.                                                     [sharedmain.cpp:230]
      [WARN | qt.qpa.wayland | qml-launcher] Failed to load client buffer integration: "linux-dmabuf-unstable-v1"
      [WARN | qt.qpa.wayland | qml-launcher] Available client buffer integrations: ("wayland-egl", "xcomposite-egl")
      [WARN | am.graphics | qml-launcher] Failed to create the global shared OpenGL context.                                                     [sharedmain.cpp:230]
      [WARN | qt.qpa.wayland | qml-launcher] Failed to load client buffer integration: "linux-dmabuf-unstable-v1"
      [WARN | qt.qpa.wayland | qml-launcher] Available client buffer integrations: ("wayland-egl", "xcomposite-egl")
      [WARN | am.graphics | qml-launcher] Failed to create the global shared OpenGL context.                                                     [sharedmain.cpp:230]
      [WARN | am.deployment | qml-launcher] Absolute import path in the runtime configuration can lead to problems inside containers (e.g. "/home/vladimir/development/builds/neptune/imports_shared")                         [launcher-qml.cpp:216]
      [WARN | qt.qpa.wayland | qml-launcher] Failed to load client buffer integration: "linux-dmabuf-unstable-v1"
      [WARN | qt.qpa.wayland | qml-launcher] Available client buffer integrations: ("wayland-egl", "xcomposite-egl")
      [WARN | am.graphics | qml-launcher] Failed to create the global shared OpenGL context.                                                     [sharedmain.cpp:230]
      [WARN | am.deployment | qml-launcher] Absolute import path in the runtime configuration can lead to problems inside containers (e.g. "/home/vladimir/development/builds/neptune/imports_shared")                         [launcher-qml.cpp:216]
      [WARN | am.deployment | qml-launcher] Absolute import path in the runtime configuration can lead to problems inside containers (e.g. "/home/vladimir/development/builds/neptune/imports_shared")                         [launcher-qml.cpp:216]
      [WARN | am.deployment | qml-launcher] Absolute import path in the runtime configuration can lead to problems inside containers (e.g. "/home/vladimir/development/builds/neptune/imports_shared")                         [launcher-qml.cpp:216]
      [WARN | am.deployment | qml-launcher] Absolute import path in the runtime configuration can lead to problems inside containers (e.g. "/home/vladimir/development/builds/neptune/imports_shared")                         [launcher-qml.cpp:216]
      [WARN | default | c.p.map] file:///home/vladimir/development/builds/neptune/apps/com.pelagicore.map/stores/MapStore.qml:215:16: QML RouteQuery: Invalid waypoint                                                             [MapStore.qml:215]
      [WARN | default | c.p.map] file:///home/vladimir/development/builds/neptune/apps/com.pelagicore.map/stores/MapStore.qml:242:16: QML RouteQuery: Invalid waypoint                                                             [MapStore.qml:242]
      [WARN | default | c.p.map] file:///home/vladimir/development/builds/neptune/apps/com.pelagicore.map/stores/MapStore.qml:259:16: QML RouteQuery: Invalid waypoint                                                             [MapStore.qml:259]
      [WARN | qt.remoteobjects | c.p.music] connectionToSource is null
      [WARN | default | c.p.map] file:///home/vladimir/development/builds/neptune/apps/com.pelagicore.map/panels/MapBoxPanel.qml:89:5: QML Map: Plugin is a write-once property, and cannot be set again.                        [MapBoxPanel.qml:89]
      [WARN | qml | c.p.map] Route model error: 2 Operation canceled                                                                               [MapStore.qml:235]
      [WARN | default | c.p.map] file:///home/vladimir/development/builds/neptune/apps/com.pelagicore.map/stores/MapStore.qml:215:16: QML RouteQuery: Invalid waypoint                                                             [MapStore.qml:215]
      [WARN | default] QQmlComponent: Created graphical object was not placed in the graphics scene.
      [INFO | qml | c.p.map] Supported map types:                  [MapStore.qml:119]
      [INFO | qml | c.p.map] 	 mapbox://styles/qtauto/cjcm1by3q12dk2sqnquu0gju9 , description: User provided style , style: 100 , night mode: false[MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/qtauto/cjcm1czb812co2sno1ypmp1r8 , description: User provided style , style: 100 , night mode: false[MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/mapbox/streets-v10 , description: Streets , style: 1 , night mode: false                            [MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/mapbox/basic-v9 , description: Basic , style: 1 , night mode: false                                 [MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/mapbox/bright-v9 , description: Bright , style: 1 , night mode: false                               [MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/mapbox/outdoors-v10 , description: Outdoors , style: 4 , night mode: false                          [MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/mapbox/satellite-v9 , description: Satellite , style: 2 , night mode: false                         [MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/mapbox/satellite-streets-v10 , description: Satellite Streets , style: 5 , night mode: false        [MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/mapbox/light-v9 , description: Light , style: 7 , night mode: false                                 [MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/mapbox/dark-v9 , description: Dark , style: 7 , night mode: false                                   [MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/mapbox/navigation-preview-day-v2 , description: Navigation Preview Day , style: 6 , night mode: false                                                                               [MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/mapbox/navigation-preview-night-v2 , description: Navigation Preview Night , style: 6 , night mode: true                                                                            [MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/mapbox/navigation-guidance-day-v2 , description: Navigation Guidance Day , style: 9 , night mode: false                                                                             [MapStore.qml:123]
      [INFO | qml | c.p.map] 	 mapbox://styles/mapbox/navigation-guidance-night-v2 , description: Navigation Guidance Night , style: 9 , night mode: true                                                                          [MapStore.qml:123]
      [WARN | default | c.p.map] file:///home/vladimir/development/builds/neptune/apps/com.pelagicore.map/helpers/helper.js:35: TypeError: Cannot call method 'createNotification' of undefined                                        [helper.js:35]
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] file:///home/vladimir/development/builds/neptune/apps/com.pelagicore.map/Main.qml:119:21: Unable to assign [undefined] to QDeclarativeGeoMapType*                                                     [Main.qml:119]
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [WARN | default | c.p.map] QOpenGLContext is NULL!
      [INFO | qml | c.p.map] Route model ready, results: 1         [MapStore.qml:224]
      [INFO | qml | c.p.map] Route distance (km): 1389 kilometers , time: 14 hours, 57 minutes                                                     [MapStore.qml:229]
      [INFO | qml | c.p.map] First coord: 49° 35' 43.4" N, 17° 14' 59.2" E                                                                       [MapStore.qml:230]
      [INFO | qml | c.p.map] Home route distance (km): 1389 kilometers , time: 14 hours, 57 minutes                                                [MapStore.qml:251]
      [INFO | qml | c.p.map] Work route distance (km): 1389 kilometers , time: 14 hours, 57 minutes                                                [MapStore.qml:267]
      
      
      
      
      [WARN | qt.qpa.wayland | qml-launcher] Failed to load client buffer integration: "linux-dmabuf-unstable-v1"
      [WARN | qt.qpa.wayland | qml-launcher] Available client buffer integrations: ("wayland-egl", "xcomposite-egl")
      [WARN | am.graphics | qml-launcher] Failed to create the global shared OpenGL context.                                                     [sharedmain.cpp:230]
      [WARN | am.deployment | qml-launcher] Absolute import path in the runtime configuration can lead to problems inside containers (e.g. "/home/vladimir/development/builds/neptune/imports_shared")                         [launcher-qml.cpp:216]
      [WARN | default] QQmlComponent: Created graphical object was not placed in the graphics scene.
      [WARN | Qt3D.Renderer.Backend | c.l.vehicle] virtual void Qt3DRender::Render::Renderer::initialize() OpenGL context creation failed
      [WARN | default | c.l.vehicle] CommandThread: Failed to create local context
      
      *** process /home/vladimir/development/installs/qt513/bin/appman-launcher-qml: com.luxoft.vehicle (126518) crashed ***
      
       > why: uncaught signal 11 (Segmentation fault)
      
       > where: main thread, TID: 126518, pthread ID: 0x7f888c276800
      
       > backtrace:
         1: /home/vladimir/development/installs/qt513/bin/appman-launcher-qml(+0x88c14) [0x55dd9bc12c14]
         2: /home/vladimir/development/installs/qt513/bin/appman-launcher-qml(+0x88e73) [0x55dd9bc12e73]
         3: /home/vladimir/development/installs/qt513/bin/appman-launcher-qml(+0x87480) [0x55dd9bc11480]
         4: /lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7f8889737890]
         5: QOpenGLContext::shareGroup() const [+0]
         6: QOpenGLFunctions::initializeOpenGLFunctions() [+0x4a]
         7: QOpenGLFramebufferObject::QOpenGLFramebufferObject(QSize const&, QOpenGLFramebufferObjectFormat const&) [+0xdd]
         8: /home/vladimir/development/installs/qt513/qml/QtQuick/Scene3D/libqtquickscene3dplugin.so(+0x90d6) [0x7f8872e130d6]
         9: /home/vladimir/development/installs/qt513/qml/QtQuick/Scene3D/libqtquickscene3dplugin.so(+0x949c) [0x7f8872e1349c]
        10: QMetaObject::activate(QObject*, int, int, void**) [+0x99f]
        11: QQuickWindowPrivate::renderSceneGraph(QSize const&) [+0x70]
        12: /home/vladimir/development/installs/qt513/bin/../lib/libQt5Quick.so.5(+0x1dd983) [0x7f888b795983]
        13: /home/vladimir/development/installs/qt513/bin/../lib/libQt5Quick.so.5(+0x1de87f) [0x7f888b79687f]
        14: QWindow::event(QEvent*) [+0xc5]
        15: QQuickWindow::event(QEvent*) [+0x85]
        16: QCoreApplication::notifyInternal2(QObject*, QEvent*) [+0x118]
        17: QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) [+0xca]
        18: QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) [+0x1bd]
        19: QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) [+0xbb]
        20: QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) [+0x2c8]
        21: QtWaylandClient::QWaylandWindow::applyConfigure() [+0x85]
        22: QObject::event(QEvent*) [+0xe2]
        23: QCoreApplication::notifyInternal2(QObject*, QEvent*) [+0x118]
        24: QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) [+0x1a7]
        25: /home/vladimir/development/installs/qt513/bin/../lib/libQt5Core.so.5(+0x2fac13) [0x7f8889c3ec13]
        26: g_main_context_dispatch [+0x2e7]
        27: /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4c650) [0x7f888761f650]
        28: g_main_context_iteration [+0x2c]
        29: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) [+0x5f]
        30: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) [+0x13a]
        31: QCoreApplication::exec() [+0x90]
        32: /home/vladimir/development/installs/qt513/bin/appman-launcher-qml(+0x1b83c) [0x55dd9bba583c]
        33: __libc_start_main [+0xe7]
        34: /home/vladimir/development/installs/qt513/bin/appman-launcher-qml(+0x1c04a) [0x55dd9bba604a]
      
       > qml stack: empty
      
       > the process will be aborted (core dumped)
      
      

      The cluster app crashes if 3D Studio runtime is enabled via the Companion App:

      [WARN | default | c.t.cluster] Studio3D: Qt Quick not running with OpenGL; this is not supported atm
      

      Qt is compiled with

      > ~/development/qt-upstream/qt5-repo/configure -release -opensource -nomake examples -nomake tests -skip qtpim -skip qtdocgallery -opengl es2 -prefix /home/vladimir/development/installs/qt513

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            grigorii grigorii zimin
            vminenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes