vaapi VP9 hardware decoding not working anymore in bionic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intel-vaapi-driver (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
libva (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hardware: Dell XPS13 9365, i7-7Y75
System: Ubuntu Bionic Beaver (development branch)
vainfo output on bionic is:
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.0.0
vainfo: Supported profile and entrypoints
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfileNone : VAEntrypointVid
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
As you can see, VP9 entrypoints are missing.
vainfo output on 17.10 was:
libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.40 (libva )
vainfo: Driver version: Intel i965 driver for Intel(R) Kabylake - 1.8.3
vainfo: Supported profile and entrypoints
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfileNone : VAEntrypointVid
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
I can workaround the problem by downloading and compiling libva-2.1.0 and intel-vaapi-
libva:
./configure --with-
vaapi-driver:
PKG_CONFIG_
After installing those I get:
> env LD_LIBRARY_
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /home/seb/
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.1.0
vainfo: Supported profile and entrypoints
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfileNone : VAEntrypointVid
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
VAProfile
I also tested with mpv, VP9 decoding works just fine with the self-compiled libraries.
Changed in intel-vaapi-driver (Ubuntu): | |
status: | Confirmed → Fix Committed |
I can confirm this bug exists.
OS version: Ubuntu 18.04 beta rc
Hardware: Intel core i5 7400 (Kaby lake processor)
with Intel HD graphics 630 supporting VP9 10-bit and 8-bit video decoding.
In version 1.8.x of the driver the VP9 decoding is broken, the corresponding upstream patch got into 2.0.0. But since VP9 profiles are missing in 2.0.0 driver in Ubuntu, hardware acceleration is absent, so high cpu and power usage. The buggy driver 1.8.x is used in the vlc snap too and snap developers doubt the driver version in snap will be upgraded.
* VP9 decoding broken in 17.10
* VP9 decoding broken in snap packages
* VP9 decoding broken in 18.04 beta rc
Either driver version has to be updated to 2.1.0 or at-least cherry pick a one line patch to current Ubuntu core snap, a link for which I will mention below.
Upstream driver patch: https:/ /github. com/intel/ intel-vaapi- driver/ commit/ 9d66570032fb02b 1e79a883af7697b 035d700a8e
Upstream bug report: https:/ /github. com/intel/ intel-vaapi- driver/ issues/ 297
In any way kindly support VP9 hardware decoding via supported Intel hardwares in 18.04 or in 17.10(by backporting/cherry picking) or atleast via updated snap core/apps.