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

QML video media player segmentation fault on AMD GPU with FFMPEG

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.3, 6.7.1
    • Multimedia
    • None
    • Linux/Wayland, Linux/X11
    • 4f91b409c (dev), 9316208b5 (6.7), 06a613296 (tqtc/lts-6.5), 78804de9e (dev)
    • Multimedia wk 17-18, Multimedia wk 19-20, Multimedia wk 21-22, Multimedia wk 23-24

    Description

      Trying to play one or multiple videos using the Video type while running on AMD gpu it crashes, here's the output:

      QSG_INFO=1 QT_LOGGING_RULES="qml.debug=true" qml test.qml 
      [AVHWFramesContext @ 0x71cc40004ec0] Failed to sync surface 0x19: 13 (the requested VAEntryPoint is not supported).
      Error transferring the data to system memory: -5
      Cannot map a video frame in ReadOnly mode!
      Cannot represent the plane 0 as an image
      Cannot represent the plane 1 as an image
      malloc(): mismatching next->prev_size (unsorted)
      Aborted (core dumped) 

      Attached the backtrace

      Running the same file with Intel or Nvidia GPU plays normally on my system.

       

      Additional context:

      Found this bug while developing a KDE Plasma Wallpaper Plugin (Qml only) that plays videos as wallpaper and users started reporting plasmashell crashes on AMD, I isolated the video player into a test.qml and users are able to reproduce the crash outside plasmashell.

      Attachments

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

        Activity

          People

            lars.sutterud Lars Sutterud
            luisbocanegra Luis Bocanegra
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews