Closed
Bug 1101885
Opened 10 years ago
Closed 9 years ago
Pref Intel VPx decoder on by default (where supported)
Categories
(Core :: Audio/Video: Playback, defect, P2)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: kinetik, Assigned: jya)
References
(Depends on 1 open bug, Blocks 2 open bugs)
Details
Attachments
(5 files, 7 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
Joe Olivias implemented support for decoding VPx with hardware acceleration via WMF on Windows in bug 922314. To avoid blocking the patch from landing due to potential testing issues with the new WMF path, I hid it behind a default-off pref for the time being. This bug covers whatever remaining work (if any!) is necessary to flip the pref default to on.
Reporter | ||
Comment 1•10 years ago
|
||
This bug is also absorbing the remaining items from bug 922314:
Still todo:
- Add flag for MFT availability and test in WMFDecoderModule::SupportedVideoMimeType
- Address EOS/error comment in IntelWebMVideoDecoder::Decode
- Factor shared code from SoftwareWebMVideoDecoder::DecodeVideoFrame and IntelWebMVideoDecoder::Demux to a single location
(see review comments in bug 922314 comment 42 for further details on these)
Reporter | ||
Comment 2•10 years ago
|
||
Also, from bug 922314 comment 49, VP9 decoding wasn't being accelerated on the test machine in the Auckland office:
(In reply to Matthew Gregan [:kinetik] from comment #49)
> Chris mentioned on IRC that VP8 was accelerated but VP9 wasn't with
> bug922314_v3.patch, so that's something else that may need chasing up.
Comment 3•10 years ago
|
||
This patch attempts to address having flags set in WMFDecoderModule for a more robust check for MFT availability.
Comment 4•10 years ago
|
||
One liner to fix issue #2 (EOS/error)
Comment 5•10 years ago
|
||
As for issue #3, here are my thoughts. I wanted to double check that I am not missing anything.
The shared parts of code require the WebMDemuxer class have the following methods:
1. An equivalent to nestegg_packet_count
2. The timestamp of the current packet (nestegg_packet_tstamp)
3. The timestamp of the next packet
a. For convenience, perhaps usec conversion and differences of these, too
4. Boolean whether the current packet is a keyframe
5. Current packet offset (holder->mOffset)
...and since we will have it already:
6. Packet data payload
7. Packet data length
Thoughts?
Flags: needinfo?(kinetik)
Reporter | ||
Comment 6•10 years ago
|
||
Sorry about the delay responding, I've been in catch-up mode since I got back. I'll try to get to this next week!
Hi Matthew, I'm covering for Joe while he's away. Any update on this?
Reporter | ||
Comment 8•9 years ago
|
||
The media code is undergoing a large refactoring at the moment. We're nearing the end, bug 1104475 has landed and bug 1148102 is ready to land. Once that's done, let's revisit what we need to finish up here.
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Updated•9 years ago
|
Priority: -- → P2
Reporter | ||
Comment 9•9 years ago
|
||
Bug 1206977 removes IntelWebMVideoDecoder because the functionality is now available in MediaFormatReader. That leaves this bug to address the remaining issues in the WMFDecoderModule.
Depends on: 1206977
Flags: needinfo?(kinetik)
Reporter | ||
Updated•9 years ago
|
Attachment #8543055 -
Attachment is obsolete: true
Comment 11•9 years ago
|
||
It seems that most of this patch is already applied in the current trunk. What is left for this bug?
Flags: needinfo?(kinetik)
Reporter | ||
Comment 12•9 years ago
|
||
I'm not sure what the current status is. Anthony is looking at this, so deferring to him.
Flags: needinfo?(kinetik) → needinfo?(ajones)
The code is landed but pref'ed off. Playback fails if I pref it on on my HD4600. It falls back to software on Chris' machine. Someone needs to look into it further which will hopefully happen soon.
Flags: needinfo?(ajones)
Updated•9 years ago
|
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jyavenard
Comment 14•9 years ago
|
||
(In reply to Anthony Jones (:kentuckyfriedtakahe, :k17e) from comment #13)
> The code is landed but pref'ed off. Playback fails if I pref it on on my
> HD4600. It falls back to software on Chris' machine. Someone needs to look
> into it further which will hopefully happen soon.
The HD4600 graphics is part of a Haswell-based system, and doesn't support VPx hardware acceleration. Broadwell and newer are needed for the acceleration. I will check with our driver team on why the MFT is even showing up as available.
I tried Chrome and VP9 was faster without the --disable-accelerated-video-decode option and the VP9 decoder shows up in dxdiag. These are the Intel decoders I'm seeing:
Intel® Hardware M-JPEG Decoder MFT, {00C69F81-0524-48C0-A353-4DD9D54F9A6E}, 0x6, 7, mfx_mft_mjpgvd_64.dll, 6.15.0007.0007
Intel® Hardware VP9 Decoder MFT, {0C69E30B-A112-4A86-B496-35120CD745D5}, 0x6, mfx_mft_vp9vd_64.dll, Intel® Hardware VP8 Decoder MFT, {6D856398-834E-4A89-8EE5-071BB3F58BE4}, 0x6, mfx_mft_vp8vd_64.dll, 6.15.0007.0007
Intel® Hardware VP9 Sync Decoder MFT, {07AB4BD2-1979-4FCD-A697-DF9AD15B34FE}, 0x1, mfx_mft_vp9vd_64.dll, 6.15.0007.0007
Intel® Hardware VP8 Sync Decoder MFT, {451E3CB7-2622-4BA5-8E1D-44B3C41D0924}, 0x1, mfx_mft_vp8vd_64.dll, 6.15.0007.0007
Assignee | ||
Comment 17•9 years ago
|
||
Comment on attachment 8543044 [details] [diff] [review]
bug1101885-p1.patch
All of this code is already in one way or another.
Attachment #8543044 -
Attachment is obsolete: true
Assignee | ||
Comment 18•9 years ago
|
||
While we may be able to instantiate a decoder, we may not be able to initialise
it once all information is available.
Attachment #8675461 -
Flags: review?(cpearce)
Assignee | ||
Comment 19•9 years ago
|
||
Attachment #8675462 -
Flags: review?(cpearce)
Assignee | ||
Comment 20•9 years ago
|
||
So we don't have to restart the browser for changes to take effect.
Assignee | ||
Comment 21•9 years ago
|
||
Comment on attachment 8675464 [details] [diff] [review]
P1. Make pref dynamic
Carrying r+ from bug 1213498
Attachment #8675464 -
Flags: review+
Assignee | ||
Comment 22•9 years ago
|
||
Attachment #8675469 -
Flags: review?(cpearce)
Updated•9 years ago
|
Attachment #8675469 -
Flags: review?(cpearce) → review+
Assignee | ||
Comment 23•9 years ago
|
||
Attachment #8675492 -
Flags: review?(cpearce)
Updated•9 years ago
|
Attachment #8675492 -
Flags: review?(cpearce) → review+
Updated•9 years ago
|
Attachment #8675462 -
Flags: review?(cpearce) → review+
Updated•9 years ago
|
Attachment #8675461 -
Flags: review?(cpearce) → review+
Assignee | ||
Comment 24•9 years ago
|
||
So we don't have to restart the browser for changes to take effect.
Assignee | ||
Updated•9 years ago
|
Attachment #8675464 -
Attachment is obsolete: true
Assignee | ||
Comment 25•9 years ago
|
||
rebase
Assignee | ||
Updated•9 years ago
|
Attachment #8675462 -
Attachment is obsolete: true
Assignee | ||
Comment 26•9 years ago
|
||
rebase
Assignee | ||
Updated•9 years ago
|
Attachment #8675461 -
Attachment is obsolete: true
Assignee | ||
Comment 27•9 years ago
|
||
rebase
Assignee | ||
Updated•9 years ago
|
Attachment #8675469 -
Attachment is obsolete: true
Assignee | ||
Comment 28•9 years ago
|
||
rebase
Assignee | ||
Updated•9 years ago
|
Attachment #8675492 -
Attachment is obsolete: true
Comment 29•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/784181a02b08
https://hg.mozilla.org/integration/mozilla-inbound/rev/1960607e6dc5
https://hg.mozilla.org/integration/mozilla-inbound/rev/4a22ac249968
https://hg.mozilla.org/integration/mozilla-inbound/rev/fd40f04061cc
https://hg.mozilla.org/integration/mozilla-inbound/rev/c88eff1149fa
Comment 30•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/784181a02b08
https://hg.mozilla.org/mozilla-central/rev/1960607e6dc5
https://hg.mozilla.org/mozilla-central/rev/4a22ac249968
https://hg.mozilla.org/mozilla-central/rev/fd40f04061cc
https://hg.mozilla.org/mozilla-central/rev/c88eff1149fa
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Updated•9 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•