[amdgpu] 4K or 1440p VP9 Stadia Streaming has messed up colors in Chromium with VAAPI
System information
System:
Host: mustang.cmartinez.pizza Kernel: 5.9.9-arch1-1 x86_64 bits: 64
compiler: N/A Desktop: GNOME 3.38.1 tk: GTK 3.24.23 wm: gnome-shell
dm: GDM Distro: Arch Linux
CPU:
Info: Quad Core model: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
bits: 64 type: MT MCP arch: Zen+ rev: 1 L2 cache: 2048 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 36748
Speed: 1428 MHz min/max: 1400/2300 MHz Core speeds (MHz): 1: 1269 2: 1235
3: 1565 4: 1808 5: 1215 6: 1222 7: 1286 8: 1258
Graphics:
Device-1: AMD Picasso vendor: Lenovo ThinkPad E595 driver: amdgpu
v: kernel bus ID: 05:00.0 chip ID: 1002:15d8
Device-2: Chicony Integrated Camera (1280x720@30) type: USB
driver: uvcvideo bus ID: 3-2:3 chip ID: 04f2:b604
Display: x11 server: X.org 1.20.9 compositor: gnome-shell driver: amdgpu
resolution: <xdpyinfo missing>
OpenGL: renderer: AMD Radeon Vega 10 Graphics (RAVEN DRM 3.39.0
5.9.9-arch1-1 LLVM 11.0.0)
v: 4.6 Mesa 20.2.2 direct render: Yes
Describe the issue
When I try to play Stadia in my Chromium browser with hardware accelerated video decode, I get messed up colors like green and red blocks. If I do not force 4k or 1440p VP9 with the Stadia+ extension, the output looks fine but only in 1080p. Youtube VP9 videos that are 4k do not exhibit this issue so it seems specific to the streaming aspect of Stadia. This works fine on my desktop that has a Radeon 5700XT.