Dear maintainers,

I have been tracking for Chromium riscv64 support for a while (actually I am one of the maintainer at Arch Linux RISC-V and their Chromium patches). I have compiled Chromium 117 with the attached patchset and everything works fine including sandbox, except probably GPU acceleration though, since I don't have access to any capable device.

Regarding patch content, `ffmpeg-scripts.patch` contains changes to Chromium's own scripts for FFmpeg to generate headers and config files, which is inside `ffmpeg-config.patch`. Here I manually turned off RVB and RVV feature detection, since they are broken right now and there isn't really RISC-V hardware that implements standard RVB and RVV. I also reverted one commit in `ffmpeg-revert-442313ad.patch` which makes the FFmpeg scripts rely on Linux x86-64 host. `v8.patch` is a backport of [1], since V8 shipped with Chromium 117 is broken for riscv64. This should be able to be simply removed in the next major version.

The patch size is reasonably small apart from `sandbox.patch`. With crashpad's RISC-V support upstreamed and released in 117, once sandbox patch is upstreamed too, we can modify our small patches after ppc64el ones. But for now, we need to figure out a way for both platform's patch to exist with significant macro condition overlap, if you are willing to integrate riscv64 support.

Cheers,
Eric

Attachment: chromium-117-riscv64-patches.tar.xz
Description: application/xz

Reply via email to