mmatyas / pegasus-frontend

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

Pegasus doesn't return from game, with errors #947

Closed sofalzone closed 2 years ago

sofalzone commented 2 years ago

The issue

When I run a game (through Retroarch for example) Pegasus does not return sometimes. The way I shut down Retroarch doesn't seem to matter (ie. quit through Retroarch, Ctrl+Alt+Del, Alt+F4, taskkill through Cmd Prompt). It logs the errors below.

System info

Windows 10 Build 21H2.

Pegasus version

Alpha 15.101 g8425a4f6, 2022-01-21

Pegasus log

lastrun.log

2022-02-20T21:14:44 [i] Process 19900 started 2022-02-20T21:14:44 [i] ---------------------------------------- 2022-02-20T21:15:07 [i] ---------------------------------------- 2022-02-20T21:15:07 [w] The external program has finished with error code 1 2022-02-20T21:15:07 [e] CreateWindow() for QEventDispatcherWin32 internal window failed (The current process has used all of its system allowance of handles for Window Manager objects.) 2022-02-20T21:15:07 [e] Qt: INTERNAL ERROR: failed to install GetMessage hook: 1158, The current process has used all of its system allowance of handles for Window Manager objects.

mmatyas commented 2 years ago

Hi, this seems to be the same error message as in #891, so I'll close this in favor of that issue.

On the other hand, I see your log file report about 60 000 errors for your metadata files, I'd be really interested in how those files were created!

sofalzone commented 2 years ago

I'm not that organized. The earlier systems are skraper.net compiled files. The later systems are entered manually. If you pick out some examples, I can see what is going on.

mmatyas commented 2 years ago

Oh I'm just asking whether it's because a scraper app renamed an XML file to TXT or something like that. If you say they are indeed metadata files, that's fine then. I assume the descriptions might be slightly off?

sofalzone commented 2 years ago

I think most of the errors are looking for assets that don't exist. I've never really looked before though. They are all Metadata files though.

mmatyas commented 2 years ago

Ok then. As for the original issue, I'm closing this in favor of https://github.com/mmatyas/pegasus-frontend/issues/891.