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/9d66570032fb02b1e79a883af7697b035d700a8e

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.


** Bug watch added: github.com/intel/intel-vaapi-driver/issues #297
   https://github.com/intel/intel-vaapi-driver/issues/297

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libva in Ubuntu.
https://bugs.launchpad.net/bugs/1756380

Title:
  vaapi VP9 hardware decoding not working anymore in bionic

Status in intel-vaapi-driver package in Ubuntu:
  New
Status in libva package in Ubuntu:
  New

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/x86_64-linux-gnu/dri/i965_drv_video.so
  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
        VAProfileMPEG2Simple            :       VAEntrypointVLD
        VAProfileMPEG2Simple            :       VAEntrypointEncSlice
        VAProfileMPEG2Main              :       VAEntrypointVLD
        VAProfileMPEG2Main              :       VAEntrypointEncSlice
        VAProfileH264ConstrainedBaseline:       VAEntrypointVLD
        VAProfileH264ConstrainedBaseline:       VAEntrypointEncSlice
        VAProfileH264ConstrainedBaseline:       VAEntrypointEncSliceLP
        VAProfileH264Main               :       VAEntrypointVLD
        VAProfileH264Main               :       VAEntrypointEncSlice
        VAProfileH264Main               :       VAEntrypointEncSliceLP
        VAProfileH264High               :       VAEntrypointVLD
        VAProfileH264High               :       VAEntrypointEncSlice
        VAProfileH264High               :       VAEntrypointEncSliceLP
        VAProfileH264MultiviewHigh      :       VAEntrypointVLD
        VAProfileH264MultiviewHigh      :       VAEntrypointEncSlice
        VAProfileH264StereoHigh         :       VAEntrypointVLD
        VAProfileH264StereoHigh         :       VAEntrypointEncSlice
        VAProfileVC1Simple              :       VAEntrypointVLD
        VAProfileVC1Main                :       VAEntrypointVLD
        VAProfileVC1Advanced            :       VAEntrypointVLD
        VAProfileNone                   :       VAEntrypointVideoProc
        VAProfileJPEGBaseline           :       VAEntrypointVLD
        VAProfileJPEGBaseline           :       VAEntrypointEncPicture
        VAProfileVP8Version0_3          :       VAEntrypointVLD
        VAProfileHEVCMain               :       VAEntrypointVLD
        VAProfileHEVCMain               :       VAEntrypointEncSlice
        VAProfileHEVCMain10             :       VAEntrypointVLD
        VAProfileHEVCMain10             :       VAEntrypointEncSlice

  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/x86_64-linux-gnu/dri/i965_drv_video.so
  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
        VAProfileMPEG2Simple            :    VAEntrypointVLD
        VAProfileMPEG2Simple            :    VAEntrypointEncSlice
        VAProfileMPEG2Main              :    VAEntrypointVLD
        VAProfileMPEG2Main              :    VAEntrypointEncSlice
        VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
        VAProfileH264ConstrainedBaseline:    VAEntrypointEncSlice
        VAProfileH264ConstrainedBaseline:    VAEntrypointEncSliceLP
        VAProfileH264Main               :    VAEntrypointVLD
        VAProfileH264Main               :    VAEntrypointEncSlice
        VAProfileH264Main               :    VAEntrypointEncSliceLP
        VAProfileH264High               :    VAEntrypointVLD
        VAProfileH264High               :    VAEntrypointEncSlice
        VAProfileH264High               :    VAEntrypointEncSliceLP
        VAProfileH264MultiviewHigh      :    VAEntrypointVLD
        VAProfileH264MultiviewHigh      :    VAEntrypointEncSlice
        VAProfileH264StereoHigh         :    VAEntrypointVLD
        VAProfileH264StereoHigh         :    VAEntrypointEncSlice
        VAProfileVC1Simple              :    VAEntrypointVLD
        VAProfileVC1Main                :    VAEntrypointVLD
        VAProfileVC1Advanced            :    VAEntrypointVLD
        VAProfileNone                   :    VAEntrypointVideoProc
        VAProfileJPEGBaseline           :    VAEntrypointVLD
        VAProfileJPEGBaseline           :    VAEntrypointEncPicture
        VAProfileVP8Version0_3          :    VAEntrypointVLD
        VAProfileVP8Version0_3          :    VAEntrypointEncSlice
        VAProfileHEVCMain               :    VAEntrypointVLD
        VAProfileHEVCMain               :    VAEntrypointEncSlice
        VAProfileHEVCMain10             :    VAEntrypointVLD
        VAProfileHEVCMain10             :    VAEntrypointEncSlice
        VAProfileVP9Profile0            :    VAEntrypointVLD
        VAProfileVP9Profile0            :    VAEntrypointEncSlice
        VAProfileVP9Profile2            :    VAEntrypointVLD

  I can workaround the problem by downloading and compiling libva-2.1.0
  and intel-vaapi-driver-2.1.0 from github like this:

  libva:

  ./configure --with-drivers-path=$HOME/tmp/intel/dri
  --prefix=$HOME/tmp/intel

  vaapi-driver:

  PKG_CONFIG_PATH=$HOME/tmp/intel/lib/pkgconfig
  LIBVA_DRM_DEPS_CFLAGS="-I $HOME/tmp/intel/include"
  LIBVA_DRM_DEPS_LIBS="-L $HOME/tmp/intel/lib" LIBVA_DEPS_CFLAGS="-I
  $HOME/tmp/intel/include" LIBVA_DEPS_LIBS="-L $HOME/tmp/intel/lib"
  ./configure --prefix=$HOME/tmp/intel

  After installing those I get:

  > env LD_LIBRARY_PATH=/home/seb/tmp/intel/lib vainfo                          
               
  libva info: VA-API version 1.1.0
  libva info: va_getDriverName() returns 0
  libva info: Trying to open /home/seb/tmp/intel/dri/i965_drv_video.so
  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
        VAProfileMPEG2Simple            :       VAEntrypointVLD
        VAProfileMPEG2Simple            :       VAEntrypointEncSlice
        VAProfileMPEG2Main              :       VAEntrypointVLD
        VAProfileMPEG2Main              :       VAEntrypointEncSlice
        VAProfileH264ConstrainedBaseline:       VAEntrypointVLD
        VAProfileH264ConstrainedBaseline:       VAEntrypointEncSlice
        VAProfileH264ConstrainedBaseline:       VAEntrypointEncSliceLP
        VAProfileH264Main               :       VAEntrypointVLD
        VAProfileH264Main               :       VAEntrypointEncSlice
        VAProfileH264Main               :       VAEntrypointEncSliceLP
        VAProfileH264High               :       VAEntrypointVLD
        VAProfileH264High               :       VAEntrypointEncSlice
        VAProfileH264High               :       VAEntrypointEncSliceLP
        VAProfileH264MultiviewHigh      :       VAEntrypointVLD
        VAProfileH264MultiviewHigh      :       VAEntrypointEncSlice
        VAProfileH264StereoHigh         :       VAEntrypointVLD
        VAProfileH264StereoHigh         :       VAEntrypointEncSlice
        VAProfileVC1Simple              :       VAEntrypointVLD
        VAProfileVC1Main                :       VAEntrypointVLD
        VAProfileVC1Advanced            :       VAEntrypointVLD
        VAProfileNone                   :       VAEntrypointVideoProc
        VAProfileJPEGBaseline           :       VAEntrypointVLD
        VAProfileJPEGBaseline           :       VAEntrypointEncPicture
        VAProfileVP8Version0_3          :       VAEntrypointVLD
        VAProfileVP8Version0_3          :       VAEntrypointEncSlice
        VAProfileHEVCMain               :       VAEntrypointVLD
        VAProfileHEVCMain               :       VAEntrypointEncSlice
        VAProfileHEVCMain10             :       VAEntrypointVLD
        VAProfileHEVCMain10             :       VAEntrypointEncSlice
        VAProfileVP9Profile0            :       VAEntrypointVLD
        VAProfileVP9Profile0            :       VAEntrypointEncSlice
        VAProfileVP9Profile2            :       VAEntrypointVLD

  I also tested with mpv, VP9 decoding works just fine with the self-
  compiled libraries.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-vaapi-driver/+bug/1756380/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to