Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-122792

[Boot2Qt] Cannot run any application on the Boot2Qt device if the wayland compositor example has been run before

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 6.7.0 Beta3
    • Device Creation
    • None
    • Linux/Yocto

    Description

      I'm not sure if this is as issue at all, but reporting it anyway - maybe it's worth checking.

       

      Linux Ubuntu 22.04

      Qt Creator 12.0.2

      Device: Raspberry Pi4 64 bit 

      Steps to reproduce:

      1. Run any application from Qt Creator using '-platform wayland-egl' command line argument
      2. Run any wayland compositor example in the same way, e.g.: ivi-compositor
      3. Try to run the same app used in step #1.

      Expected: The app should be run.

      Actual: The app crashes.

      17:58:42: Starting /usr/bin/appcontroller /usr/examples/quick/quickwidgets/quickwidget/quickwidget -platform wayland-egl on RPi4...
      "DBUS_SESSION_BUS_ADDRESS" "unix:path=/run/user/0/dbus_session_socket"
      "QTWEBENGINE_DISABLE_SANDBOX" "1"
      "QT_IM_MODULE" "qtvirtualkeyboard"
      "QT_QPA_EGLFS_FORCE888" "1"
      "QT_QPA_EGLFS_KMS_ATOMIC" "0"
      "QT_QPA_PLATFORM" "eglfs"
      "QT_WAYLAND_CLIENT_BUFFER_INTEGRATION" "linux-dmabuf-unstable-v1"
      "WAYLAND_DISPLAY" "/run/wayland-0"
      "XDG_RUNTIME_DIR" "/run/user/0"
      "/usr/examples/quick/quickwidgets/quickwidget/quickwidget" QList("-platform", "wayland-egl")
      qt.qpa.wayland: qtvirtualkeyboard currently is not supported at client-side, use QT_IM_MODULE=qtvirtualkeyboard at compositor-side.
      quit
      Application crashed: /usr/examples/quick/quickwidgets/quickwidget/quickwidget
      Process stopped
      17:59:04: /usr/bin/appcontroller on RPi4 exited with code 017:59:17: Starting /usr/bin/appcontroller /usr/examples/quick/quickwidgets/quickwidget/quickwidget -platform wayland-egl on RPi4...
      "DBUS_SESSION_BUS_ADDRESS" "unix:path=/run/user/0/dbus_session_socket"
      "QTWEBENGINE_DISABLE_SANDBOX" "1"
      "QT_IM_MODULE" "qtvirtualkeyboard"
      "QT_QPA_EGLFS_FORCE888" "1"
      "QT_QPA_EGLFS_KMS_ATOMIC" "0"
      "QT_QPA_PLATFORM" "eglfs"
      "QT_WAYLAND_CLIENT_BUFFER_INTEGRATION" "linux-dmabuf-unstable-v1"
      "WAYLAND_DISPLAY" "/run/wayland-0"
      "XDG_RUNTIME_DIR" "/run/user/0"
      "/usr/examples/quick/quickwidgets/quickwidget/quickwidget" QList("-platform", "wayland-egl")
      Failed to create wl_display (Connection refused)
      qt.qpa.wayland: Failed to initialize EGL display 3001
      qt.qpa.plugin: Could not load the Qt platform plugin "wayland-egl" in "" even though it was found.
      This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are: eglfs, minimal, minimalegl, vkkhrdisplay, wayland, wayland-egl, vnc, offscreen.quit
      Application crashed: /usr/examples/quick/quickwidgets/quickwidget/quickwidget
      Process stopped
      17:59:17: /usr/bin/appcontroller on RPi4 exited with code 0
       

      Reproducibility:  100%
       

      Attachments

        Issue Links

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

          Activity

            People

              sapiippo Samuli Piippo
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes