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

ivi_surface::configure causes Wayland client to be rendered as pure black window on Nvidia Tegra TX2

    XMLWordPrintable

Details

    • Linux/Wayland, Linux/Yocto
    • Embedded wk38-39 2024, Embedded wk40-41 2024

    Description

      The problem is said (and probably indeed is) to be only reproducible on Nvidia Tegra TX2. I don't have that specific hardware, but I can confirm that the problem does not reproduce on Apalis i.MX6. Anyway, according to original reproducer, the steps to reproduce the issue are:
      1. Build and deploy modified minimal-cpp compositor example to TX2 (modified compositor attached as reproducer)
      2. Launch another application (any Qt app should be fine) with -platform wayland (may need some other env vars like WAYLAND_DISPLAY if it is Qt6) so that it is shown inside compositor
      3. Press F9. The modified compositor implements

          if(nativeScanCode == 75)
          {
              for(auto v : m_views)
              {
                  v->m_iviSurface->sendConfigure({300,200});
              }
          }
      

      in Compositor::handleKeyPress. That is to call iniSurface::sendConfigure upon presing F9.
      4. Client is all black

      Both compositor for Qt5 and Qt6 are attached.

      Attachments

        1. client-log.txt
          11 kB
        2. compositor-log.txt
          9 kB
        3. CppCompositorIssue5.zip
          11 kB
        4. CppCompositorIssue6.zip
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jarihelaakoski Jari Helaakoski
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes