
SwanStation (PS1 Emulation) on the SpacemiT K3
Someone mentioned it is possible to build SwanStation on RISC-V.
https://forum.rvspace.org/t/visionfive2-in-2026-mostly-games/5939/15
The developer probably never tested on RISC-V, so I had to make some small changes to the code.
https://github.com/piepacker/swanstation
sudo apt install git cmake libsdl2-dev libxrandr-dev pkg-config qtbase5-dev qtbase5-private-dev qtbase5-dev-tools qttools5-dev libevdev-dev libwayland-dev libwayland-egl-backend-dev extra-cmake-modules libgbm-dev libdrm-dev libcurl4-gnutls-dev ninja-build
Fixes:
CMakeLists.txt: replace fatal error Unknown system processor with set(CPU_ARCH= "rv64gcvh")
cubeb_audio_stream.cpp:
#include "stdio. h"
Line 88: remove std::
StringUtil.h: #include "cstdint"
log.h: #include "cstdarg"
platform.h: replace error Unknown architecture with #define CPU_ARCH_STR "rv64gcvh"
Build command: cmake -DCMAKE_BUILD_TYPE=Release -GNinja -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DUSE_WAYLAND=ON ..
Start the no-gui version (you will get a gui): ./duckstation-nogui
I got the PS1 bios from the PS3 firmware. You do need an x86 or ARM computer to do that.
https://wiki.recalbox.com/en/tutorials/games/guides/playstation-1/grab-ps1-bios-from-ps3-firmware
Here you can see Colin McRae Rally: https://youtu.be/bwFC9ImSSos