Skip to contentSkip to conversation

mesa-24.1.4 incompatibility with unpatched ffmpeg

DISCUSSION Sam James 2 participants 2 messages Jul 20, 2024

lore
Share & tools
lore

Sam James

author
#0 lore raw

Hi!

For those shipping mesa-24.1.4, please check whether your copy of ffmpeg
has the patches at https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29400#note_2432971
applied, i.e.:

* lavc/vaapi_decode: Make it possible to send multiple slice params buffers ** https://github.com/FFmpeg/FFmpeg/commit/fe9d889dcd79ea18d4dfaa39df4ddbd4c8c3b15c
* lavc/vaapi_av1: Avoid sending the same slice buffer multiple times ** https://github.com/FFmpeg/FFmpeg/commit/d2d911eb9a2fc6eb8d86b3ae025a56c1a2692fba

At a glance, I don't _think_ those patches are shipped in any release or backported on any of the ffmpeg branches yet, but please don't take my word for it as I only looked briefly and will check properly later. Apologies to ffmpeg if I'm wrong.

Firefox's bundled ffmpeg is also affected, see below.

Other references:
* https://bugs.gentoo.org/936310
* https://gitlab.freedesktop.org/mesa/mesa/-/issues/11533
* https://phabricator.services.mozilla.com/D216919

thanks,
sam

#1 lore raw
Quoted 17 lines · Sam James

Hi!

For those shipping mesa-24.1.4, please check whether your copy of ffmpeg
has the patches at https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29400#note_2432971
applied, i.e.:

* lavc/vaapi_decode: Make it possible to send multiple slice params buffers ** https://github.com/FFmpeg/FFmpeg/commit/fe9d889dcd79ea18d4dfaa39df4ddbd4c8c3b15c
* lavc/vaapi_av1: Avoid sending the same slice buffer multiple times ** https://github.com/FFmpeg/FFmpeg/commit/d2d911eb9a2fc6eb8d86b3ae025a56c1a2692fba

At a glance, I don't _think_ those patches are shipped in any release or backported on any of the ffmpeg branches yet, but please don't take my word for it as I only looked briefly and will check properly later. Apologies to ffmpeg if I'm wrong.

Quoted 7 lines

Firefox's bundled ffmpeg is also affected, see below.

Other references:
* https://bugs.gentoo.org/936310
* https://gitlab.freedesktop.org/mesa/mesa/-/issues/11533
* https://phabricator.services.mozilla.com/D216919

Note, this also affects distributions shipping 24.0.6 or newer, too.

Signature · 1 line
真実はいつも一つ!/ Always, there's only one truth!