installed with method 1 on the mobian wiki, using the upstream repo.
Surprisingly easy, with the “Here be dragons” warning making me wary.
Do feel a bit sad that I cannot find all the apps I want/need on mobian yet, but glad this seems to work very well so far. And surprisingly fast.
Initial test, default install with “vanilla” android (so no google play store integration)
Signal, from their direct APK working. (tried running the “official” signal desktop linux x86 version in an emulated mode with qemu, but that failed). If Signal releases a “pure” arm linux version, will switch to that on mobian.
Other initial observations.
did not seem to handle rotation that well; would rotate, but only show thin part in half the window? like it didn’t get the screen dimensions also rotated. Locked the settings in Mobian to portrait and that works; if start waydroid in landscape mode, has the problem.
no wifi or cell in the android settings, but am connected to internet through mobian. I assume this is expected, but interesting… (wonder what that looks like to the android spyware?)
youtube doesn’t play well. can hear sound, but video freezes.
the sound recorder did not work; since youtube plays sound, may be the recording part?
and create a sample topic: (this is all on one line) ./bin/kafka-topics --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic riscv-topic
Did have to change dip switches, as mentioned in a forum, the settings for the default debian image did not work;
booted headless (even with the XFCE image), so used the serial to USB connector, to input default root password, and new user info.
I have the 8 gig version, and the default (above) boot only detected 4 Gig ram; searching google/forums indicated this is a known issue, and followed the steps from here (with different paths), final re-compile line, with the default image was
installing minecraft java edition on risc-v sbc visionfive 2
and this is the result
How to Install Minecraft Java Edition on RISC-V SBC VisionFive 2
Minecraft is one of the most popular sandbox games in the world, with millions of players across different platforms. Minecraft Java Edition is the original version of the game, which runs on any computer that supports Java. However, if you want to play Minecraft on a RISC-V single-board computer (SBC) like VisionFive 2, you will need some extra steps to make it work.
RISC-V is an open-source instruction set architecture (ISA) that can be implemented by anyone without paying royalties or fees. RISC-V offers many advantages over other ISAs, such as modularity, scalability, and efficiency. VisionFive 2 is a powerful RISC-V SBC that features a quad-core processor, 8GB of RAM, and a Mali-G52 GPU. It can run Linux and Android operating systems and supports various peripherals and expansion modules.
To install Minecraft Java Edition on VisionFive 2, you will need to follow these steps:
Install the deb file using sudo dpkg -i Minecraft.deb
Run Minecraft Launcher from your applications menu or terminal and log in with your Mojang account.
Edit your installation settings and add these JVM arguments: -Dorg.lwjgl.librarypath=$LWJGL_HOME/native/linux -Dorg.lwjgl.system.jni.nativespath=$LWJGL_HOME/native/linux
Save your settings and launch Minecraft Java Edition.
You should now be able to play Minecraft Java Edition on your VisionFive 2 SBC with decent performance and graphics quality. Enjoy!
Impressive. Incorrect, but sounds good.
step 1: the riscv64 openjdk download link does not exist 🙁. There ARE riscv64 java versions, including one directly from the debian repos, but it missed that.
step 3: talks about the minecraft launcher, try it and:
sudo dpkg -i Minecraft.deb dpkg: error processing archive Minecraft.deb (--install): package architecture (amd64) does not match system (riscv64) Errors were encountered while processing: Minecraft.deb
what actually worked?
Minecraft Java Edition Server runs on the VisionFive 2
Configured to run, along with an old windows 10 machine.
on the windows 10 machine, start the minecraft launcher, (need an account) and download the server.jar, by going to the installations tab, click “New installation”, and click the down arrow next to SERVER:
you then need to copy the server.jar to the visionfive 2
On the visionfive 2
sudo apt install openjdk-21-jre-headless
mkdir minecraft_server
cd minecraft_server
copy the server.jar to minecraft_server dir
will need to accept eula by editing eula.txt; simplest way is to run the server twice:
java -jar server.jar
will stop with message, edit the eula.txt and set to true and rerun the server
java -jar server.jar
then connect from the windows machine, with the IP of the visionfive 2.
notes. above java command just uses defaults; if you want to give more memory, you can with
java -Xmx4096M -Xms2048M -jar server.jar
this is not a fast machine, will see errors like
[13:59:15] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 2469ms or 49 ticks behind
so not for any major games, but useful to try it out. Similar to a raspberry pi, so all the “tweaks” from that will also work
Sound works via hdmi (sort of). There is sound coming from the TV, but not totally clear, sort of garbled, as if timing is a bit off, but fine for beeps and explosions from simple games. When previously using the headphone jack, was no distortion.
downloaded Python-Games from github. One note, debian is case sensitive, so some games looked for Fonts not fonts, or similar … so had to edit a few of the scripts. Simple ones (tetris) were playable, some of the more complex ones, were slow.
For Jupyter Lab, found installing the pure apt packages worked best, often got some compile/dependency errors when trying to just use pip install
did have to install a lot of dependencies with apt.
further note: do have an nvme installed, and put the code on that, but left the root system on SD card. So very slow, took ~6 hours (with a few stops in between to add dependencies)
result: Firefox runs!
./firefox --version Mozilla Firefox 112.0a1
Not very quick as the system is not optimized, and didn’t install the jit.
Youtube worked, and sound via headset (no hdmi sound). a bit slow, so reduced resolution to lowest to get smooth video. not bad for no GPU at all!
next project, to move root onto the nvme so system is faster. (and fix X again so boots properly)
Picked up the 8 Gig dual network version from AmeriDroid.
Not had time to do much; Downloaded the 202302 debian image onto SD card. One hint: the board did not come configured to boot from SD: had to move the small switches to enable:
Once had figured that out, everything came up fine. Mine had no problems booting, and displaying on my HDMI monitor. Don’t intend initially to use it that way, so just installed ssh server, and unplugged. Now on my network and running headless (the little lights are flashing by the power). Am using my official Raspberry PI USB3 power supply, it has just the 3A power required.
uname -a Linux starfive 5.15.0-starfive #1 SMP Mon Feb 27 14:03:14 EST 2023 riscv64 GNU/Linux