Closed Bug 1649675 Opened 4 years ago Closed 4 years ago

[Linux] Use DRM display for VA-API decoding

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

Details

Attachments

(2 files)

In order to support VA-API decoding on X11 we need to use DRM display for VA-API decoding which is not tied to any particular display connection (X11/Wayland). It's also better for sandboxing that we don't have the connection here.

In order to implement VA-API playback we need a VADisplay connection.

According to preference load libva-wayland.so.2 or libva-drm.so.2 libraries
and dlsym vaGetDisplayWl or vaGetDisplayDRM to get VADisplay for VA-API decoding.

Pushed by ncsoregi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d75dddfb97a9
[Linux] Load vaGetDisplayDRM() from libva-drm.so.2 for VA-API DRM display, r=jya
https://hg.mozilla.org/integration/autoland/rev/55f11d5e3341
[Linux] Use DRM or Wayland VA-API display according to pref, r=jya
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: