Page MenuHomeSolus

Update libva to 2.4.0
ClosedPublic

Authored by kyrios123 on Jan 26 2019, 5:49 PM.
Tags
None
Referenced Files
F11050513: D5168.id12617.diff
Thu, Aug 10, 7:06 PM
F11050512: D5168.id.diff
Thu, Aug 10, 7:06 PM
F11050511: D5168.id12773.diff
Thu, Aug 10, 7:06 PM
F11035857: D5168.diff
Wed, Aug 9, 6:31 PM
F11019142: D5168.id.diff
Sun, Aug 6, 5:37 PM
F11016039: D5168.diff
Sat, Aug 5, 4:15 PM
F11004723: D5168.diff
Tue, Aug 1, 3:12 AM
F11002671: D5168.id12617.diff
Mon, Jul 31, 3:09 AM

Details

Summary
  • va_TraceSurface support for VA_FOURCC_P010
  • Add pointer to struct wl_interface for driver to use
  • (integrate) va: fix new line symbol in error message
  • av: avoid driver path truncation
  • Allow import of the DRM PRIME 2 memory type
  • compile: fix sign/unsign compare in va_trace.c
  • High Dynamic Range Tone Mapping: Add a new filter for input metadata and some comments.
  • Remove restrictions on vaSetDriverName()

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan

Successfully build libva-utils against this package

$ vainfo
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_3
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.4 (libva 2.4.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.3.0
...

Play some video in VLC, selecting VA-API video decoder and VA-API video decoder via DRM in Hardware Acceleration

Diff Detail

Repository
R1886 libva
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

You should verify hw accelerated video decoding is still working with mpv or vlc imo as part of the test plan, check cpu usage with software decoding and hardware decoding. Test intel with libva-intel-driver AMD with mesa and nvidia via libva-vdpau-driver

JoshStrobl added a subscriber: JoshStrobl.

Requesting more testing per @joebonrichie's remarks.

This revision now requires changes to proceed.Jan 29 2019, 11:32 AM
kyrios123 edited the test plan for this revision. (Show Details)

Tested on intel, no problem. Volunteers can check on AMD/Nvidia.

Tested on my Nvidia GTX 1050 Ti as per joebonrichie's instructions. Hardware acceleration seems to work fine with this update in VLC (~3% CPU utilization with hardware decoding, ~8-10% without in the video I tested).

This revision is now accepted and ready to land.Feb 1 2019, 7:24 PM
This revision was automatically updated to reflect the committed changes.