Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6.3, 6.7.1
-
None
-
-
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
Gerrit Reviews
For Gerrit Dashboard: QTBUG-124586 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
558908,3 | FFmpeg/VAAPI: Enable finding libva shared libraries from cache | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
558964,2 | FFmpeg/VAAPI: Enable finding libva shared libraries from cache | 6.7 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
559088,2 | FFmpeg/VAAPI: Enable finding libva shared libraries from cache | tqtc/lts-6.5 | qt/tqtc-qtmultimedia | Status: MERGED | +2 | 0 |
564280,3 | FFmpeg: Skip changing state/status if playbackengine was recreated | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |