I am trying to enable Chromium browser VAAPI HW decoding support for
VP9 on Linux & Intel HW. I'm using latest sources from repository.
There are patches against Chromium floating around which supposedly do
this, but in practice they just allow enabling option
switches::kDisableAcceleratedVideoDecode in Chromium. Using the patch,
compiling with option use_vaapi=true, enabling the option (despite the
name, the option needs to be enabled, not disabled), and launching
Chromium with options --ignore-gpu-blacklist and --use-gl=egl almost
works but there is one issue.
Only YUV format outputs are supported by media-driver, but Chromium
requires RGB because the frames are given to OpenGL using dmabufs. Due
to this mismatch it doesn't work.
There are many reports that people have successfully used VAAPI with
Chromium and I am curious how that is possible. Did previous versions
of Intel media-driver (or intel-vaapi-driver) support RGB output? If
so, is there any way to add that support back?