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

Qt wayland surface is empty when gst-launch client is playing video

    XMLWordPrintable

Details

    • Linux/Wayland
    • 639bd92682f5f61f15f97f78ccd9791bec852b6c (qt/qtwayland/dev) 1a4545f9a5f2ecac9dc7d9ce1ebd8c6b47b37907 (qt/qtwayland/6.2) 43d858aaea1c3a8834647ecafe37ce8f47e90cb3 (qt/qtwayland/6.1) 36060ad8dca6720c77dfa2bf0292978d4eadb2db (qt/tqtc-qtwayland/5.15)

    Description

      QWaylandShell surface is empty when the gst-launch streams video to it on the Elina Linux. All works OK with Weston.

      Reproducing steps:

      1. Compile the minimal-qml compositor, copy to the target and launch it by run-compositor.sh script
      2. Copy a test video (1920x1080 h264) and the run-client-test.sh script to the same directory in the target
      3. Start gst-launch streaming by the run-client-test.sh
      4. Add in the minimal-qml GUI a new Wayland surface

      Expected results: A surface is created and the video is displayed on the surface

      Actual result: An empty surface is created

      NOTE: If the Weston used as a compositor instead of the minimal-qml, the video is displayed successfully on the surface. The GStreamer version is 1.8.3.

      gst_log_client.7z - debug log from connected to minimal-qml gst client
      compositor_qt.txt - terminal log of minimal-qml compositor
      client_qt.txt - terminal log from connected to minimal-qml gst client
      gst_log_client_weston.7z - debug log from connected to Weston gst client
      client_weston.txt - terminal log from connected to Weston gst client

      Attachments

        1. 0001-WIP-Ignore-viewporter-buffer-size-when-buffer-is-nul.patch
          3 kB
        2. client_qt.txt
          100 kB
        3. client_weston_2_init.txt
          51 kB
        4. client_weston_2.txt
          306 kB
        5. client_weston.txt
          103 kB
        6. compositor_qt.txt
          2.91 MB
        7. gst_log_client_weston_2.7z
          1.88 MB
        8. gst_log_client_weston.7z
          1.31 MB
        9. gst_log_client.7z
          2.57 MB
        10. LOGS_qt_work.zip
          2.62 MB
        11. LOGS_weston.7z
          669 kB
        12. LOGS.7z
          1.65 MB
        13. minimal-qml_patch.jpg
          minimal-qml_patch.jpg
          111 kB
        14. minimal-qml-src.7z
          3 kB
        15. photo_2021-08-06_14-57-25.jpg
          photo_2021-08-06_14-57-25.jpg
          101 kB
        16. photo_2021-08-06_14-57-36.jpg
          photo_2021-08-06_14-57-36.jpg
          102 kB
        17. run-client-test.sh
          0.4 kB
        18. run-compositor.sh
          0.5 kB
        19. weston_patched.jpg
          weston_patched.jpg
          95 kB
        20. weston.log
          11 kB

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              olyubimov Oleg Lyubimov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: