Skip to content
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

Hangs when alt-tabbing away from retroarch window #57

Open
clort81 opened this issue May 5, 2023 · 1 comment
Open

Hangs when alt-tabbing away from retroarch window #57

clort81 opened this issue May 5, 2023 · 1 comment

Comments

@clort81
Copy link

clort81 commented May 5, 2023

Built .so with no problems -- using cmake from upstream easyrpg Date: Sat Apr 29 13:53:44 2023 -0600
On aarch64, debian sid, Xorg 1:7.7+23, Uptodate Mesa-Panfrost drivers

Alt-tabbing away from a game running in this core results in retroarch/core hanging and retroarch becoming unresponsive. Retroarch process doesn't respond to SIGINT anymore, needs kill -1 (SIGHUP)

  • Hang doesn't happen with other cores tested (bsnes, snes9x, picodrive).
  • Hang doesn't happen with standalone EasyRPG player - only the retroarch core.
  • Hang happens regardless of whether compositor is enabled or not (but do test it without compositor to force application to handle damage / redraws)
  • Hang also doesn't happen when the retroarch menu is brought-up before alt-tabbing away from the window.

Thanks so much for the work porting to retroarch! RPGMaker is so much nicer with a shader stack like xbrz + pi-crt! Thank you!

@clort81
Copy link
Author

clort81 commented May 5, 2023

Update: removing ~/config/retroarch/retroarch.cfg and letting retroarch generate a new clean .cfg file, then starting game from 'desktop launcher', I can not recreate the hangup.

Alt-tab away from game window and back now works without hanging.

  • I was using the minimal retroarch interface and shaders.
  • I will try to identify what custom config led to the hang.
  • I attach my custom config that crashes upon alt-tabbing away.
    retroarch.cfg.bak.easyrpgbroken.gz

[EDIT]
Starting from default retroarch.cfg, I now begin adapting the fresh retroarch.cfg to my old preferences to try to recreate the hangup.

  • re-enabled my preferred shader
  • re-configured audio_device and audio_driver = alsathread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant