-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
PPSSPP should use its own bundled ffmpeg #84737
Comments
Just for additional background (for other maintainers/readers), the described issue is tracked upstream at hrydgard/ppsspp#11490. It sounds like the issue should have been addressed upstream (at least in some situations) by hrydgard/ppsspp#14188, which should already be included in this version of |
Some points of clarification:
I know package managers always think people are "reluctant" to support the latest APIs because it takes work, but keep in mind that 1400+ PSP games were released and they were all written against Sony APIs for video decoding. Emulation means simulating those APIs, not rewriting the game logic and video looping to use new APIs. Since the new FFmpeg APIs don't support the features we need to simulate Sony's video API, we're likely to remain reluctant for some time. Probably the end result will eventually be, unfortunately, reinventing the wheel on video decoding and writing our own (maybe copying parts of FFmpeg.) I get that people shouldn't be writing software to decode video the ways FFmpeg no longer supports. Unfortunately, no one has been able to jump in a time machine and successfully convince Sony and PSP game developers of this. I don't anticipate this changing, so I wouldn't recommend holding your breath for our "reluctance" to end - unless you've got a time machine to change how PSP games were written. -[Unknown] |
Yes, thank you for taking your time on that. I will find some time to make PPSSPP release in binary. |
Posted in hrydgard/ppsspp#14839. |
With hrydgard/ppsspp#14839 merged we should get official PPSSPP releases as of 1.12.0. CC @alebcay, @Gcenx.
|
@alebcay @Gcenx, from now on PPSSPP provides official binary releases for macOS. What should our route be to include PPSSPP in Homebrew Cask? I see the following options:
My personal preference is route (2), but I am not sure of the general Homebrew policy here. |
@vit9696 if the cmake file is to be believed (10.8 min target), I’d opt for dropping the brew formula and instead provide a cask as ppsspp is a GUI app and not really a cli app. (I believe that’s how brew maintainers would see this) Off topic but the minimum target should really be 10.9 when using |
You can also call the cask |
Used to be 10.7, which was the minimum for libc++. We only upped to 10.8 as of last year. I don't think we've heard any complaints from people using 10.8 or people who were using 10.7 before that (that said, macOS is eclipsed by Android and Windows in usage, by far... it's not impossible that the few people still on 10.8 haven't said anything.) -[Unknown] |
While true libc++ on 10.7 is rather lacking when compared to 10.8 but Apple sets the minimum target to 10.9 for modern SDKs in most cases. Still I'd be surprised if there's many users still using below 10.11 these days. |
Actually this is not compatible with 10.8, but not due to libc++.
10.13 shows a warning:
10.14 shows a warning: |
Hmm, I see. Seems like when Metal was added, it wasn't done in a way that preserves older macOS - I guess no one has reported anything even from 10.14... so I guess that was in hrydgard/ppsspp#12583. Not sure if the latter issues are a target issue or maybe an issue with the library, similarly? In that case we should indeed either raise the min or fix it. But that's more a PPSSPP problem than here. -[Unknown] |
PPSSPP 1.12.3 with legacy macOS fixes landed upstream. Shall we drop the formula and switch to casks? |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputbrew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
I was trying to play games (namely Valkyria Chronicles II) with PPSSPP and used a brew-provided version of PPSSPP.
What happened (include all command output)?
All the videos either stuttered or were unplayable: showed black screen soon after the first frame. There are multiple error messages in the logs like the following:
What did you expect to happen?
I expected the videos to play normally, because I expected brew to use the ffmpeg package bundled within PPSSPP repository. PPSSPP includes a rather heavily modified ffmpeg version, so you cannot just use the system/upstream one. I recompiled PPSSPP manually with its own ffmpeg and this worked perfectly. Fortunately their ffmpeg is static.
Step-by-step reproduction instructions (by running
brew
commands)1. Open Valkyria Chronicles II in PPSSPP. 2. Let the intro video play. 3. It will stutter quite a lot.
The text was updated successfully, but these errors were encountered: