You are not logged in.

#1 2020-01-04 10:08:13

kjozsa
Member
Registered: 2008-06-05
Posts: 122

VP9 hw acceleration with VAAPI does not work with Stadia

I am using a Skylake i7 with i965. I followed the guide at https://wiki.archlinux.org/index.php/Ch … celeration and I believe I have the `chromium-vaapi-bin` AUR package set up correctly to use HW acceleration for VP9 decoding.

Verifying my setup with playing Youtube, chrome://media-internals shows:

video_codec_name	vp9
video_dds	false
video_decoder	MojoVideoDecoder

Which looks fine, but when I start Stadia (Google's cloud game streaming service), it shows:

video_codec_name	vp9
video_dds	false
video_decoder	VpxVideoDecoder

What's possibly wrong with my setup, any hints or ideas?

Offline

#2 2020-01-04 23:17:28

liewkj
Member
Registered: 2019-07-08
Posts: 103

Re: VP9 hw acceleration with VAAPI does not work with Stadia

SkyLake 6000-series Core CPUs do not support VP9.
You may be using the hybrid driver w/ i965 VA driver for chromium-vaapi. True VP9 support for Intel Graphics requires 7000-series and later.

Offline

#3 2020-01-05 07:05:22

kjozsa
Member
Registered: 2008-06-05
Posts: 122

Re: VP9 hw acceleration with VAAPI does not work with Stadia

liewkj wrote:

SkyLake 6000-series Core CPUs do not support VP9.
You may be using the hybrid driver w/ i965 VA driver for chromium-vaapi. True VP9 support for Intel Graphics requires 7000-series and later.

oh wait, I double checked my cpu:

model name	: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz

I believe that's a Kaby Lake then, right? That should work as expected?

Last edited by kjozsa (2020-01-05 07:05:50)

Offline

#4 2020-01-05 23:13:14

liewkj
Member
Registered: 2019-07-08
Posts: 103

Re: VP9 hw acceleration with VAAPI does not work with Stadia

kjozsa wrote:

oh wait, I double checked my cpu:

model name	: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz

I believe that's a Kaby Lake then, right? That should work as expected?

Yes, this CPU should work.

How do you know that Google Stadia support VAAPI? Even Google Chrome does not support VAAPI on Linux. Chromium-vaapi is a community effort.

Offline

#5 2020-01-06 09:22:20

kjozsa
Member
Registered: 2008-06-05
Posts: 122

Re: VP9 hw acceleration with VAAPI does not work with Stadia

liewkj wrote:

How do you know that Google Stadia support VAAPI? Even Google Chrome does not support VAAPI on Linux. Chromium-vaapi is a community effort.

I'm not really familiar on this field, but I can't really interpret the question about Stadia supporting VAAPI. Stadia (as a service) simply sends a VP9 video stream which can be decoded either by software and hardware. I think if VAAPI support is set up correctly in Chromium, the decoding can be done by the gpu. What I don't see is how how Stadia's VP9 stream could be different to Youtube's VP9 stream.. hence my confusion shown in the first post smile

Offline

#6 2020-01-07 01:04:09

liewkj
Member
Registered: 2019-07-08
Posts: 103

Re: VP9 hw acceleration with VAAPI does not work with Stadia

According to this article, you need to launch Stadia from browser but the claim was not verified. I am not a Google Stadia subscriber, so I can't verify the claim myself.

This issue shows intel_gpu_top VideoEngine activity even with VpxVideoDecoder, so very confusing.

Quite a number of reddit posts blamed Google Chrome of not supporting VAAPI in Linux version (input lag, CPU hog etc.) while launching Stadia from Google Chrome in Windows was playable.

Offline

Board footer

Powered by FluxBB