# RetroArch Megathread

**URL:** <https://forum.clockworkpi.com/t/retroarch-megathread/716>\
**Category:** Emulators\
**Tags:** retroarch, howto\
**Created:** [July 25, 2018, 5:04am UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716 "2018-07-25T05:04:39Z")\
**Posts on this page:** 20\
**Page:** 17

<div class="post-metadata">

**Author:** ![fr500](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fr500/32/389_2.png) [@fr500](https://forum.clockworkpi.com/u/fr500)\
**Post date:** [May 7, 2019, 1:37am UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/328 "2019-05-07T01:37:08Z")

</div>

Give me a few, I’ll give it a shot

---

<div class="post-metadata">

**Author:** ![fr500](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fr500/32/389_2.png) [@fr500](https://forum.clockworkpi.com/u/fr500)\
**Post date:** [May 7, 2019, 2:14am UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/329 "2019-05-07T02:14:22Z")

</div>

try adding --disable-opengl\_core to the configure line

Edit:  
Configure like this:

```auto
./configure --disable-vulkan --disable-ffmpeg --enable-xmb --disable-materialui --disable-flac --disable-parport --disable-vulkan_display --disable-videocore --disable-videoprocessor --disable-v4l2 --enable-x11 --disable-wayland --disable-vg --disable-jack --disable-discord --disable-langextra --enable-mali_fbdev --enable-opengles --disable-opengl_core --disable-opengl1

```

---

<div class="post-metadata">

**Author:** ![maxxx](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@maxxx](https://forum.clockworkpi.com/u/maxxx)\
**Post date:** [May 10, 2019, 1:38pm UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/330 "2019-05-10T13:38:34Z")

</div>

Why not have a video tutorial

---

<div class="post-metadata">

**Author:** ![fr500](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fr500/32/389_2.png) [@fr500](https://forum.clockworkpi.com/u/fr500)\
**Post date:** [May 11, 2019, 1:59am UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/331 "2019-05-11T01:59:36Z")

</div>

Video tutorials are a waste of time.  
You have to pause, copy stuff from video description, etc.

Also, it would take me a couple hours to make a decent video, I’d rather offload that onto the readers 😛

---

<div class="post-metadata">

**Author:** ![Petrakis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petrakis/32/256_2.png) [@Petrakis](https://forum.clockworkpi.com/u/Petrakis)\
**Post date:** [May 11, 2019, 5:21pm UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/332 "2019-05-11T17:21:21Z")

</div>

Or maybe a repo with precompiled stuff, why waste electricity? and be part of the global warming? 😛

---

<div class="post-metadata">

**Author:** ![duckyvirus](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/duckyvirus/32/6280_2.png) [@duckyvirus](https://forum.clockworkpi.com/u/duckyvirus)\
**Post date:** [May 13, 2019, 1:53pm UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/333 "2019-05-13T13:53:07Z")

</div>

if this was something that was done up and maybed added to the repository (see other threads) it would be quite useful.

---

<div class="post-metadata">

**Author:** ![Turner\_Flynn](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/turner_flynn/32/2411_2.png) [@Turner\_Flynn](https://forum.clockworkpi.com/u/Turner_Flynn)\
**Post date:** [May 22, 2019, 10:07pm UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/334 "2019-05-22T22:07:59Z")

</div>

I followed the guide and was able to configure retroarch with no issues. However, when I try to run any games from an emulator it boots back to the launcher menu. I have used a few different versions of snes9x for SNES and tried mGBA, Meteor and gpSP for GBA. I also tried changing the GPU driver to Lima. Any help would be much appreciated!

---

<div class="post-metadata">

**Author:** ![GoldenAgeNerd](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/goldenagenerd/32/1050_2.png) [@GoldenAgeNerd](https://forum.clockworkpi.com/u/GoldenAgeNerd)\
**Post date:** [May 24, 2019, 5:30pm UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/335 "2019-05-24T17:30:23Z")

</div>

> [@fr500](#):
>
> sudo apt-get install git build-essential

after i run this line it tells me that there are 3 apts that need to be upgraded  
“0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.” so i enter sudo apt upgrade, but then it tells me that i can’t do that “Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?” and i try that, i type in “apt-get update”, the result is " Failed to process build dependencies". I just noticed as i’m writing this that retroarch is already installed, so now my question is what is the deal with these 3 apts?

---

<div class="post-metadata">

**Author:** ![GoldenAgeNerd](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/goldenagenerd/32/1050_2.png) [@GoldenAgeNerd](https://forum.clockworkpi.com/u/GoldenAgeNerd)\
**Post date:** [May 24, 2019, 5:51pm UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/336 "2019-05-24T17:51:13Z")

</div>

when i enter make -j4 i get this:

Makefile:10: config.mk: No such file or directory  
config.mk is outdated or non-existing. Run ./configure again.  
Makefile:190: recipe for target ‘config.mk’ failed  
make: \*\*\* [config.mk] Error 1

---

<div class="post-metadata">

**Author:** ![RandomManA](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@RandomManA](https://forum.clockworkpi.com/u/RandomManA)\
**Post date:** [May 25, 2019, 4:18am UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/337 "2019-05-25T04:18:23Z")

</div>

> [@Turner\_Flynn](#):
>
> I followed the guide and was able to configure retroarch with no issues. However, when I try to run any games from an emulator it boots back to the launcher menu. I have used a few different versions of snes9x for SNES and tried mGBA, Meteor and gpSP for GBA. I also tried changing the GPU driver to Lima. Any help would be much appreciated!

I have this exact same problem. The emulators in Retro Games work fine, and Retroarch loads cores without a problem, but loading games causes a short loading screen, a less-than-a-second black screen, another loading screen for a few seconds, and back to launcher. I’ve tried games zipped and unzipped. I’ve tried every core I have games for. I followed the setup instructions verbatim, and even tried a new memory card. Nothing works. I have 1.7.7 - perhaps an older version of RA works better on ClockworkPi?

[EDIT] Welp, now almost no emulators work. The MGBA, Nestopia, and MAME options in the Retro Games folder all load games, but they all have the screen freeze around 30 seconds after starting - I can still hear sound, but the only thing I can do to get out of it is power down the unit. Changing the GPU driver had no effect. So, now the only working emulator I have is Pcsx. I tried using the gPSP core available in another topic, no change. I think all three of these use Retroarch as a launcher, so I’m betting that’s the culprit, but I have no idea how to fix it. I followed the setup instructions exactly, so maybe I have a bad Clockwork Pi?

[EDIT 2] I attempted to rebuild Retroarch, and got an error that EGL was disabled. This didn’t happen the first time. I added --enable-egl to the list of commands in the .configure, and it installed okay, but nothing has changed. I still cannot load games in Retroarch, and attempting to run them through the emulators in the Retro Games folder results in a frozen screen after a few seconds.

---

<div class="post-metadata">

**Author:** ![fr500](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/fr500/32/389_2.png) [@fr500](https://forum.clockworkpi.com/u/fr500)\
**Post date:** [May 27, 2019, 3:11am UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/338 "2019-05-27T03:11:58Z")

</div>

you have to run the configure script before running make

---

<div class="post-metadata">

**Author:** ![Veljon](https://avatars.discourse-cdn.com/v4/letter/v/b38774/32.png) [@Veljon](https://forum.clockworkpi.com/u/Veljon)\
**Post date:** [June 8, 2019, 5:37pm UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/339 "2019-06-08T17:37:33Z")

</div>

Hi, thanks so much for the thorough guide!  
I have some dumb questions to ask. I’ll ask the first and then go from there.

1. So these instructions are to replace the current RetroArch that comes preinstalled on the GS (I received mine May 2019)? Or were these instructions to put RetroArch on an early version of GS that did not come with it?

I ask because I’m not sure whether I should start with the apt-get and git clone commands. Thansk!

---

<div class="post-metadata">

**Author:** ![r043v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/r043v/32/672_2.png) [@r043v](https://forum.clockworkpi.com/u/r043v)\
**Post date:** [June 8, 2019, 10:11pm UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/340 "2019-06-08T22:11:18Z")

</div>

your gs just have one of the official os image, so the retroarch included is not dated from your purchase but from the os release date, and that’s not mean retroarch included in the os was the latest available from this date.

the [git repo](https://github.com/libretro/RetroArch) contain the official **current** source code of retroarch  
it’s a [pretty active](https://github.com/libretro/RetroArch/pulse/monthly) project and @fr500 is one of the [top author](https://github.com/libretro/RetroArch/graphs/contributors)  
just use his tutorial, buy him a beer and enjoy \o/

---

<div class="post-metadata">

**Author:** ![Veljon](https://avatars.discourse-cdn.com/v4/letter/v/b38774/32.png) [@Veljon](https://forum.clockworkpi.com/u/Veljon)\
**Post date:** [June 10, 2019, 12:47am UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/341 "2019-06-10T00:47:22Z")

</div>

Perfect, makes total sense! Thanks so much!!

---

<div class="post-metadata">

**Author:** ![Veljon](https://avatars.discourse-cdn.com/v4/letter/v/b38774/32.png) [@Veljon](https://forum.clockworkpi.com/u/Veljon)\
**Post date:** [June 10, 2019, 2:51am UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/344 "2019-06-10T02:51:45Z")

</div>

“Now edit your config and change the _video\_filter\_dir_ too  
video\_filter\_dir = “~/.config/retroarch/filters/video/””

Sorry but I’m not sure how to do this? Specifically the “edit your config and change…etc.”

---

<div class="post-metadata">

**Author:** ![r043v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/r043v/32/672_2.png) [@r043v](https://forum.clockworkpi.com/u/r043v)\
**Post date:** [June 10, 2019, 11:01am UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/345 "2019-06-10T11:01:10Z")

</div>

config file is at ~/.config/retroarch/retroarch.cfg  
(in linux ~ mean your home folder /home/cpi/  
also file & folder starting with a dot are hidden)  
to edit the file you could made it by ssh using vim by exemple  
`vim ~/.config/retroarch/retroarch.cfg`  
type **/video\_filter\_dir** and **enter** to find string _video\_filter\_dir_  
type **i** to enter insert mode  
do your edition (paste can be do using ctrl + shift + v)  
**escape** key will exit edit mode  
type **:wq** and **enter** to write file and quit vim

---

<div class="post-metadata">

**Author:** ![Veljon](https://avatars.discourse-cdn.com/v4/letter/v/b38774/32.png) [@Veljon](https://forum.clockworkpi.com/u/Veljon)\
**Post date:** [June 10, 2019, 5:30pm UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/346 "2019-06-10T17:30:47Z")

</div>

Thanks so much, worked perfectly!!

---

<div class="post-metadata">

**Author:** ![Veljon](https://avatars.discourse-cdn.com/v4/letter/v/b38774/32.png) [@Veljon](https://forum.clockworkpi.com/u/Veljon)\
**Post date:** [June 10, 2019, 5:58pm UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/347 "2019-06-10T17:58:34Z")

</div>

I’ve made the directories as indicated above in the tutorial and changed the directory settings but when I save a game (specifically a GBA game) it still appears in /home/cpi/games/MGBA. When looking at the config file is still says “savestates\_in\_content\_dir = “true””. The same is true for save files.

I’m assuming that I need to change this to “false” and then the saved games will then start heading to the directories I’ve made?

---

<div class="post-metadata">

**Author:** ![r043v](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/r043v/32/672_2.png) [@r043v](https://forum.clockworkpi.com/u/r043v)\
**Post date:** [June 10, 2019, 7:09pm UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/348 "2019-06-10T19:09:55Z")

</div>

yes, the bools are prevalents over the defined paths

> <https://github.com/libretro/RetroArch/blob/master/paths.c#L142>

---

<div class="post-metadata">

**Author:** ![Veljon](https://avatars.discourse-cdn.com/v4/letter/v/b38774/32.png) [@Veljon](https://forum.clockworkpi.com/u/Veljon)\
**Post date:** [June 11, 2019, 11:50pm UTC](https://forum.clockworkpi.com/t/retroarch-megathread/716/349 "2019-06-11T23:50:28Z")

</div>

Hi…again,

In the above it looks like the BIOS/system directory is in /home/cpi/games/Retroarch. However, I don’t have a Retroarch folder in my games folder and the setup given seems similar.

> [@fr500](#):
>
> /home/cpi | |—retroarch |-------|-------games |-------|-------saves |-------|-------states |-------|-------system

I’m assuming the below quote has the answer but I’m not sure why, help please?

> [@fr500](#):
>
> The config file is always at **/home/cpi/.config/retroarch/retroarch.cfg**

[Previous page](https://forum.clockworkpi.com/t/retroarch-megathread/716.md?page=16)

[Next page](https://forum.clockworkpi.com/t/retroarch-megathread/716.md?page=18)
