4 ms·
Raspberry Pi 4 and the State of Video Game Emulation
- armitron 7y agoI never understood the hype about emulation on Raspberry Pi. Fidelity goes out the window and the experience is very subpar. End result being the emulated games don't even come close to the real thing, even for 16bit systems. It's sad that all the effort spent on "optimizing" emulators for RPI is essentially wasted, putting lipstick on a pig. Spend a little more money and get a single board x86 computer (e.g. Odroid H2) or a NUC and these issues go away.
- szczys 7y agoI think as Drew mentions in his article, Raspberry Pi is the least-common denominator in the emulation game right now given the price and sheer volume of availalbe guides and software packages for the thing. Sure, a NUC will blow it away and if you're building a dedicated gaming appliance that's a good way to go. But compared to the Pi3 and it's predecessors there's respectable horse-power on the Pi4.
- vardump 7y ago> Spend a little more money and get a single board x86 computer (e.g. Odroid H2) or a NUC and these issues go away. Or ditch emulation and buy an open source based MiSTer FPGA-board. No Playstation generation consoles though, but 8-bit and 16-bit era consoles, arcade systems and home computers are pretty accurate and are getting better each day. MiSTer also supports "486" core, although it's closer to ~16 MHz 386. Amiga core is also pretty nice. An FPGA based system can achieve higher accuracy than even the fastest x86 CPUs. Not sure if MiSTer is the ultimate solution yet, but the potential is certainly there. (Not affiliated with any MiSTer authors, just a fan of the project.) https://github.com/MiSTer-devel/Main_MiSTer/wiki https://github.com/MiSTer-devel/Main_MiSTer/wiki http://www.atari-forum.com/viewforum.php?f=117 http://www.atari-forum.com/viewforum.php?f=117
- mrguyorama 7y agoThere is a significant price differential between a raspberry pi and an fpga solution
- vardump 7y agoThat's right. Reasonable MiSTer setup will cost $150-$250. Still a lot cheaper than top of the line AMD/Intel CPU. MiSTer's FPGA could probably beat hypothetical 10-50 GHz x86 CPU when absolute accuracy is desired. Emulating something as simple as Famicom (NES) accurately can bring 4 GHz CPU on its knees, see for example https://www.reddit.com/r/EmulationOnPC/comments/a5u7yn/what_sort_of_hardware_does_it_take_to_run_mesen/ https://www.reddit.com/r/EmulationOnPC/comments/a5u7yn/what_.... That said, emulators on x86 hardware (or even RPi) can be very good and even have very low latency. They're also more convenient, because they can save whole system state and even support smooth rewind.
- naikrovek 7y ago> MiSTer's FPGA could probably beat hypothetical 10-50 GHz x86 CPU when absolute accuracy is desired. You have clearly "drank the Kool-Aid" on this, and you are misinformed. Accuracy is not inherent to FPGAs. Yes, full transistor level simulation of a CPU is very slow on a different CPU, that's true. If your goal is to have cycle accurate gate level emulation of video game hardware, which produces perfectly accurate gameplay, then yes, an FPGA is where you go. If your goal is to play a perfectly accurate emulation of your game without worrying about emulated transistor state at every clock edge, then a CPU can do just fine, and it doesn't need to be some obscene clock speed to achieve that goal.
- vardump 7y ago> If your goal is to play a perfectly cycle accurate emulation of your game without worrying about emulated transistor state at every clock edge, then a CPU can do just fine CPU limitations are reached long before emulating a system at gate level! I think emulating a lowly 1 MHz 6502 at gate level could not run anywhere near realtime — even without any support chips. As someone who has written CPU based emulators, accurately synchronizing between multiple video, audio etc. support chips and even other CPUs can be very very difficult to do in real time. Trying to leverage modern multi-core CPUs has no advantage over single core ones, because inter-CPU synchronization latency far exceeds theoretical gains. You can get pretty close by cheating a bit as long as no software depends on exact timing. That's what most CPU based emulators do. I believe we should try to accurately preserve these early systems for the future generations. They'll be part of our cultural heritage and history.
- soganess 7y agoI can't say I understand the continued interest in RPI emulation. A few years back it might have made sense, but small board options are much more varied now. The Nvidia Jetson Nano seems like a no brainer in the emulation space. It's 90$ with 4GB RAM (vs 70$ for a 4GB Pi4). For that extra Jackson, one gets actual GPU cores with compute support baked in(not to mention mature graphics drivers). And its not like there is much of a trade-off for those CUDA cores. The Nano is also roughly the same size as a Pi, has that 40 pin header (it even throws in actual PCIe lanes) I realize emulation is often CPU bound, but having a decent GPU on tap can't hurt. I don't do small boards, so maybe I am missing something?