I have a bunch of snaps that I publish in the store. While everything should work the same on all architectures, that’s not always the case. GPU & driver differences, and other library quirks, mean that testing on amd64 doesn’t automatically assume the same snap works on arm64, for example.
I can test the apps on amd64 (ThinkPad running Ubuntu) and arm64 (MacBook Air running Ubuntu Asahi), and, at a push (if I dig out a Raspberry Pi), on armhf.
Some of which are built for “interesting” architectures such as s390x, ppc64el, and riscv64.
I don’t care so much about s390x and ppc64el, and don’t think my wife will accept me having an IBM “mainframe” in the house, but I am keen for things to work on the new upstart architecture, riscv64.
Is there a reasonably priced, reasonably specced board or laptop that can run Ubuntu desktop, to test these things, even if at a slow speed? Just knowing an application launches at all, and paints a window, is better than no testing.
I’d say it’s too early to buy RISC-V hardware for this use case, given RVA23 SoCs are so close to become generally available.
I personally have high hopes for the upcoming RVA23 board from DeepComputing. I’d love to put my hands on a Framework laptop powered by that.
Do we actually know what happens when you run a snap using an RVA20 base (core18-24) on RVA23 hardware ? I assume we have a few RISC-V snaps in the store already, would they just segfault ?
Thank you @xypron for the quick & comprehensive response! Very much appreciated. I’ll start saving my pennies for April/May, and refresh those pages regularly.
In the meantime, I took your advice and tried using emulation.
I am using a ThinkPad L14 (11th Gen i5 CPU, 32GB RAM, 1TB disk) running Ubuntu 24.04. I followed the guide at “Using the live server image” and got:
qemu-system-riscv64: unable to find CPU model 'rva23s64'
I see there’s a call out further up the page about the cpu parameter: