It is good to hear you managed to enable Chrome VA-API on Linux.
On Thu, Jan 23, 2020 at 9:38 PM Tuukka Toivonen
<tuukka.toivonen(a)intel.com> wrote:
>
> Thanks for the mail, Hiro. I managed to find a fix or at least a
> workaround which was to set BufferAllocationMode (hack patch attached
> for reference). In addition, I applied the patch from
>
>
>
https://github.com/akarshanbiswas/chromium-vaapi/blob/master/enable-vaapi...
>
> and compiled Chromium with options
>
> use_vaapi=true
> proprietary_codecs = true
> ffmpeg_branding = "Chrome"
>
> and ran with options
>
> --ignore-gpu-blacklist --use-gl=desktop
>
> Regards,
> - Tuukka
>
> On Thu, 2020-01-23 at 10:02 +0900, Hirokazu Honda wrote:
> > Hi, Tuukka. Can you ask this question in chromium-discuss@ ML?
> > There maybe people that manage to make Chrome VA-API hw decoder work
> > on Linux.
> >
https://groups.google.com/a/chromium.org/g/chromium-discuss
> >
> > Best,
> > -Hiro
> >
> > On Tue, Jan 7, 2020 at 6:15 PM Tuukka Toivonen
> > <tuukka.toivonen(a)intel.com> wrote:
> > >
> > > Hi,
> > >
> > > 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?
> > >
> > > - Tuukka
> > >
> > > _______________________________________________
> > > intel-vaapi-media mailing list -- intel-vaapi-media(a)lists.01.org
> > > To unsubscribe send an email to
> > > intel-vaapi-media-leave(a)lists.01.org
> > > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s