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

macOS reports Pegasus is "not responding" after launching a game. #1066

Closed
HomeStarRunnerTron opened this issue Aug 1, 2023 · 4 comments
Closed

Comments

@HomeStarRunnerTron
Copy link

HomeStarRunnerTron commented Aug 1, 2023

The issue

Hi-hi! This is the dude who you helped out with his really silly problem of wanting to modify the macOS icon permanently. Thank you so-so much, again, for creating the most beautiful launcher ever. I've gone from games to even launching eBooks in this, which really brings back the magic of physically having a book in the digital age.

This probably isn't even a bug but just some kind of inner working of, like, Qt or something, but I was wondering about why, after launching a game, after a few seconds, Pegasus reports as "not responding"? Obviously, the moment I quit out of the game I'm playing, then Pegasus stops flashing that error and all and "responds", but it's still not a nice thing to see.

I've noticed that other launchers on macOS have the same exact problem, like Playnite. Two launchers that don't do this are GOG Galaxy or Steam, but I definitely don't want to use either of those, hahaha. I don't know if this alert doesn't suck up a lot of energy that shouldn't be being used, but playing a game and then leaving Pegasus spinning the loading-beach-ball-of-death the whole time just doesn't seem healthy, in a way. All the best!

System info

macOS Monterey 12.5

Pegasus version

Tried on the latest alpha version, alpha16-51-g6421d7a7 (2023-05-21), didn't fix the problem.

Pegasus log

lastrun.log

If possible, please attach the file to this bug report.

@mmatyas
Copy link
Owner

mmatyas commented Aug 1, 2023

Hi! Happy to hear Pegasus worked out well for you! When Pegasus launches a game, it tries to minimize its usage of system resources (like memory), and it doesn't do anything until you return from the game. In that sense, it's technically true that it's not responding: it is waiting for the launched game to end. Contrary to that, Steam and GOG keep running alongside the games, mainly to use their storefront and social features.

Now I'm not that familiar with Mac, what side effects do you run into? Where you see this "not responding" message or alert?

@HomeStarRunnerTron
Copy link
Author

HomeStarRunnerTron commented Aug 1, 2023

Oh, thank you for the explanation! Maybe it's not a problem at all. I just get paranoid that, because it says "not responding" (this is in the Force Quit Applications menu or Activity Monitor) that it's actually taking up a lot of memory. If I feel like the computer's getting hotter when I feel like the game I'm playing is very non-intensive, I wonder if I need to force-quit Pegasus, etc. But there's no direct connection to any of that. If you're telling me that it's taking up even LESS memory, I totally believe you, that really quells my fears that I need to force-quit it when I leave Pegasus open too long waiting for the game to close.

@mmatyas
Copy link
Owner

mmatyas commented Aug 1, 2023

Yup, Pegasus was designed with the old Raspberry Pi boards in mind, which came with < 256 MB RAM, so you had to be careful about the resources you use. When you launch a game, Pegasus frees up the memory used by the UI, goes to the background, then stops doing anything (ie. essentially no code runs) while the game is open, which is what the "not responding" indicates. There are probably tools to monitor CPU and memory usage on Mac too, and feel free to report if the numbers are surprising, but yes the culprit is probably not Pegasus in this case.

@HomeStarRunnerTron
Copy link
Author

HomeStarRunnerTron commented Aug 2, 2023

Man, that's a major weight off of my mind, I'm so glad I asked even though it turned out to be a non-problem. Just played for over three-and-a-half hours in a game and did a check in Activity Monitor, and these are the sorts of numbers I'm getting! Very-extremely itty-bitty. Gonna call this one closed, and hope this reaches someone else who's worrywarting about it.

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

2 participants