Linux RetroArch runtime for EVERY modern Distro with AppImage

Im in fedora 25 thanks for the appimage its works but i cant enable the vulkan render is that me or the build of the appimage is lacking of vulkan support ?

The AppImage needs a new build. They are sync from Libretro Testing/Nightly ppa.

Unfortunately, for now they come from Ubuntu Trusty so that it can run on 2014’s distro and Vulkan has been enabled from Ubuntu 16.04.

When I run AppImageUpdate on the AppImage, I always get the following at the end:

chmod: cannot access 'RetroArch-1.3.6%2Br487.glibc2.17-x86_64.AppImage': No such file or directory

Hi all.

I’m a long time RA user. I just stumbled across this thread and am intrigued.

I don’t know if this is even possible (if AppImage require a ‘full’ OS?), but I am trying to run the RA AppImage on OpenPHT Embedded Generic 1.7.1 and get the following error:

OpenPHT-Embedded:~/retroarch # ./RetroArch-1.3.6\+r487.glibc2.17-x86_64.AppImage

./bin//retroarch.wrapper: line 39: syntax error: unexpected "("

Does AppImage have certain underlying OS dependencies?

TIA!

John

@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?