[wmfme] ensure the hardware decoding is available before starting the media engine
Categories
(Core :: Audio/Video: Playback, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
(Blocks 2 open bugs)
Details
Attachments
(3 files, 2 obsolete files)
We got some D3D related crashes after shortly enabling the media engine pref on Nightly in bug 1881620. I think those crashes came from machines which don't have proper hardware decoding support or have high crash rate on their graphic card, or having a buggy version of the gfx driver.
We should check gfx::gfxVars::CanUseHardwareVideoDecoding()
before starting a media engine playback.
Assignee | ||
Comment 1•8 months ago
|
||
Move initializing gfxVar from creating a video bridge to the moment we
create UtilityAudioDecoderParent in order to ensure that we can always
get correct value from gfxVar.
Assignee | ||
Comment 2•8 months ago
|
||
Depends on D204292
Assignee | ||
Comment 3•8 months ago
|
||
Depends on D204293
Updated•8 months ago
|
Assignee | ||
Comment 4•8 months ago
|
||
As now we only allow the media engine playback running if the machine is
capable for the video hardware decoding, we need to move wmfme to the
gpu worker in order to get that ability.
Assignee | ||
Comment 5•8 months ago
|
||
Ideally, we should run wmfme
on the gpu worker in order to access
video hardware decoding. However, when switching task to the gpu
worker, there are some tests starting failed on the try server [1].
Therefore, adding this pref temporarily to bypass the gfx check until
we figure out why those tests fail on the gpu worker.
Comment 6•8 months ago
|
||
Comment on attachment 9390628 [details]
Bug 1884719 - part3 : make sure we always have a DXGI device manager before creating a media engine.
Revision D204294 was moved to bug 1885046. Setting attachment 9390628 [details] to obsolete.
Comment 7•8 months ago
|
||
Comment on attachment 9390870 [details]
Bug 1884719 - part4 : move wmfme to the gpu worker.
Revision D204422 was moved to bug 1885046. Setting attachment 9390870 [details] to obsolete.
Comment 9•8 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9f715e1f7491
https://hg.mozilla.org/mozilla-central/rev/0a98d4f122c3
https://hg.mozilla.org/mozilla-central/rev/c79195eb2291
Description
•