linux-mainline-on-arm-chromebooks icon indicating copy to clipboard operation
linux-mainline-on-arm-chromebooks copied to clipboard

help with testing chromium v4l2 av1 decoding on mt8195 soc

Open amazingfate opened this issue 1 year ago • 0 comments
trafficstars

Hello, I've been trying to make chromium working with mainline v4l2 decodes on arm socs. And now I have an issue of av1 v4l2 stateless decoder on rockchip rk3588.

At the moment there are only two socs have av1 stateless decoder supported by mainline kernel, one is rockchip rk3588, and another one is mediatek mt8195.

Chromium does have code to use v4l2 stateless decoder from mainline kernel, and I have done some work to let mainline chromium decode videos with vpu on socs. I have packaged a patched chromium for ubuntu jammy and noble in my ppa: https://launchpad.net/~liujianfeng1994/+archive/ubuntu/chromium.

I have confirmed that this version chromium can work with qcom sm8250(snapdragon 865 with stateful h264/hevc decoder), rockchip rk3399(stateless h264/hevc decoder) and rockchip rk35xx(stateless h264 decoder).

But when it comes to av1 decoder on rk3588, the video is not played well. Chromium does not support av1 decoding on linux by default, but it supports chromeos with the same mainline v4l2 stateless api, so I add patches to enable it on linux.

If anyone here with mt8195 soc (I see chromebook cherry with it is supported ) can help testing the chromium in my ppa with av1 decoding, it would be much helpful to me to decide which should I debug later, av1 decoder kernel driver or decoding code in chromium.

amazingfate avatar Nov 18 '24 05:11 amazingfate