Linux RetroArch runtime for EVERY modern Distro with AppImage

@dugan : The AppImage team needs to make an update to fix this issue.

@johnodon68 : You should ask on #appimage if this distro is supported.

Chatting with probono now and he gave me some things to try (which I will do later). The good news is that he seems to think that AppImage is at least running and the wrapper may just need to be tweaked. Or, some libs need to be added.

Either way he thinks they can make it work. If so, we will now have an easy way to run Retroarch on JEOS media center distros like OE, LE and OPHT. :smiley:

John

Belowis the full transcript of my discussion with probono about getting an RA AppImage to run on OpenELEC, LibreELEC or OpenPHT Embedded. tldr: He thinks that someone will need to compile RA on LE. Iā€™ll try this but honestly I donā€™t even know if that is possible, or, how to even do it. :slight_smile:

[07:49] ==johnodon [4b617b7b@gateway/web/freenode/ip.75.97.123.123] has joined #appimage[07:50] <johnodon> Hello. I was directed here with my question :slight_smile: [07:50] <johnodon> will AppImage run on JEOS distros like OpenELEC, LibreELEC or OpenPHT Embedded? [07:51] <johnodon> I am trying to run the latest Retroarch AppImage (https://bintray.com/probono/AppImages/RetroArch#files) on OpenPHT Embedded 1.7.1 [07:51] <[COLOR=red]probono> hi johnodon[/COLOR] [07:51] <probono> i have not tried that [07:51] <probono> it depends on 2 things: [07:51] <probono> 1. is FUSE installed on the target system [07:52] <probono> 2. is the AppImage you are trying to run depending on something that is not bundled inside the AppImage [07:52] <probono> both should be possible to make work [07:52] <[COLOR=red]probono> but I have not tried it yet johnodon[/COLOR] [07:52] <johnodon> This is the error I receive when running the latest RA AppImageā€¦ [07:52] <johnodon> ./bin//retroarch.wrapper: line 39: syntax error: unexpected ā€œ(ā€ [07:52] <probono> ooops. is bash installed? [07:52] <probono> or just busybox? [07:52] <johnodon> I am able to run bash scripts [07:52] <probono> well that error message says that the AppImage is actually running [07:53] <probono> just a bash script inside the AppImage is erroring out [07:53] <johnodon> ok [07:53] <probono> namely, bin/retroarch.wrapper [07:53] <probono> which is actually excellent news [07:53] <probono> because it is a proof that AppImage itself is working [07:53] <probono> just what is inside this particular AppImage may need some tweaking [07:53] <probono> which system are you running this on? [07:54] <johnodon> OpenPHT Embedded Generic 1.7.1 [07:54] <johnodon> iā€™ll get a link [07:55] <johnodon> https://github.com/RasPlex/OpenPHT-Embedded [07:55] <johnodon> actually, this [07:55] <johnodon> https://github.com/RasPlex/OpenPHT/releases [07:56] <johnodon> OpenPHT-Embedded-1.7.1.137-b604995c-Generic.x86_64.img.gz [07:56] <probono> wow, didnā€™t know of this one [07:56] <johnodon> itā€™s awesome [07:56] <probono> anyhow, you can do the following: [07:56] <johnodon> basically LibreELEC + Plex [07:57] <probono> ./your.AppImage ā€”appimage-offset [07:57] <probono> sudo mount ./your.AppImage -o loop,offset=XXXXXXX /mnt [07:57] <probono> edit /mnt/*.desktop [07:57] <probono> remove in the Exec= line the .wrapper suffix [07:57] <probono> then run /mnt/AppRun [07:57] <probono> and see if it works [07:57] <probono> possibly it will be missing some libs [07:58] <johnodon> okā€¦will need to try later when home [07:58] <johnodon> I took notes and will report back [07:58] <probono> ok. cool, thanks [07:58] <probono> in any case, if it doesnā€™t work out of the box it can be made work :slight_smile: [07:59] <johnodon> that we be awesome! I love the JEOS media center apps but installing 3rd party apps is a challenge [07:59] <probono> yes [07:59] <probono> might be a good use case for AppImage :slight_smile: [07:59] <johnodon> would be perfect solution [08:12] <Calinou> hi probono [08:12] <probono> hi Calinou [08:17] <johnodon> probonoā€¦I remoted into home and trying this now [08:17] <johnodon> <probono> sudo mount ./your.AppImage -o loop,offset=XXXXXXX /mnt [08:17] <johnodon> what do I use for offset? [08:17] <johnodon> not xxxxxx I assume [08:17] <probono> whatever ./your.AppImage ā€”appimage-offset gives you :slight_smile: [08:17] <johnodon> I got same error [08:17] <probono> then try without an offset [08:17] <johnodon> OpenPHT-Embedded:~/retroarch # ./RetroArch-1.3.6+r487.glibc2.17-x86_64.AppImage ā€”appimage-offset ./bin//retroarch.wrapper: line 39: syntax error: unexpected ā€œ(ā€ [08:18] <johnodon> ok [08:18] <probono> sudo mount ./your.AppImage -o loop [08:19] <johnodon> okā€¦two things just so you are awareā€¦ [08:19] <johnodon> there is no sudo with OE, LE or OPHT [08:19] <johnodon> so I donā€™t need that [08:19] <johnodon> alsoā€¦ [08:20] <johnodon> filesystem in read-only so I try to mount to /storage/mnt [08:20] <johnodon> OpenPHT-Embedded:~/retroarch # mount ./RetroArch-1.3.6+r487.glibc2.17-x86_64.AppImage -o loop /storage/mnt [08:20] <johnodon> mount: mounting /dev/loop1 on /storage/mnt failed: Invalid argument [08:21] <probono> you are sure you had typed --appimage-offset with two dashes in the beginning? [08:21] <probono> i think the chat program changed these into a long ā€” [08:22] <johnodon> lol [08:22] <johnodon> you are right [08:22] <johnodon> sec [08:23] <johnodon> 112664 [08:23] <johnodon> okā€¦now to try to mount [08:24] <probono> good [08:24] <johnodon> mount ./RetroArch-1.3.6+r487.glibc2.17-x86_64.AppImage -o loop,offset=112664 /storage/mnt [08:25] <johnodon> mount: mounting /dev/loop1 on /storage/mnt failed: Invalid argument [08:26] <probono> mount -o loop,offset=112664 ./RetroArch-1.3.6+r487.glibc2.17-x86_64.AppImage /storage/mnt [08:27] <johnodon> same error [08:27] * probono suspects you donā€™t have bashā€¦ but something like busybox [08:27] <probono> ok now for the brute force: [08:27] <johnodon> I beleive that is the case [08:27] <probono> ./RetroArch-1.3.6+r487.glibc2.17-x86_64.AppImage --appimage-extract [08:27] <probono> this may or may not work (still a bit buggy) [08:28] <probono> nano ./squashfs-root/*desktop [08:28] <probono> ā€”> edit the Exec= line, remove the .wrapper [08:28] <probono> then [08:28] <probono> ./squashfs-root/AppRun [08:29] <johnodon> OpenPHT-Embedded:~/retroarch # ./squashfs-root/AppRun [08:29] <johnodon> Segmentation fault (core dumped) [08:30] <johnodon> guess that isnā€™t much help :slight_smile: [08:32] <probono> probably the ingredients that went into this AppImage are not suitable for your OS [08:32] <probono> but AppImage itself appears to be working [08:33] <probono> probably one should compile RetroArch for LibreELEC and put that into an AppImageā€¦

You could also try to make Orb Apps as an alternative to AppImages. Their OrbCreator is really easy to use for upgrading your builds, and it doesnā€™t seem to rely on many dependencies unlike the restā€¦

Lakka, the RetroArch OS / appliance, has historically been built in OpenElec although currently is being moved to a LibreElec base.

It is definitely possible to get RA compiled for those platforms, so you might want to post in the Lakka forum or the Lakka github tracker to make contact with folks who know more about that.

@dugan : AppImageUpdate-442.g6412895-x86_64.AppImage should fix your issue.

AppImage package has been updated.

./RetroArch-1.4.1.glibc2.17-x86_64.AppImage /tmp/.mount_n3iS6U/usr/bin/retroarch: symbol lookup error: /lib64/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds

Iā€™m getting this error on Fedora 25 using latest image.

Any chance of seeing a 1.5.0 appimage?

@Razangriff : AppImage has been updated to RA 1.5.0

Awesome, thank you! appimages are by far the best method, IMO.

Will there be a 1.6.0 appimage?

Hereā€™s a 64-bit AppImage build you can try:

Seems like it works. Thanks!

1 Like

Anything for 32bits OS ? I canā€™t run Retroarch on Linux Lite 3.2.! It freezes as soon has the main menu opens and canā€™t close the window!

Thanks

Is it still maintained?