Closed Bug 1360006 Opened 7 years ago Closed 7 years ago

Enable hardware VP9 decode on intel GPUs

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: ajones, Assigned: jya)

References

Details

Attachments

(1 file)

VP9 hardware decoding works well on Intel GPUs. We should enable by default.
Assignee: nobody → jyavenard
See Also: → 1314458
Priority: -- → P3
Jean-Yves - what do I need to do to make this happen?
Flags: needinfo?(jyavenard)
Flags: needinfo?(ajones)
Anthony, I'm not sure the intel is that much better really... There's definitely jitter compare to the software version
I described the issue in bug 1314458.
Very noticeable playing this scene: https://youtu.be/iNJdPyoqt8U?t=44

I have a patch ready, it may be simply that people using intel GPU don't care or just don't notice :)
Flags: needinfo?(jyavenard)
Comment on attachment 8873582 [details]
Bug 1360006: Whitelist VP9 decoder to intel GPU only.

https://reviewboard.mozilla.org/r/144962/#review149006

::: dom/media/platforms/wmf/DXVA2Manager.h:73
(Diff revision 1)
>    // need to take responsibility for creating a decoder and handle the related
>    // decoding operations by ourself.
>    virtual bool CreateDXVA2Decoder(const VideoInfo& aVideoInfo,
>                                    nsACString& aFailureReason) = 0;
>  
> +  virtual uint32_t GetVendorId() const { return 0; }

Might as well make this pure virtual since all subclasses implement it.
Attachment #8873582 - Flags: review?(matt.woodrow) → review+
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/77f2dd5563d2
Whitelist VP9 decoder to intel GPU only. r=mattwoodrow
https://hg.mozilla.org/mozilla-central/rev/77f2dd5563d2
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Flags: needinfo?(ajones)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: