To make sure MPP works for Chromium:
- The dependency
libv4l-rkmpp-git
needs SoC-specific setup, if not set it won't work. For RK3588(s), running the following command once is enough:sudo systemctl enable --now libv4l-rkmpp-setup.service
- You must run on X11 + mali blob driver + panfork mesa + 5.10 BSP kernel. For libmali of Valhall G610 under X11, use the following command:
LD_LIBRARY_PATH=/usr/lib/mali-valhall-g610/x11-gbm chromium --use-gl=angle --use-angle=gles-egl --use-cmd-decoder=passthrough
To quickly verify if hwvdec works for Chromium, open page chrome://gpu
and check Video Acceleration Information
, if you've set up it correctly you should see the table populated with all kinds of codec decoding capabilities.
About building issues:
- Lagging behind the actual Chromium, this package needs extra care when building, as some dependencies might be broken when the system libraries are newer. An example of this is the
re2
pacakge, different from the offiical Chromium pacakge, I had to change this package to usere2
from Chromium's source tree instead of the system one. Down the road there might be more dependencies broken, and I don't always have time to fix it. - A pre-built pacakge is available from my repo, alongside all of dependencies not in the official repos.
About update requests and out-of-date flags:
- Please note this package is based on the patches released by Rockchip which is lagged behind Chromium itself, so while this appears outdated it's actually up-to-date.