Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Help me, when ivi-compositor specifies the eglfs plug-in, the client program specifies the wayland plug-in property ,when client visible is changed from true to false and crashes



  • help me
    I found a problem using qt, I don't know how to solve it, the compiled qt 5,12.3 and 5.15.0 both have this problem

    The qt client program uses the Wayland plug-in. When ivi-compositor specifies the linuxfb plug-in, the qt client program can switch between hide and show, but when ivi-compositor specifies the eglfs plug-in, the client program specifies the wayland plug-in , when client property visible is changed from true to false and crashes

    I set up an environment on an embedded development device and compiled qt5.15.0. Contains the qtwayland module. Compiled successfully.

    The compilation environment is as follows:
    unbuntu 18.04,Linux version 4.4.194
    arm-linux-gnueabihf-gcc: gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)
    arm-linux-gnueabihf-g++: gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)

    Embedded development equipment: firefly-rk3288

    Related library installation reference: https://wiki.qt.io/Building_Qt_5_from_Git

    qt: qt-everywhere-src-5.15.0

    Preparation for compilation:
    (1)vi qt-everywhere-src-5.15.0/qtbase/mkspecs/linux-arm-gnueabi-g++/qmake.conf
    (2)Replace arm-linux-gnueabi- with arm-linux-gnueabihf-
    (3)configure parameters: see attachment doconfig-15.0.sh
    (4)configure check result: see attachment config.tar.gz

    Qt source code compilation:
    make & male install

    run:
    Compile ivi-compositor, test qml program
    Note: See the attachment for environment variables, program startup script, program output log.
    program qt screen synthesizer ivi-compositor, and a simple qml client program test
    When ivi-compositor specifies the linuxfb plug-in, the qt program can switch between hiding and showing, everything is perfect.
    But when ivi-compositor specifies eglfs plug-in and check the log, eglfs reports no error, Wayland uses egl and it is no problem. After the qt client program is started, and then change the visible property of the window to false, the ivi-compositor and test program crashes

    ./configure \
    -prefix /opt/qt-5.15.0 \
    -release \
    -v \
    -opensource \
    -platform linux-arm-gnueabi-g++ \
    -pkg-config \
    -make libs \
    -optimized-qmake \
    -opengl es2 \
    -no-sse2 \
    -qt-pcre \
    -pch \
    -eglfs \
    -kms \
    -gbm \
    -shared \
    -nomake examples \
    -nomake tests \
    -qt-zlib \
    -skip qt3d \
    -skip qtcanvas3d \
    -skip qtlocation \
    -skip qtcharts \
    -gstreamer \
    -webengine-alsa \
    -webengine-pulseaudio \
    -webengine-embedded-build \
    -webengine-pepper-plugins \
    -webengine-spellchecker \
    -webengine-webrtc \
    -qt-webengine-webp \
    -qt-webengine-icu \
    -qt-webengine-opus \
    -qt-webengine-ffmpeg \
    
    Build type: linux-arm-gnueabi-g++ (arm, CPU features: <none>)
    Compiler: gcc 7.5.0
    Configuration: compile_examples enable_new_dtags largefile precompile_header shared shared rpath release c++11 c++14 c++17 c++1z concurrent dbus reduce_exports release_tools stl
    Build options:
      Mode ................................... release; optimized tools
      Optimize release build for size ........ no
      Building shared libraries .............. yes
      Using C standard ....................... C11
      Using C++ standard ..................... C++17
      Using ccache ........................... no
      Using new DTAGS ........................ yes
      Relocatable ............................ yes
      Using precompiled headers .............. yes
      Using LTCG ............................. no
      Target compiler supports:
        NEON ................................. no
      Build parts ............................ libs
    Qt modules and options:
      Qt Concurrent .......................... yes
      Qt D-Bus ............................... yes
      Qt D-Bus directly linked to libdbus .... yes
      Qt Gui ................................. yes
      Qt Network ............................. yes
      Qt Sql ................................. yes
      Qt Testlib ............................. yes
      Qt Widgets ............................. yes
      Qt Xml ................................. yes
    Support enabled for:
      Using pkg-config ....................... yes
      udev ................................... yes
      Using system zlib ...................... no
      Zstandard support ...................... no
    Qt Core:
      DoubleConversion ....................... yes
        Using system DoubleConversion ........ no
      GLib ................................... yes
      iconv .................................. no
      ICU .................................... yes
      Built-in copy of the MIME database ..... yes
      Tracing backend ........................ <none>
      Logging backends:
        journald ............................. no
        syslog ............................... no
        slog2 ................................ no
      PCRE2 .................................. yes
        Using system PCRE2 ................... no
    Qt Network:
      getifaddrs() ........................... yes
      IPv6 ifname ............................ yes
      libproxy ............................... no
      Linux AF_NETLINK ....................... yes
      OpenSSL ................................ no
        Qt directly linked to OpenSSL ........ no
      OpenSSL 1.1 ............................ no
      DTLS ................................... no
      OCSP-stapling .......................... no
      SCTP ................................... no
      Use system proxies ..................... yes
      GSSAPI ................................. no
    Qt Gui:
      Accessibility .......................... yes
      FreeType ............................... yes
        Using system FreeType ................ yes
      HarfBuzz ............................... yes
        Using system HarfBuzz ................ yes
      Fontconfig ............................. yes
      Image formats:
        GIF .................................. yes
        ICO .................................. yes
        JPEG ................................. yes
          Using system libjpeg ............... yes
        PNG .................................. yes
          Using system libpng ................ no
      Text formats:
        HtmlParser ........................... yes
        CssParser ............................ yes
        OdfWriter ............................ yes
        MarkdownReader ....................... yes
          Using system libmd4c ............... no
        MarkdownWriter ....................... yes
      EGL .................................... yes
      OpenVG ................................. no
      OpenGL:
        Desktop OpenGL ....................... no
        OpenGL ES 2.0 ........................ yes
        OpenGL ES 3.0 ........................ yes
        OpenGL ES 3.1 ........................ yes
        OpenGL ES 3.2 ........................ yes
      Vulkan ................................. no
      Session Management ..................... yes
    Features used by QPA backends:
      evdev .................................. yes
      libinput ............................... yes
      INTEGRITY HID .......................... no
      mtdev .................................. yes
      tslib .................................. no
      xkbcommon .............................. yes
      X11 specific:
        XLib ................................. yes
        XCB Xlib ............................. yes
        EGL on X11 ........................... yes
        xkbcommon-x11 ........................ no
    QPA backends:
      DirectFB ............................... no
      EGLFS .................................. yes
      EGLFS details:
        EGLFS OpenWFD ........................ no
        EGLFS i.Mx6 .......................... no
        EGLFS i.Mx6 Wayland .................. no
        EGLFS RCAR ........................... no
        EGLFS EGLDevice ...................... yes
        EGLFS GBM ............................ yes
        EGLFS VSP2 ........................... no
        EGLFS Mali ........................... no
        EGLFS Raspberry Pi ................... no
        EGLFS X11 ............................ yes
      LinuxFB ................................ yes
      VNC .................................... yes
    Qt Sql:
      SQL item models ........................ yes
    Qt Widgets:
      GTK+ ................................... no
      Styles ................................. Fusion Windows
    Qt PrintSupport:
      CUPS ................................... no
    Qt Sql Drivers:
      DB2 (IBM) .............................. no
      InterBase .............................. no
      MySql .................................. no
      OCI (Oracle) ........................... no
      ODBC ................................... no
      PostgreSQL ............................. no
      SQLite2 ................................ no
      SQLite ................................. yes
        Using system provided SQLite ......... no
      TDS (Sybase) ........................... no
    Qt Testlib:
      Tester for item models ................. yes
    Serial Port:
      ntddmodm ............................... no
    Qt SerialBus:
      Socket CAN ............................. yes
      Socket CAN FD .......................... yes
      SerialPort Support ..................... yes
    Further Image Formats:
      JasPer ................................. no
      MNG .................................... no
      TIFF ................................... yes
        Using system libtiff ................. yes
      WEBP ................................... yes
        Using system libwebp ................. no
    Qt QML:
      QML network support .................... yes
      QML debugging and profiling support .... yes
      QML just-in-time compiler .............. yes
      QML sequence object .................... yes
      QML XML http request ................... yes
      QML Locale ............................. yes
    Qt QML Models:
      QML list model ......................... yes
      QML delegate model ..................... yes
    Qt Quick:
      Direct3D 12 ............................ no
      AnimatedImage item ..................... yes
      Canvas item ............................ yes
      Support for Qt Quick Designer .......... yes
      Flipable item .......................... yes
      GridView item .......................... yes
      ListView item .......................... yes
      TableView item ......................... yes
      Path support ........................... yes
      PathView item .......................... yes
      Positioner items ....................... yes
      Repeater item .......................... yes
      ShaderEffect item ...................... yes
      Sprite item ............................ yes
    QtQuick3D:
      Assimp ................................. yes
      System Assimp .......................... no
    Qt Scxml:
      ECMAScript data model for QtScxml ...... yes
    Qt Gamepad:
      SDL2 ................................... no
    Qt Wayland Drivers:
      EGL .................................... yes
      Raspberry Pi ........................... no
      XComposite EGL ......................... yes
      XComposite GLX ......................... no
      DRM EGL ................................ yes
      libhybris EGL .......................... no
      Linux dma-buf server buffer integration . yes
      Vulkan-based server buffer integration . no
      Shm emulation server buffer integration . yes
    Qt Wayland Client Shell Integrations:
      xdg-shell .............................. yes
      xdg-shell unstable v5 (deprecated) ..... yes
      xdg-shell unstable v6 .................. yes
      ivi-shell .............................. yes
      wl-shell (deprecated) .................. yes
    Qt Wayland Client ........................ yes
    Qt Wayland Compositor .................... yes
    Qt Wayland Compositor Layer Plugins:
      VSP2 hardware layer integration ........ no
    Qt Bluetooth:
      BlueZ .................................. no
      BlueZ Low Energy ....................... no
      Linux Crypto API ....................... no
      Native Win32 Bluetooth ................. no
      WinRT Bluetooth API (desktop & UWP) .... no
      WinRT advanced bluetooth low energy API (desktop & UWP) . no
    Qt Sensors:
      sensorfw ............................... no
    Qt Quick Controls 2:
      Styles ................................. Default Fusion Imagine Material Universal
    Qt Quick Templates 2:
      Hover support .......................... yes
      Multi-touch support .................... yes
    QtXmlPatterns:
      XML schema support ..................... yes
    Qt Multimedia:
      ALSA ................................... yes
      GStreamer 1.0 .......................... yes
      GStreamer 0.10 ......................... no
      Video for Linux ........................ yes
      OpenAL ................................. no
      PulseAudio ............................. yes
      Resource Policy (libresourceqt5) ....... no
      Windows Audio Services ................. no
      DirectShow ............................. no
      Windows Media Foundation ............... no
    Qt TextToSpeech:
      Flite .................................. no
      Flite with ALSA ........................ no
      Speech Dispatcher ...................... no
    Qt Tools:
      Qt Assistant ........................... yes
      Qt Designer ............................ yes
      Qt Distance Field Generator ............ yes
      kmap2qmap .............................. yes
      Qt Linguist ............................ yes
      Mac Deployment Tool .................... no
      makeqpf ................................ yes
      pixeltool .............................. yes
      qdbus .................................. yes
      qev .................................... yes
      Qt Attributions Scanner ................ yes
      qtdiag ................................. yes
      qtpaths ................................ yes
      qtplugininfo ........................... yes
      Windows deployment tool ................ no
      WinRT Runner Tool ...................... no
    Qt Tools:
      QDoc ................................... yes
    Qt WebEngine Build Tools:
      Use System Ninja ....................... yes
      Use System Gn .......................... no
      Jumbo Build Merge Limit ................ 8
      Developer build ........................ no
      QtWebEngine required system libraries:
        fontconfig ........................... yes
        dbus ................................. yes
        nss .................................. yes
        khr .................................. yes
        glibc ................................ yes
      Optional system libraries used:
        re2 .................................. no
        icu .................................. no
        libwebp, libwebpmux and libwebpdemux . no
        opus ................................. no
        ffmpeg ............................... no
        libvpx ............................... no
        snappy ............................... no
        glib ................................. yes
        zlib ................................. no
        minizip .............................. no
        libevent ............................. yes
        jsoncpp .............................. no
        protobuf ............................. no
        libxml2 and libxslt .................. yes
        lcms2 ................................ no
        png .................................. no
        JPEG ................................. yes
        harfbuzz ............................. no
        freetype ............................. yes
        xkbcommon ............................ yes
    Qt WebEngineCore:
      Embedded build ......................... yes
      Full debug information ................. no
      Pepper Plugins ......................... yes
      Printing and PDF ....................... no
      Proprietary Codecs ..................... no
      Spellchecker ........................... yes
      Native Spellchecker .................... no
      WebRTC ................................. yes
      Geolocation ............................ no
      WebChannel support ..................... yes
      Kerberos Authentication ................ no
      Extensions ............................. no
      Support qpa-xcb ........................ yes
      Use ALSA ............................... yes
      Use PulseAudio ......................... yes
    Qt WebEngineQml:
      Support Qt WebEngine Qml ............... yes
      UI Delegates ........................... yes
      Test Support ........................... no
    Qt WebEngineWidgets:
      Support Qt WebEngine Widgets ........... yes
    Qt PDF:
      Support V8 ............................. no
      Support XFA ............................ no
      Support XFA-BMP ........................ no
      Support XFA-GIF ........................ no
      Support XFA-PNG ........................ no
      Support XFA-TIFF ....................... no
    Qt PDF Widgets:
      Support Qt PDF Widgets ................. yes
    
    Note: -optimized-tools is not useful in -release mode.
    
    WARNING: Thumb instruction set is required to build ffmpeg for QtWebEngine.
    
    export QTDIR=/opt/qt-5.15.0
    export PATH=$QTDIR/bin:$PATH
    export QT_FONTDIR=$QTDIR/lib/fontss
    export QT_QPA_PLATFORM_PLUGIN_PATH=$QTDIR/plugins
    export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
    export QML2_IMPORT_PATH=$QTDIR/qml
    
    1、When ivi-compositor specifies the linuxfb plug-in, the qt client program can switch between hide and show
    
    #!/bin/bash
    export QML2_IMPORT_PATH=$QTDIR/qml
    export QT_QPA_FB_DRM=1
    export QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0:rotation=90
    export QT_QPA_FONTDIR=$QTDIR/lib/fonts
    QT_WAYLAND_SHELL_INTEGRATION=ivi_shell
    
    ./ivi-compositor & 
    sleep 2
    ./test -platform wayland
    
    >>>>>> Print log   <<<<<<<<<
    QtCompositor: Failed to initialize EGL display. Could not get EglDisplay for window.
    QT_WAYLAND_DISABLE_HW_INTEGRATION:  false
    Display hardware Integration:  true
    Display client Buffer Integration:  "wayland-egl"
    targetKey:  "wayland-egl"
    keys:  "wayland-egl xcomposite-egl"
    Using Wayland-EGL
    mClientBufferIntegration is nut nullptr...
    display->wl_display() isNull:  0x80cf35f0
    eglPlatform:  ""
    ###### extensionName:  EGL_EXT_platform_base
    ###### EGL_CLIENT_APIS:
    ###### EGL_VENDOR:
    ###### EGL_VERSION:
    ###### EGL_EXTENSIONS:  EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm EGL_MESA_platform_gbm EGL_KHR_platform_wayland EGL_EXT_platform_wayland
    --------- 11111111111111  ----------
    ###### extensionName:  EGL_KHR_platform_wayland
    ###### EGL_CLIENT_APIS:
    ###### EGL_VENDOR:
    ###### EGL_VERSION:
    ###### EGL_EXTENSIONS:  EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_platform_gbm EGL_MESA_platform_gbm EGL_KHR_platform_wayland EGL_EXT_platform_wayland
    --------- 1  222  ----------
    failed to initialize EGL display
    Using the 'ivi-shell' shell integration
    Can't configure ivi_surface with an invalid size QSize(-1, -1)
    Can't configure ivi_surface with an invalid size QSize(-1, -1)
    
    
    2、when ivi-compositor specifies eglfs plug-in and check the log, eglfs reports no error, Wayland uses egl and it is no problem. After the qt client program is started, and then change the visible property of the window to false, the ivi-compositor and test program crashes
    
    #!/bin/bash
    export QML2_IMPORT_PATH=$QTDIR/qml
    export QT_QPA_EGLFS_INTEGRATION=eglfs_kms  #none eglfs_kms
    export QT_QPA_EVDEV_MOUSE_PARAMETERS=abs
    export QT_QPA_EGLFS_KMS_CONFIG=config.json      #eglfs.json
    export QT_QPA_EGLFS_KMS_ATOMIC=1
    export QT_QPA_FB_DRM=1
    export QT_QPA_EGLFS_DEBUG=1
    export QT_QPA_PLATFORM=eglfs
    export QT_QPA_FONTDIR=$QTDIR/lib/fonts
    export QT_QPA_EGLFS_FB=/dev/fb0
    export QT_QPA_EGLFS_DEPTH=32
    export QT_QPA_EGLFS_WIDTH=1920
    export QT_QPA_EGLFS_HEIGHT=1080
    #export QT_QPA_EGLFS_PHYSICAL_WIDTH=230
    #export QT_QPA_EGLFS_PHYSICAL_HEIGHT=130
    #export QT_QPA_EGLFS_ALWAYS_SET_MODE=1
    QT_WAYLAND_SHELL_INTEGRATION=ivi_shell
    #QT_IVI_SURFACE_ID=1337
    
    ./ivi-compositor & 
    sleep 2
    ./test -platform wayland
    
    
    >>>>>> Print log   <<<<<<<<<
    Created context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) with config:
            EGL_BUFFER_SIZE: 24
            EGL_ALPHA_SIZE: 0
            EGL_BLUE_SIZE: 8
            EGL_GREEN_SIZE: 8
            EGL_RED_SIZE: 8
            EGL_DEPTH_SIZE: 24
            EGL_STENCIL_SIZE: 8
            EGL_CONFIG_CAVEAT: 12344
            EGL_CONFIG_ID: 10
            EGL_LEVEL: 0
            EGL_MAX_PBUFFER_HEIGHT: 8192
            EGL_MAX_PBUFFER_PIXELS: 67108864
            EGL_MAX_PBUFFER_WIDTH: 8192
            EGL_NATIVE_RENDERABLE: 0
            EGL_NATIVE_VISUAL_ID: 875713112
            EGL_NATIVE_VISUAL_TYPE: -1
            EGL_SAMPLES: 0
            EGL_SAMPLE_BUFFERS: 0
            EGL_SURFACE_TYPE: 1029
            EGL_TRANSPARENT_TYPE: 12344
            EGL_TRANSPARENT_BLUE_VALUE: 0
            EGL_TRANSPARENT_GREEN_VALUE: 0
            EGL_TRANSPARENT_RED_VALUE: 0
            EGL_BIND_TO_TEXTURE_RGB: 1
            EGL_BIND_TO_TEXTURE_RGBA: 0
            EGL_MIN_SWAP_INTERVAL: 0
            EGL_MAX_SWAP_INTERVAL: 1
    Can't configure ivi_surface with an invalid size QSize(-1, -1)
    Can't configure ivi_surface with an invalid size QSize(-1, -1)
    qrc:/main.qml:95: TypeError: Cannot read property 'sendConfigure' of null
    The Wayland connection broke. Did the Wayland compositor die?
    ./ss.sh: line 54:  1903 Segmentation fault      (core dumped) ./$1
    ./ss.sh: line 54:  1919 Aborted                 (core dumped) ./$2 -platform wayland
    


  • Created context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile) with config:
    EGL_BUFFER_SIZE: 24
    EGL_ALPHA_SIZE: 0
    EGL_BLUE_SIZE: 8
    EGL_GREEN_SIZE: 8
    EGL_RED_SIZE: 8
    EGL_DEPTH_SIZE: 24
    EGL_STENCIL_SIZE: 8
    EGL_CONFIG_CAVEAT: 12344
    EGL_CONFIG_ID: 10
    EGL_LEVEL: 0
    EGL_MAX_PBUFFER_HEIGHT: 8192
    EGL_MAX_PBUFFER_PIXELS: 67108864
    EGL_MAX_PBUFFER_WIDTH: 8192
    EGL_NATIVE_RENDERABLE: 0
    EGL_NATIVE_VISUAL_ID: 875713112
    EGL_NATIVE_VISUAL_TYPE: -1
    EGL_SAMPLES: 0
    EGL_SAMPLE_BUFFERS: 0
    EGL_SURFACE_TYPE: 1029
    EGL_TRANSPARENT_TYPE: 12344
    EGL_TRANSPARENT_BLUE_VALUE: 0
    EGL_TRANSPARENT_GREEN_VALUE: 0
    EGL_TRANSPARENT_RED_VALUE: 0
    EGL_BIND_TO_TEXTURE_RGB: 1
    EGL_BIND_TO_TEXTURE_RGBA: 0
    EGL_MIN_SWAP_INTERVAL: 0
    EGL_MAX_SWAP_INTERVAL: 1
    [2171283.136] -> wl_display@1.get_registry(new id wl_registry@2)
    [2171283.439] -> wl_display@1.sync(new id wl_callback@3)
    [2171283.682] wl_display@1.get_registry(new id wl_registry@2)
    [2171284.001] -> wl_registry@2.global(1, "ivi_application", 1)
    [2171284.392] -> wl_registry@2.global(2, "wl_compositor", 3)
    [2171284.584] -> wl_registry@2.global(3, "wl_subcompositor", 1)
    [2171284.769] -> wl_registry@2.global(4, "wl_data_device_manager", 1)
    [2171284.955] -> wl_registry@2.global(5, "wl_shm", 1)
    [2171285.446] -> wl_registry@2.global(6, "qt_hardware_integration", 1)
    [2171285.642] -> wl_registry@2.global(7, "mali_buffer_sharing", 4)
    [2171286.364] -> wl_registry@2.global(8, "wl_seat", 4)
    [2171286.965] -> wl_registry@2.global(9, "wl_output", 2)
    [2171287.697] -> wl_registry@2.global(10, "wp_viewporter", 1)
    [2171288.255] wl_display@1.sync(new id wl_callback@3)
    [2171288.706] -> wl_callback@3.done(0)
    [2171288.822] -> wl_display@1.delete_id(3)
    [2171289.483] wl_display@1.delete_id(3)
    [2171289.674] wl_registry@2.global(1, "ivi_application", 1)
    [2171289.831] wl_registry@2.global(2, "wl_compositor", 3)
    [2171289.891] -> wl_registry@2.bind(2, "wl_compositor", 3, new id [unknown]@4)
    [2171289.991] wl_registry@2.global(3, "wl_subcompositor", 1)
    [2171290.144] -> wl_registry@2.bind(3, "wl_subcompositor", 1, new id [unknown]@5)
    [2171290.233] wl_registry@2.global(4, "wl_data_device_manager", 1)
    [2171290.333] -> wl_registry@2.bind(4, "wl_data_device_manager", 1, new id [unknown]@6)
    [2171290.421] wl_registry@2.global(5, "wl_shm", 1)
    [2171290.481] -> wl_registry@2.bind(5, "wl_shm", 1, new id [unknown]@7)
    [2171290.571] wl_registry@2.global(6, "qt_hardware_integration", 1)
    [2171290.656] -> wl_registry@2.bind(6, "qt_hardware_integration", 1, new id [unknown]@8)
    [2171290.758] -> wl_display@1.sync(new id wl_callback@9)
    [2171290.796] wl_registry@2.global(7, "mali_buffer_sharing", 4)
    [2171290.849] wl_registry@2.global(8, "wl_seat", 4)
    [2171290.918] -> wl_registry@2.bind(8, "wl_seat", 4, new id [unknown]@10)
    [2171291.003] -> wl_data_device_manager@6.get_data_device(new id wl_data_device@11, wl_seat@10)
    [2171291.089] wl_registry@2.global(9, "wl_output", 2)
    [2171291.159] -> wl_registry@2.bind(9, "wl_output", 2, new id [unknown]@12)
    [2171291.238] wl_registry@2.global(10, "wp_viewporter", 1)
    [2171291.287] wl_callback@3.done(0)
    [2171291.623] wl_registry@2.bind(2, "wl_compositor", 3, new id [unknown]@4)
    [2171292.326] wl_registry@2.bind(3, "wl_subcompositor", 1, new id [unknown]@5)
    [2171292.734] wl_registry@2.bind(4, "wl_data_device_manager", 1, new id [unknown]@6)
    [2171293.173] wl_registry@2.bind(5, "wl_shm", 1, new id [unknown]@7)
    [2171293.546] -> wl_shm@7.format(0)
    [2171293.669] -> wl_shm@7.format(1)
    [2171293.819] -> wl_shm@7.format(1)
    [2171293.964] -> wl_shm@7.format(0)
    [2171294.112] -> wl_shm@7.format(909199186)
    [2171294.264] -> wl_shm@7.format(892424792)
    [2171294.409] -> wl_shm@7.format(875710290)
    [2171294.553] -> wl_shm@7.format(842093144)
    [2171294.668] -> wl_shm@7.format(842093121)
    [2171294.783] -> wl_shm@7.format(875709016)
    [2171294.928] -> wl_shm@7.format(875708993)
    [2171295.099] -> wl_shm@7.format(808665688)
    [2171295.247] -> wl_shm@7.format(808665665)
    [2171295.354] -> wl_shm@7.format(808669784)
    [2171295.435] -> wl_shm@7.format(808669761)
    [2171295.492] -> wl_shm@7.format(538982467)
    [2171295.561] wl_registry@2.bind(6, "qt_hardware_integration", 1, new id [unknown]@8)
    [2171296.038] -> qt_hardware_integration@8.client_backend("wayland-egl")
    [2171296.221] wl_display@1.sync(new id wl_callback@9)
    [2171296.414] -> wl_callback@9.done(0)
    [2171296.563] -> wl_display@1.delete_id(9)
    [2171296.694] wl_registry@2.bind(8, "wl_seat", 4, new id [unknown]@10)
    [2171296.921] -> wl_seat@10.capabilities(7)
    [2171296.996] wl_data_device_manager@6.get_data_device(new id wl_data_device@11, wl_seat@10)
    [2171297.448] wl_registry@2.bind(9, "wl_output", 2, new id [unknown]@12)
    [2171297.746] -> wl_output@12.geometry(0, 0, -1, -1, 0, "", "", 0)
    [2171298.376] -> wl_output@12.mode(3, 1920, 1080, 60000)
    [2171298.665] -> wl_output@12.scale(1)
    [2171298.836] -> wl_output@12.done()
    [2171299.294] wl_display@1.delete_id(9)
    [2171299.414] wl_shm@7.format(0)
    [2171299.510] wl_shm@7.format(1)
    [2171299.753] wl_shm@7.format(1)
    [2171300.019] wl_shm@7.format(0)
    [2171300.251] wl_shm@7.format(909199186)
    [2171300.272] wl_shm@7.format(892424792)
    [2171300.291] wl_shm@7.format(875710290)
    [2171300.319] wl_shm@7.format(842093144)
    [2171300.381] wl_shm@7.format(842093121)
    [2171300.398] wl_shm@7.format(875709016)
    [2171300.457] wl_shm@7.format(875708993)
    [2171300.480] wl_shm@7.format(808665688)
    [2171300.544] wl_shm@7.format(808665665)
    [2171300.573] wl_shm@7.format(808669784)
    [2171300.595] wl_shm@7.format(808669761)
    [2171300.621] wl_shm@7.format(538982467)
    [2171300.691] qt_hardware_integration@8.client_backend("wayland-egl")
    [2171300.727] wl_callback@9.done(0)
    [2171300.757] wl_seat@10.capabilities(7)
    [2171300.879] -> wl_seat@10.get_keyboard(new id wl_keyboard@9)
    [2171300.969] -> wl_seat@10.get_pointer(new id wl_pointer@3)
    [2171301.017] -> wl_seat@10.get_touch(new id wl_touch@13)
    [2171301.145] wl_output@12.geometry(0, 0, -1, -1, 0, "", "", 0)
    [2171301.244] wl_output@12.mode(3, 1920, 1080, 60000)
    [2171301.324] wl_output@12.scale(1)
    [2171301.358] wl_output@12.done()
    [2171361.107] -> wl_display@1.get_registry(new id wl_registry@14)
    [2171361.363] -> wl_display@1.sync(new id wl_callback@15)
    [2171361.759] wl_seat@10.get_keyboard(new id wl_keyboard@9)
    [2171362.260] -> wl_keyboard@9.repeat_info(40, 400)
    [2171362.469] -> wl_keyboard@9.keymap(1, fd 33, 48257)
    [2171362.719] wl_seat@10.get_pointer(new id wl_pointer@3)
    [2171362.936] wl_seat@10.get_touch(new id wl_touch@13)
    [2171363.280] wl_display@1.get_registry(new id wl_registry@14)
    [2171363.362] -> wl_registry@14.global(1, "ivi_application", 1)
    [2171363.464] -> wl_registry@14.global(2, "wl_compositor", 3)
    [2171363.655] -> wl_registry@14.global(3, "wl_subcompositor", 1)
    [2171364.112] -> wl_registry@14.global(4, "wl_data_device_manager", 1)
    [2171364.451] -> wl_registry@14.global(5, "wl_shm", 1)
    [2171364.880] -> wl_registry@14.global(6, "qt_hardware_integration", 1)
    [2171365.226] -> wl_registry@14.global(7, "mali_buffer_sharing", 4)
    [2171365.584] -> wl_registry@14.global(8, "wl_seat", 4)
    [2171365.882] -> wl_registry@14.global(9, "wl_output", 2)
    [2171366.030] -> wl_registry@14.global(10, "wp_viewporter", 1)
    [2171366.263] wl_display@1.sync(new id wl_callback@15)
    [2171366.403] -> wl_callback@15.done(0)
    [2171366.511] -> wl_display@1.delete_id(15)
    [2171366.842] wl_display@1.delete_id(15)
    [2171366.945] wl_registry@14.global(1, "ivi_application", 1)
    [2171367.255] wl_registry@14.global(2, "wl_compositor", 3)
    [2171367.671] wl_registry@14.global(3, "wl_subcompositor", 1)
    [2171367.836] wl_registry@14.global(4, "wl_data_device_manager", 1)
    [2171367.936] wl_registry@14.global(5, "wl_shm", 1)
    [2171368.032] wl_registry@14.global(6, "qt_hardware_integration", 1)
    [2171368.376] wl_registry@14.global(7, "mali_buffer_sharing", 4)
    [2171368.680] -> wl_registry@14.bind(7, "mali_buffer_sharing", 4, new id [unknown]@16)
    [2171368.973] wl_registry@14.global(8, "wl_seat", 4)
    [2171369.333] wl_registry@14.global(9, "wl_output", 2)
    [2171369.642] wl_registry@14.global(10, "wp_viewporter", 1)
    [2171369.833] wl_callback@15.done(0)
    [2171370.012] -> wl_display@1.sync(new id wl_callback@17)
    [2171370.256] wl_registry@14.bind(7, "mali_buffer_sharing", 4, new id [unknown]@16)
    [2171370.647] -> mali_buffer_sharing@16.alloc_device("display-subsystem")
    [2171370.775] wl_display@1.sync(new id wl_callback@17)
    [2171370.918] -> wl_callback@17.done(0)
    [2171371.026] -> wl_display@1.delete_id(17)
    [2171371.591] wl_display@1.delete_id(17)
    [2171371.727] mali_buffer_sharing@16.alloc_device("display-subsystem")
    [2171372.258] wl_callback@17.done(0)
    [2171372.431] -> mali_buffer_sharing@16.auth(1)
    [2171372.554] -> wl_display@1.sync(new id wl_callback@18)
    [2171372.968] mali_buffer_sharing@16.auth(1)
    [2171373.297] wl_display@1.sync(new id wl_callback@18)
    [2171373.447] -> wl_callback@18.done(0)
    [2171373.560] -> wl_display@1.delete_id(18)
    [2171373.780] wl_display@1.delete_id(18)
    [2171373.913] wl_callback@18.done(0)
    [2171381.208] -> wl_compositor@4.create_surface(new id wl_surface@19)
    [2171399.346] -> wl_registry@2.bind(1, "ivi_application", 1, new id [unknown]@20)
    [2171399.882] -> ivi_application@20.surface_create(16876, wl_surface@19, new id ivi_surface@21)
    [2171401.270] -> wl_surface@19.set_buffer_scale(1)
    [2171402.119] -> wl_surface@19.set_buffer_transform(0)
    [2171402.490] -> wl_surface@19.commit()
    [2171402.827] wl_keyboard@9.repeat_info(40, 400)
    [2171403.235] wl_keyboard@9.keymap(1, fd 10, 48257)
    [2171419.225] -> wl_compositor@4.create_region([2171419.317] wl_compositor@4.create_surface(new id wl_surface@19)
    new id wl_region@22)
    [2171419.658] -> wl_region@22.add(0, 0, 640, 480[2171419.888] wl_registry@2.bind(1, "ivi_application", )
    [2171420.322] -> wl_surface@19.set_opaque_region(1, wl_region@22new id [unknown]@20)
    )
    [2171420.666] -> wl_region@22.destroy([2171420.673] ivi_application@20.surface_create(16876, )
    wl_surface@19, new id ivi_surface@21)
    Can't configure ivi_surface with an invalid size QSize(-1, -1)
    Can't configure ivi_surface with an invalid size QSize(-1, -1)
    [2171426.375] -> ivi_surface@21.configure(1920, 1026)
    [2171427.020] -> ivi_surface@21.configure(1920, 1026)
    [2171427.278] -> ivi_surface@21.configure(1920, 1026)
    [2171427.411] wl_surface@19.set_buffer_scale(1)
    [2171427.478] wl_surface@19.set_buffer_transform(0)
    [2171427.554] wl_surface@19.commit()
    [2171427.828] wl_compositor@4.create_region(new id wl_region@22)
    [2171427.948] wl_region@22.add(0, 0, 640, 480)
    [2171428.187] wl_surface@19.set_opaque_region(wl_region@22)
    [2171428.303] wl_region@22.destroy()
    [2171428.415] -> wl_display@1.delete_id(22)
    [2171428.508] -> wl_compositor@4.create_surface(new id wl_surface@23)
    [2171438.934] -> wl_surface@23.attach(nil, 0, 0)
    [2171440.186] -> wl_surface@23.commit()
    [2171440.759] -> wl_surface@23.destroy()
    [2171441.227] -> wl_compositor@4.create_surface([2171441.254] wl_compositor@4.create_surface(new id wl_surface@23)
    [2171441.486] wl_surface@23.attach(nil, 0, 0)
    [2171441.691] wl_surface@23.commit()
    new id wl_surface@24)
    [2171453.628] -> mali_buffer_sharing@16.create_buffer(new id wl_buffer@25, 640, 480, 2560, 0, 17544714, fd 13)
    [2171459.108] -> wl_surface@19.frame(new id wl_callback@26)
    [2171461.779] ivi_surface@21.configure(1920, 1026)
    [2171462.020] -> wl_surface@19.frame(new id wl_callback@27)
    [2171462.372] -> wl_surface@19.attach(wl_buffer@25, 0, 0)
    [2171462.765] -> wl_surface@19.damage(0, 0, 2147483647, 2147483647)
    [2171463.248] -> wl_surface@19.commit()
    [2171463.707] wl_surface@23.destroy()
    [2171464.014] -> wl_display@1.delete_id(23)
    [2171464.202] wl_compositor@4.create_surface(new id wl_surface@24)
    [2171464.372] mali_buffer_sharing@16.create_buffer(new id wl_buffer@25, 640, 480, 2560, 0, 17544714, fd 34)
    [2171464.528] wl_surface@19.frame(new id wl_callback@26)
    [2171464.603] wl_surface@19.frame(new id wl_callback@27)
    [2171464.685] wl_surface@19.attach(wl_buffer@25, 0, 0)
    [2171465.121] ivi_surface@21.configure(1920, 1026)
    [2171465.212] ivi_surface@21.configure(1920, 1026)
    [2171465.540] -> wl_compositor@4.create_region(new id wl_region@28)
    [2171465.604] -> wl_region@28.add(0, 0, 1920, 1026)
    [2171465.641] -> wl_surface@19.set_opaque_region(wl_region@28)
    [2171465.659] -> wl_region@28.destroy()
    [2171466.268] wl_surface@19.damage(0, 0, 2147483647, 2147483647)
    [2171466.380] wl_surface@19.commit()
    [2171466.802] -> ivi_surface@21.configure(1920, 1026)
    [2171466.940] -> ivi_surface@21.configure(1920, 1026)
    [2171467.202] -> ivi_surface@21.configure(1920, 1026)
    [2171467.358] -> ivi_surface@21.configure(1920, 1026)
    [2171479.859] -> wl_surface@19.enter(wl_output@12)
    [2171480.016] -> wl_callback@26.done(1793)
    [2171480.041] -> wl_display@1.delete_id(26)
    [2171480.134] -> wl_callback@27.done([2171480.112] -> mali_buffer_sharing@16.create_buffer(1793)
    new id wl_buffer@29[2171480.284] -> wl_display@1.delete_id(, 271920)
    , 1026, 7680, 0, 17544714, fd 13)
    [2171483.571] wl_display@1.delete_id(22)
    [2171483.641] wl_compositor@4.create_region(new id wl_region@28)
    [2171483.755] wl_region@28.add(0, 0[2171483.790] wl_display@1.delete_id(, 231920)
    , 1026)
    [2171483.958] wl_display@1.delete_id(26)
    [2171483.982] wl_surface@19.set_opaque_region(wl_region@28)
    [2171483.993] wl_display@1.delete_id(27)
    [2171484.015] wl_region@28.destroy()
    [2171484.028] wl_callback@26.done(1793[2171484.052] -> wl_display@1.delete_id()
    28)
    [2171484.210] mali_buffer_sharing@16.create_buffer([2171484.232] -> wl_surface@19.frame(new id wl_buffer@new id wl_callback@2926, )
    1920, 1026, 7680, 0, 17544714, fd 35)
    [2171487.212] ivi_surface@21.configure(1920, 1026)
    [2171487.369] ivi_surface@21.configure(1920, 1026)
    [2171487.458] ivi_surface@21.configure(1920, 1026)
    [2171487.532] ivi_surface@21.configure(1920, 1026)
    [2171487.557] wl_surface@19.enter(wl_output@12)
    [2171487.929] wl_surface@19.frame(new id wl_callback@26)
    [2171491.206] wl_callback@27.done(1793)
    [2171491.336] -> wl_surface@19.frame(new id wl_callback@27)
    [2171491.397] -> wl_surface@19.attach(wl_buffer@29, 0, 0)
    [2171491.478] -> wl_surface@19.damage(0, 0, 2147483647, 2147483647)
    [2171491.513] -> wl_surface@19.commit()
    [2171491.736] wl_surface@19.frame(new id wl_callback@27)
    [2171491.824] wl_surface@19.attach(wl_buffer@29, 0, 0)
    [2171492.406] wl_surface@19.damage(0, 0, 2147483647, 2147483647)
    [2171492.532] wl_surface@19.commit()
    [2171498.023] -> wl_buffer@25.release()
    [2171499.478] -> wl_callback@26.done(1812)
    [2171499.590] -> wl_display@1.delete_id(26)
    [2171499.611] -> wl_callback@27.done(1812)
    [2171499.628] -> wl_display@1.delete_id(27)
    [2171516.791] -> mali_buffer_sharing@16.create_buffer(new id wl_buffer@23, 1920, 1026, 7680, 0, 17544714, fd 13)
    [2171518.037] wl_display@1.delete_id(28)
    [2171518.179] wl_display@1.delete_id(26)
    [2171518.204] wl_display@1.delete_id(27)
    [2171518.226] wl_callback@26.done(1812)
    [2171518.272] mali_buffer_sharing@16.create_buffer([2171518.307] -> wl_surface@19.frame(new id wl_callback@new id wl_buffer@2623)
    , 1920, 1026, 7680, 0, 17544714, fd 36)
    [2171521.566] wl_surface@19.frame(new id wl_callback@26)
    [2171524.537] wl_buffer@25.release()
    [2171524.678] wl_callback@27.done(1812)
    [2171524.824] -> wl_surface@19.frame(new id wl_callback@27)
    [2171524.915] -> wl_surface@19.attach(wl_buffer@23, 0, 0)
    [2171525.015] -> wl_surface@19.damage(0, 0, 2147483647, 2147483647)
    [2171525.442] -> wl_surface@19.commit()
    [2171525.757] wl_surface@19.frame(new id wl_callback@27)
    [2171525.972] wl_surface@19.attach(wl_buffer@23, 0, 0)
    [2171526.838] wl_surface@19.damage(0, 0, 2147483647, 2147483647)
    [2171527.272] wl_surface@19.commit()
    [2171532.880] -> wl_buffer@29.release()
    [2171534.673] -> wl_callback@26.done(1847)
    [2171534.816] -> wl_display@1.delete_id(26)
    [2171534.850] -> wl_callback@27.done(1847)
    [2171534.976] -> wl_display@1.delete_id(27)
    [2171535.277] wl_display@1.delete_id(26)
    [2171535.378] wl_display@1.delete_id(27)
    [2171535.411] wl_callback@26.done(1847)
    [2174467.160] -> ivi_surface@21.destroy()
    [2174467.507] -> wl_surface@19.destroy()
    ./testeglfs.sh: line 38: 16876 Segmentation fault (core dumped) ./TestEglHideDumpd -platform wayland