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

KMS screen mirroring locks up on imx8 boards

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5
    • QPA: KMS
    • None
    • Linux/Yocto

    Description

      Running Qt in a imx8 board with dual display and mirroring enabled, leads to application freezing.  Only the first frame of application is successfully drawn to both displays. Same with both QML and widget applications.

      Using QT_QPA_EGLFS_KMS_CONFIG file:

      {
        "hwcursor": false,
        "device": "/dev/dri/card0",
        "outputs": [
           {
           "name": "HDMI1",
           "mode": "1280x800"
           },
           {
           "name": "HDMI2",
           "mode": "1280x800",
           "clones": "HDMI1"
           }
        ]
      } 

      Last logs from qt.scenegraph.renderloop

      qt.scenegraph.renderloop: polishAndSync (in expose) StartupScreen_QMLTYPE_23(0xaaab0ed6cfe0 active exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 1280x800)
      qt.scenegraph.renderloop: - lock for sync
      qt.scenegraph.renderloop: - wait for sync
      qt.scenegraph.renderloop:                     (RT) WM_RequestSync
      qt.scenegraph.renderloop:                     (RT) - triggered from expose
      qt.scenegraph.renderloop:                     (RT) --- done processEventsAndWaitForMore()
      qt.scenegraph.renderloop:                     (RT) syncAndRender()
      qt.scenegraph.renderloop:                     (RT) - updatePending, doing sync
      qt.scenegraph.renderloop:                     (RT) sync()
      qt.scenegraph.renderloop:                     (RT) - rendering started
      

      GPU drivers version:

      kernel-module-imx-gpu-viv - 6.4.3.p4.4-r0
      

      The same setup works on a Raspberrypi Pi 4.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes