Hi,
We have compiled with "DISTRO=fsl-imx-xwayland MACHINE=imx6qsabresd", the image "imx-image-multimedia" and chromium-ozone-wayland with yocto Zeus. The benchmark is very low on chromium.
We check the GPU setting of chromium as below:
Table 1.
Graphics Feature Status |
Canvas: Hardware accelerated |
Flash: Hardware accelerated |
Flash Stage3D: Hardware accelerated |
Flash Stage3D Baseline profile: Hardware accelerated |
Compositing: Hardware accelerated |
Multiple Raster Threads: Force enabled |
Out-of-process Rasterization: Hardware accelerated |
OpenGL: Enabled |
Rasterization: Hardware accelerated |
Skia Renderer: Enabled |
Video Decode: Hardware accelerated |
Vulkan: Disabled |
WebGL: Hardware accelerated |
WebGL2: Hardware accelerated |
(the settings above are applied to both Zeus & Krogoth)
The benchmark compare with krogoth for reference:
Table 2.
NXP BSP release | Zeus | Krogoth |
Yocto version | 3.0 | 2.1 |
Linux kernel version | 5.4.70 | 4.1.15 |
Chromium version | 83 | 48 |
FPS | ~52 | ~56 |
Bunnies | 1200 | 3100 |
We discover that there is a patch for version 48 which links shown below from NXP, but there is no much difference after remove this patch.
https://github.com/Freescale/chromium-imx
According to Table 1, most features (except Vulkan) are enabled and accelerated, but it seems hardware acceleration feature does NOT really activated.
therefore, please help to guide us to activate hardware accelerator for Chromium Browser.