RetroArch on OpenElec

@BlockABoots, It looks like I may need to update my build system as it may have become out of date for latest OE.

@marcos79, You should be able to download the zip file, copy to your Downloads folder in OE, and from the addons menu do an install from zip and point OE to your Downloads folder.

Nice, ill look forward to the update!

RetroArch-2015-05-23 Added; Cheats & Database Updated: Toolchain to OpenElec 5.0.8 Updated: RetroArch

@BlockABoots,I don’t know if it might help but I now remember when I was testing RA on OE a few months back on my wife’s laptop I had to change the audio device to 0,0 but back in December I remember having to use different device numbers.

I’ll test out and let you know later today. The odd thing was that the older .sh files from your December 2014 and January 2015 builds made the Audio work fine when I replaced them with the ones from your April build…so not sure if it is related to audio device setting or some script line in your newer .sh files are killing the audio driver on RetroArch??

Any progress on getting the shaders working at all or do they still terminate RetroArch when you try and run them?

Sadly audio still is not working. At the moment im just running RetroArch via the rgui.sh from the ‘Programs’ tab in OpenElec (Kodi), i tried leave the Audio Device at 0,0 and got no audio and then changed it to my actual audio device which is 0,3 and still no audio!.

In Terminal program i type the command ‘aplay -l’ and got the following info…

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

So my audio device is definitely HW:0,3.

There must be a line in the rgui.sh file thats killing the audio for RetroArch which isnt in your older builds (DEC/JAN)???

Also the cg shaders still kill RetroArch any ideas on whats causing that?

EDIT: Ok i try running RetroArch via terminal to see if it was just an issue loading it via the rgui through ‘Programs’ in OpenElec. So in terminal i ran the command…

/storage/.kodi/addons/emulator.retroarch/bin/retroarch --config /storage/emulators/retroarch/config/retroarch.cfg --menu

and all terminal reported was…

sh: xdg-screensaver: not found
RetroArch [WARN] :: x11_suspend_screensaver :: Could not suspend screen saver.

and the audio did indeed work!!. But then i tried running RetroArch again but this time i got the following info via terminal…

sh: xdg-screensaver: not found
RetroArch [WARN] :: x11_suspend_screensaver :: Could not suspend screen saver.
RetroArch [ERROR] :: alsa_init :: ALSA: Failed to initialize...
RetroArch [ERROR] :: init_audio :: Failed to initialize audio driver. Will continue without audio.

and got no audio!!!, so not sure whats happening???

EDIT2: I restarted OpenElec to see if that would help, ran RA from terminal got the same error message about failing to initalize the audio driver. Quit RA and tried running again via Terminal this time it worked, have tried in numerous times now and it seems to be working now, so it just seems to be an issue with the rgui.sh file then?

Hopefully the shader issue can be fixed as this has been broken for the past 3 or 4 releases

I’m finally about done with my setup using OpenELEC and RetroArch on Raspberry Pi 2. Check it out :slight_smile:

lol playing games with an IR remote sounds like my own personal hell (I can see that it’s optional, so no biggie), but that’s a pretty sweet setup all the same.

It certainly isn’t viable, but it was a nice experiment, and it does add benefits such as being able to control Emulation Station with a CEC remote. You can also quickly browse through games using the remote and then grabbing the gamepad once you’ve decided what to play. I tend to do that a lot :slight_smile:

[QUOTE=diablodiab;23377]I’m finally about done with my setup using OpenELEC and RetroArch on Raspberry Pi 2. Check it out :slight_smile:

Nice setup man!.

Damn there is an Amstrad CPC core great stuff!!, and you seem to have the Amiga core working nicely!!

Any chance of a more detailed explnation on how you setup the remote control to be used with Kodi and how to setup the Amiga and Amstrad cores??..shame there is no Commodore 64 core yet

I’m working on putting the setup into an OpenELEC addon for RPI2. I hope to have it ready in a few days and then you can check it out.

I’ve uploaded an image file of an SD card with my setup (minus roms and bios files).

You can find the download links in the video description on youtube. Don’t forget to read the instructions :slight_smile:

[QUOTE=BlockABoots;22983]Sadly audio still is not working. At the moment im just running RetroArch via the rgui.sh from the ‘Programs’ tab in OpenElec (Kodi), i tried leave the Audio Device at 0,0 and got no audio and then changed it to my actual audio device which is 0,3 and still no audio!.

Ok, I had some issues with my audio to begin with, and I changed the config to 0,3 (HDMI) and had no audio. Then I remember reading somewhere to make sure that in OE Audio settings, make sure Keep Audio Alive is set to off. As soon as I did that, I had sound!

Not exactly sure why that worked, possibly because I’m suspending OE instead of killing it?

[QUOTE=douglasdouglasj;24508][QUOTE=BlockABoots;22983]Sadly audio still is not working. At the moment im just running RetroArch via the rgui.sh from the ‘Programs’ tab in OpenElec (Kodi), i tried leave the Audio Device at 0,0 and got no audio and then changed it to my actual audio device which is 0,3 and still no audio!.

Ok, I had some issues with my audio to begin with, and I changed the config to 0,3 (HDMI) and had no audio. Then I remember reading somewhere to make sure that in OE Audio settings, make sure Keep Audio Alive is set to off. As soon as I did that, I had sound!

Not exactly sure why that worked, possibly because I’m suspending OE instead of killing it?[/QUOTE]

I also have no sound. What config did you chance to 0,3 and where can i find OE audio settings?

Thanks,

Hey Lordashram, any luck in sorting out why cg shaders are not working and any news on a 1.2.1 release?

It’s a shame that the build it doesnt support OpenElec

Hello, I created an updated RetroArch 1.2.2 plugin here:

https://sourceforge.net/projects/retroarch-openelec/files/

Tested with OpenElec 4.2.1 and 5.0.8. Feel free to use it.

More information on the Wiki page.

Enjoy.

Works great, thanks ttsemek!!!

Also cg shaders are working with this build which is a massive plus point!!!

[QUOTE=ttsemek;26610]Hello, I created an updated RetroArch 1.2.2 plugin here:

https://sourceforge.net/projects/retroarch-openelec/files/

Tested with OpenElec 4.2.1 and 5.0.8. Feel free to use it.

More information on the Wiki page.

Enjoy.[/QUOTE]

Hi ttsemek, very nice project. I’ll give it a try as soon as possible. It’s a file porting from Lakka build? It’s optimized for Raspberry Pi2 (with libretro core compiled with the right plugin and so on)? Your build include the news described here (background, boxart, gui translation)?

EDIT: Just tested on Raspberry Pi2, it doesn’t work. For which Platform it is? Pelase, could you create a version for Raspberry Pi2 Openelec (Linux ARM 32-bit, I think)?

Sorry guys, personal life has been very busy and I have several projects I am trying to get caught up on. Updated RA to latest but cg shaders still don’t work and I do know why, RA needs Python 3 for cg shaders and OE uses Python 2.7. I have tried but failed to get Python 3 to cross compile for OE but no luck.

I see ttsemek has a working version and seems to be able to keep it updated more than I can, at least as of now. My original goal was to get a working build system that the main devs could use with the buildbot so that it could build nightlies for OE as well, but the Python 3/cg shader issues has been the issue. Since ttsemek has a working version with shaders I will put a link in the OP pointing to his sourceforge page.

So for now my only emulation related project I will continue to work on is my HQ3D Boxart project.

Thanks for your work you’ve done in the past lordashram!.

Any chance you can release an update ttsemek, solid12345’s Old school analog TV pack…version 2 only seems to work with newer versions of RA??