-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppImage-packed games won't run #770
Comments
I'm assuming AppImage simply cannot work inside flatpak. |
Yes, AppImages use fuse to mount themselves, so it's not possible to run them in flatpak (fuse requires suid root binary |
So there is no hope to get it working ? I really like the idea of using Steam as a flatpak. |
Well, one terrible workaround would be allowing the Steam app executing commands on host, and adding a wrapper for RetroArch itself is available from Flathub, though. |
I did manage to make it work forcing it to run under Proton (in my case proton-ge) 😄 |
Maybe a solution ? https://www.libretro.com/index.php/retroarch-steam-important-information-for-linux-users/ It seems they are changing from the Appimage to another format. |
Yes, but it is better use the Linux native version. |
It seems that there is a way to implement support for Appimages inside flatpaks. I found this pull request in lutris flatpak repo: flathub/net.lutris.Lutris#201 (comment) But i not a dev, so i don't know if can be implemented in Steam flatpak |
@tjssoldier There is a way indeed, I've mentioned it here as a "terrible workaround". And this is exactly what flathub/net.lutris.Lutris#201 does. |
RetroArch devs have got rid of AppImage; looks like they're now using Steam Linux Runtime container (which bumps flatpak version requirement to 1.12+, similarly to #642). So I believe the original issue is resolved. However, they're not the only devs to release appimage-packed game on Steam for whatever reason, so I'm going to convert this issue into a more generic one. |
See also flatpak/xdg-desktop-portal#695 |
@gasinvein Entschuldigung, but what about implement a fake fusermount that calls the real one in the in the background, but with a firewall? |
@Bohmthedudevulture I'm not sure what a "firewall" means in this context. Anyway, calling the real fusermount means escaping the sandbox. |
Actually, appimages can be run in flatpak, they can be launched with AppImage/AppImageKit#841 argument |
For those who want to get this to work, there is a solution. I'll use OVR as an example. First make sure you are not using the proton version, then find the run.sh file (maybe be named something else) and edit it to something like this. Make sure to replace OVRAS.AppImage with the path and name of the app image:
|
TLDR: To run an AppImage, a SUID-root binary
fusermount
is required; the Flatpak sandbox doesn't allow this.Feature request for adding a secure way to use FUSE in flatpak sandbox: flatpak/xdg-desktop-portal#695
Original issue:
Game information
Retroarch - Steam Version
Distribution name and version where applicable
Linux Mint 19.3 Cinnamon
Flatpak info
Flatpak version: Flatpak 1.11.1
flatpak --gl-drivers: default host
Problem description
The Steam Flatpak version is no able to launch Retroarch, which is available in steam as an Appimage
Does this issue reproduce with native Steam
No, in native steam works as expected
The text was updated successfully, but these errors were encountered: