I am using i.MX Linux Yocto Project BSP 5.10.52_2.1.0 Release to build the imx8m mini system environment,My Settings are as follows:
MACHINE ??= 'imx8mmevkdesktop'
DISTRO ?= 'imx-desktop-xwayland'
I have added chromium-ozone-wayland_91.0.4472.114.bb into my system,I turned on the "proprietary-codecs" and the "use-vaapi" option, then added "libva-initial" to the "DEPENDS +=" of the chromium-gn.inc file.
At present, chromium has been successfully compiled, and after entering the system, you can also successfully open and browse the web page. But when I use chromium to watch videos, there is a problem: chromium cannot play videos smoothly, and the video is very stuck. I would like to ask how I can make chromium support the function of hardware acceleration decoding, so that the video can play smoothly.