mmatyas / pegasus-frontend

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

Pegasus does not launch after Android emulator (FPSE 64) exits #709

Open valsou opened 4 years ago

valsou commented 4 years ago

The issue

I launch a Playstation game through Pegasus. FPSE64 opens, i play the game, i quit the game and i come back to the drawer.

Expected : come back to Pegasus.

System info

Huawei P30 Build 10.1.0.140 (C431E22R2P5) EMUI 10.1.0 Android 10

Pegasus version

Pegasus version alpha14-13g1a716bcf, 2020-09-24

Pegasus log

2020-09-26T01:30:06 [i] Pegasus alpha14-13-g1a716bcf (2020-09-24)
2020-09-26T01:30:06 [i] Running on Android  (10.0) (arm, android)
2020-09-26T01:30:06 [i] Qt version 5.15.1
2020-09-26T01:30:06 [i] Program settings loaded (`/storage/emulated/0/pegasus-frontend/settings.txt`)
2020-09-26T01:30:06 [i] Found locale `de`
2020-09-26T01:30:06 [i] Found locale `en`
2020-09-26T01:30:06 [i] Found locale `en`
2020-09-26T01:30:06 [i] Found locale `es`
2020-09-26T01:30:06 [i] Found locale `fr`
2020-09-26T01:30:06 [i] Found locale `hu`
2020-09-26T01:30:06 [i] Found locale `ko`
2020-09-26T01:30:06 [i] Found locale `pt-BR`
2020-09-26T01:30:06 [i] Found locale `ru`
2020-09-26T01:30:06 [i] Found locale `zh`
2020-09-26T01:30:06 [i] Locale set to `fr`
2020-09-26T01:30:06 [i] Found theme `Pegasus Grid` at `:/themes/pegasus-theme-grid/`
2020-09-26T01:30:06 [i] Found theme `gameOS` at `/storage/emulated/0/pegasus-frontend/themes/gameOS-master/`
2020-09-26T01:30:06 [i] Found theme `ES2 Simple` at `/storage/emulated/0/pegasus-frontend/themes/pegasus-theme-es2-simple/`
2020-09-26T01:30:06 [i] Found theme `9999999-in-1` at `/storage/emulated/0/pegasus-frontend/themes/pegasus-theme-9999999-in-1/`
2020-09-26T01:30:06 [i] Found theme `mobileOS` at `/storage/emulated/0/pegasus-frontend/themes/pegasus-frontend-theme-mobile/`
2020-09-26T01:30:06 [i] Found theme `Flixnet` at `/storage/emulated/0/pegasus-frontend/themes/pegasus-theme-flixnet/`
2020-09-26T01:30:06 [i] Found theme `Epic Chicuelo` at `/storage/emulated/0/pegasus-frontend/themes/pegasus-theme-epic-chicuelo-master/`
2020-09-26T01:30:06 [i] Found theme `NoName.yet` at `/storage/emulated/0/pegasus-frontend/themes/noName.yet/`
2020-09-26T01:30:06 [i] Theme set to `Pegasus Grid` (`:/themes/pegasus-theme-grid/`)
2020-09-26T01:30:06 [i] Metafiles: found `/storage/emulated/0/Roms/sony_playstation/metadata.txt`
2020-09-26T01:30:06 [i] Metafiles: found `/storage/emulated/0/Roms/sega_dreamcast/metadata.txt`
2020-09-26T01:30:06 [i] Metafiles: finished game searching in 3ms
2020-09-26T01:30:06 [i] Game list post-processing took 0ms
2020-09-26T01:30:06 [i] Metafiles: finished asset searching in 0ms
2020-09-26T01:30:06 [i] Games found in 5ms
2020-09-26T01:30:06 [i] Assets and metadata found in 0ms
2020-09-26T01:30:06 [i] 3 games found
2020-09-26T01:30:07 [w] libpng warning: iCCP: known incorrect sRGB profile
2020-09-26T01:30:46 [i] Closing Pegasus, goodbye!

Attached a logcat doing these steps :

  1. open Pegasus
  2. launch game (Pepsi Man)
  3. quit game, go back to the drawer
  4. reopen manually Pegasus log.txt
mmatyas commented 3 years ago

There have been some changes recently with how apps are launched; could you try the latest Pegasus release if this still happens? If it still does, could you describe how exactly you leave the game (ie. is there some in-app quit menu)? Perhaps the Android system closes Pegasus to save memory?

valsou commented 3 years ago

Hi,

Still the same issue. But i just tested with another frontend (Arc Browser) and the behavior is the same. It might be an issue with the app.

There is an in-app "Quit game" / Quitter le jeu.

Screenshot_20210830_131154_com emulator fpse64

valsou commented 3 years ago

Tested with Dig frontend, "Quit game" goes back correctly to the frontend.

wooshaq commented 2 years ago

I has similar problem on my poco f1, but i was running retroarch with arcade emulator. rom is pixel experience.

leocmp commented 2 years ago

One thing I later realized, if I enter another emulator before like redream is exit, enter retroarch and exit and the "focus" works in the pegasus frontend