FS#74368 - [firefox] hardware-accelerated video playback fails (va-api), even with sandbox disabled

Attached to Project: Arch Linux
Opened by Rhys Perry (rhysperry111) - Wednesday, 06 April 2022, 14:59 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 26 April 2022, 21:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:

(I have marked this as high severity, as video playback not working seems like a pretty huge problem for a modern browser)

A regression was introduced in ff98, in which video playback failed if va-api was being used and the RDD sandbox was enabled. It could be worked around by disabling the sandbox.
With the newer firefox, ff99, even using the workaround does not work.

Although there are multiple relevant tickets upstream, I believe this to be the most active one https://bugzilla.mozilla.org/show_bug.cgi?id=1751363#c41 . It shows the same findings. In that thread, people are saying that nightly has a fix; Would it be possible to backport this fix so it can be included in the repo version of firefox?

Additional info:
* Firefox: 98 (less severe), 99 (severe)
* https://bugzilla.mozilla.org/show_bug.cgi?id=1751363#c41

Steps to reproduce:

Install firefox, and setup va-api acceleration as per the wiki. Attempt to watch a video. Fails.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 26 April 2022, 21:06 GMT
Reason for closing:  Upstream
Comment by Ewout van Mansom (ewout) - Monday, 18 April 2022, 09:41 GMT
Works for me with ''media.rdd-process.enabled'' set to ''false'', disabling the sandbox entirely. MOZ_DISABLE_RDD_SANDBOX environment variable seems to have no effect.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 26 April 2022, 21:06 GMT
Hardware accelerated decode is not yet a supported feature.

Loading...