Public bug reported:

Chrome always gives software decoders for videos even though the same
method works on Ubuntu 21.04 or Fedora 34 with Xorg. I can get
VDAVideoDecoder with these new distros but not with Ubuntu 20.04 LTS and
suspecting that package. I run Google Chrome (currently 91.0.4472.114)
with these flags:

--use-gl=desktop --enable-features=VaapiVideoDecoder --force-dark-mode
--flag-switches-begin --enable-gpu-rasterization --enable-zero-copy
--ignore-gpu-blocklist --flag-switches-end --origin-trial-disabled-
features=SecurePaymentConfirmation

with intel-media-driver-non-free installed.

vainfo:
libva info: VA-API version 1.7.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_7
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.7 (libva 2.6.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 20.1.1 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointFEI
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointFEI
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointFEI
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD

Tried with iHD and i965, nothing changed at all. Got VpxVideoDecoder
instead of VDAVideoDecoder and my GPU has the capability of using
VDAVideoDecoder, as it worked with Ubuntu 21.04 and Fedora 34.

I have Intel UHD Graphics 620.

lsb_release -rd
Description:    Ubuntu 20.04.2 LTS
Release:        20.04

apt-cache policy intel-media-va-driver-non-free 
intel-media-va-driver-non-free:
  Installed: 20.1.1+ds1-1build1
  Candidate: 20.1.1+ds1-1build1
  Version table:
 *** 20.1.1+ds1-1build1 500
        500 http://tr.archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages
        100 /var/lib/dpkg/status

What you expected to happen:
Got VDAVideoDecoder when watching a video with Google Chrome.

What happened instead:
Got VpxVideoDecoder, which is a software decoder. Also, h264ify-variants did 
not work.


Thanks in advance.

** Affects: intel-media-driver-non-free (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933088

Title:
  Does not work properly for videos with latest Chrome

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-media-driver-non-free/+bug/1933088/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to