Closed Bug 1746849 Opened 4 years ago Closed 4 years ago

96 beta 7 (early beta - bug 1744037 - has ended) - Tab crashes with [@ @0x0 | MmdDevice::CreateFactory ]: Intel Xe requires intel-media-driver, but doesn't work in the content process. Solution: Enable media.rdd-ffmpeg.enabled in Firefox 96.

Categories

(Core :: Audio/Video: Playback, defect, P3)

Firefox 96
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1743647
Tracking Status
firefox95 --- disabled
firefox96 --- disabled

People

(Reporter: jimbo2150, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Crash Data

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0

Steps to reproduce:

In 96 beta 7 (issue was not occurring in earlier betas) on Linux, I opened different sites or clicked on different links/buttons within sites.

Actual results:

Tab crashed. Crash report shows as [@ @0x0 | MmdDevice::CreateFactory ].

Expected results:

Open site or link without crashing.

The Bugbug bot thinks this bug should belong to the 'Firefox::Tabbed Browser' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Tabbed Browser

Looks like this is due to VA-API. More specifically, somewhere along the way the RDD ffmpeg got disabled? I re-enabled it and the crashes have stopped.

Maybe a more graceful fallback or notification rather than a tab crash if RDD is not enabled?

Component: Tabbed Browser → Audio/Video: Playback
Product: Firefox → Core

Was ffmpeg disabled via pref and you flipped those to re-enable?

Crash Signature: [@ @0x0 | MmdDevice::CreateFactory]

ffmpeg was enabled but rdd-ffmpeg was disabled. I re-enabled rdd-ffmpeg.

Via the media.rdd-ffvpx.enabled pref?

Severity: -- → S3
Priority: -- → P3

No, media.rdd-ffmpeg.enabled.

(In reply to Jim from comment #6)

No, media.rdd-ffmpeg.enabled.

Thanks! Do you know if the issue started due to something other than the pref? E.g. Firefox update, other changes.

As in comment 2, while I believe the expectation is we want RDD enabled for VA API, it would be good to gracefully handle failures.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Intel Xe is only supported by the newer VAAPI driver (intel-media-driver) and did crash in the content process.
Before 96, Intel Xe did not have any other workaround than disabling either the RDD or content process sandbox.

With bug 1698778 (96), VAAPI can be used in the RDD process (media.rdd-ffmpeg.enabled).
In 96, VAAPI/RDD can still crash in some edge cases. It has been fixed in 97 by bug 1743926.

bug 1744037 enabled media.rdd-ffmpeg.enabled for EARLY_BETA_OR_EARLIER.

96 beta 7 was the first non-EARLY_BETA.
https://hg.mozilla.org/releases/mozilla-beta/rev/ef7b4eb2c0f1d5479d8f4260047cda3053a18b58

In in 96 beta 7, media.rdd-ffmpeg.enabled must be enabled manually now.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: 96 beta 7 - Tab crashes with [@ @0x0 | MmdDevice::CreateFactory ] → 96 beta 7 (early beta - bug 1744037 - has ended) - Tab crashes with [@ @0x0 | MmdDevice::CreateFactory ]: Intel Xe requires intel-media-driver, but doesn't work in the content process. Solution: Enable media.rdd-ffmpeg.enabled in Firefox 96.

It crashes happened after installing and running 96 beta 7. Prior to that it worked without issue. Did the update flip the value of that option?

Yes, 96 beta 7 has switched the default of media.rdd-ffmpeg.enabled back to false which causes the VAAPI crash.
It is still enabled by default in Nightly.

To fix the VAAPI crash, you need to manually enable media.rdd-ffmpeg.enabled in late Beta and Stable.

Ok, guess this really isn't a bug then. Just didn't know it got flipped or if something else caused it. Thanks.

96 should be the last version that can crash this way.
97 disallowed VAAPI in the content process. Closing this content process VAAPI crash as duplicate of bug 1743647.

Status: NEW → RESOLVED
Closed: 4 years ago
Keywords: crash
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.