mmatyas / pegasus-frontend

A cross platform, customizable graphical frontend for launching emulators and managing your game collection.
http://pegasus-frontend.org
Other
1.29k stars 117 forks source link

Steam Deck - Failed to open emulator #1063

Open yangkghjh opened 1 year ago

yangkghjh commented 1 year ago

The issue

Failed to open emulator by using pegasus-frontend installed by flatpak in Gaming mode. But:

System info

Steam Deck with SteamOS

Pegasus version

0.16.51

Pegasus log

lastrun.log

2023-07-08T18:52:00 [i] Executing command: [`flatpak-spawn`,`--host`,`/home/deck/.local/share/flatpak/exports/bin/org.libretro.RetroArch`,`-L`,`/home/deck/.var/app/org.libretro.RetroArch/config/retroarch/cores/mgba_libretro.so`,`/home/deck/Emulation/pegasus/GBA/xxx.zip`]
2023-07-08T18:52:00 [i] Working directory: `/home/deck/Emulation/pegasus/GBA`
2023-07-08T18:52:00 [i] Process 66 started
2023-07-08T18:52:00 [i] ----------------------------------------
2023-07-08T18:52:01 [i] ----------------------------------------
2023-07-08T18:52:01 [w] The external program has finished with error code 1

metadata.pegasus.txt

collection: GBA
sort-by: 018
extensions: gba, 7z, zip
launch: /home/deck/.local/share/flatpak/exports/bin/org.libretro.RetroArch -L /home/deck/.var/app/org.libretro.RetroArch/config/retroarch/cores/mgba_libretro.so "{file.path}"
yangkghjh commented 1 year ago

I think flatpak-spawn --host might not work in steam deck gaming mode.

Maybe relative to https://github.com/flathub/com.valvesoftware.Steam/issues/935, I will check.