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.
Can this approach be implemented on the 5.10.52 yocto project?
Thank you for your reply, but I still have a problem here. I cannot find i.MX8 5.10.72_2.2.2 yocto release, I can only see i.MX8 5.10.72_2.2.0 yocto desktop, can you provide a download link
Hi @Tracy
Please use xml in this link: https://source.codeaurora.org/external/imx/imx-manifest/tree/?h=imx-linux-hardknott
Hi,@Zhiming_Liu
I think I found the problem,The problem is that the "5.10.72-merge.patch" patch is not correctly inserted into the chromium source code,I just put it in the path of "yocoto-2.2.2/sources/meta-browser/meta-chromium/recipes-browser/chromium/files". I would like to know in which file I should refer to this patch file.
Hello,@Zhiming_Liu
Thanks for the link,I have lowered the project and made modifications according to the instructions,
When I modified it according to chromium-ozone-wayland_91.0.4472.114.bb.diff, the compiler reported an error