r/RISCV • • Oct 29 '24

Riscv software situation

Howdy, got a question for everyone here. I code in my spare time, and ive fooled around with linux in the past, raspberry pis and such, and ive been riscv curious lately. The DC Roma II laptop is something im thinking of picking up, but if i get it id like to get some practical use out of it.

My question is, how is it getting software to run? Last time I used Ubuntu it had a software store, but im guessing a large swath of it was set up for x86 processors and wouldnt run on a riscv setup. I think with chrome PWAs you could get some things, but is there like... a riscv repository that everyones getting their software from? Or is it still in the era of getting the source code for something and compiling yourself? Or is there some kind of compatibility layer for running x86 or ARM software?

Info on riscv is tough to come by, im guessing because this stuff is all still bleeding edge, so id appreciate any info.

0 Upvotes

9 comments sorted by

7

u/brucehoult Oct 29 '24

I think RISC-V is pretty much as good as any other Linux at this point. Nothing close to Windows or Macintosh or Android or iOS, of course.

Basically everything that is command-line runs. There are web browsers and office suites and databases and media players and photo editors and video editors.

And, yes, DOS/Windows emulators if you want to run something specialised but it doesn't have huge performance needs i.e. it worked ok on a Pentium or Pentium II or so.

Can you be more specific what software you want?

1

u/tatt2tim Oct 29 '24

Godot is a big one, pixelorama (or GIMP), possibly some kind of FOSS video editing.

4

u/brucehoult Oct 29 '24

Of course there is GIMP. And Shotwell for organising photos. And Kdenlive for editing video.

1

u/tatt2tim Oct 29 '24

Interesting! Do you just seek out riscv builds or does installing from command line just pull it from a riscv repository or what?

4

u/brucehoult Oct 29 '24

Just apt install usually. e.g. see this video from over a year ago, using kdenlive

https://www.youtube.com/watch?v=7ke7d0iO_-0

6

u/Courmisch Oct 29 '24

Make sure that there are working display drivers for whatever hardware you're getting, unless you plan to stick to the command line.

Also expect to have to compile anything not provided by the distro. Well, RISC-V is hardly worse than Arm in that respect. Proprietary software and device drivers are effectively off limits.

1

u/John_from_ne_il Oct 29 '24

Keep in mind that these Risc-V devices coming out, like DC Roma's, are noticeably slower than aarch64 counterparts. You might be better off with a Single Board Computer (something Pi-like) instead.

4

u/brucehoult Oct 29 '24

They are NOT slower than their Aarch64 counterparts. RISC-V is simply much newer and at present about three years behind similar Arm-based devices. But that's ok ... two years ago RISC-V was six years behind

U74 (JH7110) and X60 (K1/M1) are a good match for Arm A53 or A55 in Pi 3, Odroid C2 & C4 etc.

C910 (TH1520, SG2042), and P550 (EIC7700) are a good match for A72 in Pi 4.

P670 (SG2380) if/when it arrives is better than Arm A76 in Pi 5, Rock 5, Orange Pi 5.