Raspberry Pi 4: How to Run Emulators Like RetroPie

For years, Raspberry Pi fans have been running game emulation platforms such as RetroPie, Recalbox and Lakka. However, when the Raspberry Pi 4 launched in June, none of these platforms officially supported the new hardware and users were left looking for early beta versions or workarounds that didn't work so well. As of this writing, the situation has improved, but isn't completely resolved. Below, we'll show you how two ways to get emulation up and running on your Raspberry Pi 4 right now. 

Avram Piltch
Managing Editor: Special Projects

Avram Piltch is Managing Editor: Special Projects. When he's not playing with the latest gadgets at work or putting on VR helmets at trade shows, you'll find him rooting his phone, taking apart his PC, or coding plugins. With his technical knowledge and passion for testing, Avram developed many real-world benchmarks, including our laptop battery test.

  • mitch074
    "However, if you simply tell the Pi to launch EmulationStation after Windows every time, it works." - strange, as I thought the Raspberry was running a modified Debian distro with the LXDE window manager, not an unknown build of MS Windows...
    Reply
  • ksuquix
    Out of curiosity, has anyone following this gotten mouse functions (e.g. trackball) to work on pi4 yet?
    Reply
  • motosport
    Thank you for this article but I have a problem, the emulation station is crashing the first time that I launch it and keeps crashing until I reset the configuration in the installer. With this, I can launch it but it does not appear to behave correctly...it never saves my configuration and I don't have any possibilities to launch any games. Do you have any idea why ?

    Thanks,
    Alexandros
    Reply
  • Skvli
    I bought the Rpi 4 with 4GB of RAM. Would setting the memory setting higher than 256mb be adviseable? I don't care too much past N64/PS1 performance. That's what I'm really going for.
    Reply
  • redgarl
    Bought a PS Classic and hacked it. No latency, and work like a charm. Way better than a rasbery pie.
    Reply
  • Graylord
    I got Retropie working flawlessly on pi4 using the method previously described in this article, but managed to accidentally ruin my image later, so I came back to the article and see that it has now been changed and I cannot get the new method to work. Following the steps, I cannot get the pi4 supported version as" git fetch && git checkout fkms_rpi4 " results in "permission denied" errors. I tried to use chown on the entire ./git folder, but just got messages that I do not have permission to use those operations, and my command line experience ends there, and I don't know what to do.

    The old method just tricking the retropie into thinking you're a pi3 worked perfectly for me, but I cannot for the life of me figure out where you went to manually config the platform permanently, and the old article is no longer available, you have also blocked waybackmachine, so I cannot tell what you originally did. Could you please post the old method or let me know where to config the platform?
    Reply
  • Guipster
    Graylord said:
    Following the steps, I cannot get the pi4 supported version as" git fetch && git checkout fkms_rpi4 " results in "permission denied" errors.

    The problem on this tutorial is the --depth=1 on the git clone command (item 4 on this tutorial). To solve that, just remove that part, which will result on the line below (just copy it).
    sudo git clone https://github.com/RetroPie/RetroPie-Setup.git
    Hope it helps! :)
    Reply
  • SpinLock08
    Thanks for this tutorial. I got as far as the "git fetch && git checkout fkms_rpi4" part, but got the following:
    "error: cannot open .git/FETCH_HEAD: Permission denied"

    Noob that I am, I figured I'd add sudo, as in "sudo git fetch && git checkout fkms_rpi4". This time it read
    "fatal: Unable to create '/home/pi/RetroPie-Setup/.git/index.lock': Permission denied"

    Any tips? I really am new to Linux. Thanks in advance!
    Reply
  • darth_pi
    SpinLock08 said:
    Thanks for this tutorial. I got as far as the "git fetch && git checkout fkms_rpi4" part, but got the following:
    "error: cannot open .git/FETCH_HEAD: Permission denied"

    Noob that I am, I figured I'd add sudo, as in "sudo git fetch && git checkout fkms_rpi4". This time it read
    "fatal: Unable to create '/home/pi/RetroPie-Setup/.git/index.lock': Permission denied"

    Any tips? I really am new to Linux. Thanks in advance!

    I had the same problem and what I did to solve this problem was to change into the root uer then run the command git fetch && git checkout fkms_rpi4
    But since the root user does not have any password set by default in raspberry pi you will have to give the root user a password first with this command passwd root then change into root simply by typing in su rootHope this works for you too as it did for me.
    Reply
  • Openupitsdave
    I followed this tutorial perfectly for use with Raspbian Lite, but when I type in sudo git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git, it says "sudo: git: command not found".

    And when I tried using Raspbian Buster (regular, without recommended apps), I get the error "error: cannot open .git/FETCH_HEAD: Permission denied". So I tried using the methods in the following two posts, but both failed as well:

    darth_pi said:
    But since the root user does not have any password set by default in raspberry pi you will have to give the root user a password first with this command passwd root then change into root simply by typing in su rootHope this works for you too as it did for me.

    I typed in "passwd root" and it said I am not allowed to view or modify password for root.

    Guipster said:
    The problem on this tutorial is the --depth=1 on the git clone command (item 4 on this tutorial). To solve that, just remove that part, which will result on the line below (just copy it).
    sudo git clone https://github.com/RetroPie/RetroPie-Setup.git

    Also did not work. I got the same "permission denied" error.

    I had it working with the old tutorial except I could never get Autostart to Emulationstation to work which is why I keep coming back...Now nothing works. Does anyone know where I can find the old tutorial? I forgot how to manually change the version to rpi3. EDIT: I figured out how to change the platform version: do cd RetroPie-Setup then sudo __platform=rpi3 ./retropie_setup.sh
    This tutorial needs an update or a rollback.
    Reply