[HowTo] Installing RetroPie alongside OSMC RC (the easy way)

I see the tvservice line every time I quit an emulator.

Hello @mcobit, I have new question :slight_smile: Is it normal to be returned to Kodi every time when I delete game from ES menu? It is happening so fast that I canā€™t see if there is some error/warning message :smile: and I have the same problem like @Chr0ne:

/opt/retropie/supplementary/runcommand/runcommand.sh: line 452: tvservice: command not found

Most likely a PATH issue try editing line 452 to include the full path to tvservice which is /opt/vc/bin/tvservice so it will then read
local has_mode=$(/opt/vc/bin/tvservice -m ${mode_id[0]} | grep -w ā€œmode ${mode_id[1]}ā€)

Rather strange as it seems to be a problem with this line only and not the other occurences in runncommand.sh. Also it worked beforeā€¦ Did something change?

Hi mcobit,
First of all congratulations for your implementation.
I have not read the entire topic because it is very long and so i dont know if my question was made. I did not understand if Kodi must be stopped before installing RetroPie or every time I have to run this by the Kodi launcher.

Thank you.

Kodi will be automatically stopped and restarted every time you run RetroPie from the Kodi launcher.

I just tried to delete a game too and emulationstation also quit and brought me back to Kodi. After another few more overall installs still no solution. And i registered that even dosbox nor scummvm would launch, same problem as with the emulators.

Looks like I really need to find some time to fix this stuff.
Sorry, but been a bit busy.
If anybody finds a solution before me, please post it or submit a patch.

My problem matched Chr0neā€™s except that it didnā€™t fade back to emulationstation. In fact, the keyboard would freeze and I would have to ssh in to stop emulationstation and it would restart just fine. Regardless, this solution fixed my problem. Thanks.

So, stop and start operation is not necessary during the installation phase?

It is necessary as Kodi needs to be stopptled to install the Launcher and some other stuff. Also I am not sure that it will survive the installation of all the packeges if it is still running during their installation.

Is there a video of this showing what it looks like from within OSMC jumping into RPie and back? That might be useful on YouTube :wink:

I tried to fix some stuff. Could somebody who had troubles on a Pi1 or with the tvservice try again?

Just installed it on a fresh RC2 image and it seems to work fine now.

Are you on a PI1 by any chance?

Here is some video for your enjoyment :wink:

5 Likes

Pi2.

Does the problem still persist with the latest version and does it also affect a normal retropie installation?

1 Like

Thanks mcobit! The updated script seems to have fixed the tvheadend error. Well done!

Good. So it really was a problem with /opt/vc/bin not being in the PATH variable when running from KODI. No clue why, but now Iā€™m simply adding it to PATH when starting emulationstation and it works :slight_smile: