memorysafety / rav1d

An AV1 decoder in Rust.
BSD 2-Clause "Simplified" License
285 stars 21 forks source link

Build and test for RISC-V #861

Open rinon opened 5 months ago

rinon commented 5 months ago
thedataking commented 5 months ago
thedataking commented 4 months ago

Currently, enabling vector support crashes qemu-riscv64-system, need to fix that. In order to enable the v target feature, QEMU needs to be invoked like this:

qemu-riscv64-static -cpu rv64,v=true,vext_spec=v1.0,vlen=256,elen=64 path/to/dav1d

Issue observed on QEMU 8.0.4. Might be worth trying on a newer release.

Notes on how to debug crashes in QEMU: https://github.com/memorysafety/rav1d/pull/227#issuecomment-1537215269