Closed
Bug 1373229
Opened 8 years ago
Closed 8 years ago
Stop using IMFYCbCrImage when ID3D10Multithread isn't supported
Categories
(Core :: Graphics: Layers, enhancement)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: jya, Assigned: jya)
References
Details
Attachments
(3 files, 3 obsolete files)
Working on bug 1223270, shows that there are machines for which ID3D10Multithread isn't supported.
Bug 1223270 and the new D3D11YCbCrImage made it had hard failure exposing the problem on try.
Currently it appears to only impact win7 machines.
IMFYCbCrImage however makes it a soft failure, and it wouldn't be causing errors.
:Bas also believe that attempting to use IMFYCbCrImage on devices no supporting ID3D10Multithread could be the cause of intermittent crashes seen in the while.
So let's disable its use on machine not supporting ID3D10Multithread .
Assignee | ||
Comment 1•8 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8878682 [details]
Bug 1373229: P1. Disable IMFYCbCrImage when ID3D10Multithread isn't supported.
https://reviewboard.mozilla.org/r/149992/#review155056
::: dom/media/platforms/wmf/WMFVideoMFTManager.cpp:528
(Diff revision 3)
> + }
> + RefPtr<ID3D10Multithread> multi;
> + HRESULT hr =
> + device->QueryInterface((ID3D10Multithread**)getter_AddRefs(multi));
> +
> + mIMFUsable = SUCCEEDED(hr) && false;
Debug code in here, this will always set mIMFUsable to false.
Attachment #8878682 -
Flags: review?(bas) → review-
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8878682 [details]
Bug 1373229: P1. Disable IMFYCbCrImage when ID3D10Multithread isn't supported.
https://reviewboard.mozilla.org/r/149992/#review155058
r+ with these issues fixed.
::: dom/media/platforms/wmf/WMFVideoMFTManager.cpp:529
(Diff revision 3)
> + RefPtr<ID3D10Multithread> multi;
> + HRESULT hr =
> + device->QueryInterface((ID3D10Multithread**)getter_AddRefs(multi));
> +
> + mIMFUsable = SUCCEEDED(hr) && false;
> + if (multi) {
Make this if(SUCCEEDED(hr)) or make the line above mIMFUsable = multi;
But let's be consistent.
Attachment #8878682 -
Flags: review- → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 10•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8878682 [details]
Bug 1373229: P1. Disable IMFYCbCrImage when ID3D10Multithread isn't supported.
https://reviewboard.mozilla.org/r/149992/#review155056
> Debug code in here, this will always set mIMFUsable to false.
doh !
Comment 11•8 years ago
|
||
mozreview-review |
Comment on attachment 8878915 [details]
Bug 1373229: P3. Update mochitest expectations.
https://reviewboard.mozilla.org/r/150152/#review155290
Attachment #8878915 -
Flags: review?(jgilbert) → review+
Comment 12•8 years ago
|
||
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/de548d84af20
P1. Disable IMFYCbCrImage when ID3D10Multithread isn't supported. r=bas
https://hg.mozilla.org/integration/autoland/rev/9e6dcb8ce801
P2. Update mochitest expectations. r=jgilbert
Comment 13•8 years ago
|
||
Backout by cbook@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3acbb3037515
Backed out changeset 9e6dcb8ce801
https://hg.mozilla.org/integration/autoland/rev/8bdb30465db3
Backed out changeset de548d84af20
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 27•8 years ago
|
||
mozreview-review |
Comment on attachment 8880018 [details]
Bug 1373229: P2. Disable DXVA HW decoder if ID3D10Multithread not supported.
https://reviewboard.mozilla.org/r/151334/#review156284
Attachment #8880018 -
Flags: review?(bas) → review+
Comment 28•8 years ago
|
||
mozreview-review |
Comment on attachment 8879894 [details]
Bug 1373229: P3. Ensure that the retrieval operation succeeded.
https://reviewboard.mozilla.org/r/151298/#review156286
Attachment #8879894 -
Flags: review?(bas) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Attachment #8878682 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8880018 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Attachment #8878915 -
Attachment is obsolete: true
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 33•8 years ago
|
||
mozreview-review |
Comment on attachment 8880101 [details]
Bug 1373229: P1. Disable IMFYCbCrImage when ID3D10Multithread isn't supported.
https://reviewboard.mozilla.org/r/151464/#review156394
Attachment #8880101 -
Flags: review+
Assignee | ||
Comment 34•8 years ago
|
||
mozreview-review |
Comment on attachment 8880102 [details]
Bug 1373229: P2. Disable DXVA HW decoder if ID3D10Multithread not supported.
https://reviewboard.mozilla.org/r/151466/#review156396
Attachment #8880102 -
Flags: review+
Assignee | ||
Comment 35•8 years ago
|
||
reviewboard lost me Bas commit, so I r+ed myself.
Comment 36•8 years ago
|
||
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1d6c6a6078c0
P1. Disable IMFYCbCrImage when ID3D10Multithread isn't supported. r=jya
https://hg.mozilla.org/integration/autoland/rev/c68cd46997bf
P2. Disable DXVA HW decoder if ID3D10Multithread not supported. r=jya
https://hg.mozilla.org/integration/autoland/rev/dbe3662c1799
P3. Ensure that the retrieval operation succeeded. r=bas
Comment 37•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1d6c6a6078c0
https://hg.mozilla.org/mozilla-central/rev/c68cd46997bf
https://hg.mozilla.org/mozilla-central/rev/dbe3662c1799
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Comment 38•8 years ago
|
||
I see a perf improvement:
== Change summary for alert #7477 (as of June 22 2017 15:02 UTC) ==
Improvements:
3% glvideo Mean tick time across 100 ticks: windows7-32 opt e10s 13.34 -> 12.94
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=7477
thanks!
Assignee | ||
Comment 39•8 years ago
|
||
How does that test work? What does it test?
of all things, this change shouldn't make things any faster, quite the opposite....
Comment 40•8 years ago
|
||
here is some info about the test:
https://wiki.mozilla.org/Buildbot/Talos/Tests#glvideo
Comment 41•8 years ago
|
||
mozreview-review |
Comment on attachment 8880101 [details]
Bug 1373229: P1. Disable IMFYCbCrImage when ID3D10Multithread isn't supported.
https://reviewboard.mozilla.org/r/151464/#review157548
Attachment #8880101 -
Flags: review?(bas) → review+
Comment 42•8 years ago
|
||
mozreview-review |
Comment on attachment 8880102 [details]
Bug 1373229: P2. Disable DXVA HW decoder if ID3D10Multithread not supported.
https://reviewboard.mozilla.org/r/151466/#review157550
Attachment #8880102 -
Flags: review?(bas) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•