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

i.MX Vivante-GPU: crash if video width is not 16 px aligned

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 5.15
    • Multimedia
    • None
    • imx8mn, Qt5.15.12, gstreamer 1.20.1
    • Linux/Other display system

      The src/plugins/videonode/imx6 plugin creates an invalid Texture if the width of the video isn't 16px aligned.

      The i.MX documentation (i.MX Graphics User’s Guide, Rev. 2, 04/2019) states, that the width of 'glTexDirectVIV' must be 16 pixel aligned.

      In my case the video has a width of 854 pixel. The 'fullWidth' is 856px, which is only 8px aligned. As a result the image isn't shown correctly and the application crashes with a Segmentation Fault when calling glDrawElements/glDrawArrays in the QSGBatchRenderer.

       

      A added a patch that solves the issue in my case.

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

            prueckl thomas
            prueckl thomas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes