Can I play games on uConsole R-01?

The biggest hurdle I’m having with my R01 uConsole is finding software built to run on riscv64. This is my first RISC-V device and I haven’t found any games that can run on this device. I would love to try Genesis or Gameboy games, homebrew platformers, or anything like that, but I don’t know if that’s feasible on this architecture. Any hints or recommendations? Thanks.

2 Likes

lighter weight games should be possible. I have a Sipeed LicheeRV which uses the same chip as the R-01 (Allwinner D1). The graphics are slow on it, it lacks GPU acceleration that is usable by any open source games (no OpenGL, GLES, or Vulkan). For text-based games like Nethack/Angband/Moria it worked fine for me. A console emulator that doesn’t need GL for any display effects ought to work, but you’ll have to hunt around for one and build it yourself.

I feel like the R-01 is a pretty advanced choice. Most people will want to setup some kind of cross compile environment and start building your own software for it. That can be as brute force as putting QEMU on your desktop system. Running a vanilla Debian riscv image on it that has a similar glibc as the clockwork pi image will be good enough for generating compatible binaries.

Another option, if you are not satisfied with diving into Debian-on-QEMU. Would be investigating a packaging and build system like NixOS and adding that on top of the Clockwork Pi R-01 image, and hopefully leverage someone’s binary cache to make it easier to pick up build dependencies when building your own packages. See also GitHub - chuangzhu/nixos-sun20iw1p1: NixOS on Allwinner D1 RISC-V

1 Like

I have it. no. There isn’t really isnt graphics, its only okay to like check something, for example a map or read a pdf. If you are not comfortable with the command-line this is not the option . it’s better to stick with command-line games.

anyone get TIC80 running on this bad boy?

i’d say “it’s running” and it compiles well to risc-v meaning that code is really portable without platform-specific assemblies inline

Yes you can! And I’m playing it now. :blush:

I run a NES Emulator called InfoNES. Someone port it to arm, you can find it here:GitHub - nejidev/arm-NES-linux: arm-NES-linux emulate for InfoNES open source
But that will not work on R-01, i did some code work, to make the sound better, to rotate the image to the right direction, and so on.
Besides, the R-01 core is too slow, you need to overclock it. (you can find the method in this forum) After that, it still a bit slow, but baiscly can play.

… but you have to be patient. VERY patient

it also uses shitload of CPU juice but it might be related that i’ve built it without any D1-specific optimizations and it’s very likely that openSBI’s having hard time to trapping illegal instructions

after much tinkering i have to report that TIC-80 is beyond our reach. Basically everything OpenGL based can be measured with SPF (seconds per frame) score. Same is true for chocolate-doom.
Frozen-bubble actually works pretty decent ;d