-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
The Warriors freezes / has video sync problems in all videos after #8867 #8991
Comments
Just to be sure, can you check which commit introduced the change? I'm guessing dcc2541. Maybe this is a timing thing that was just accidentally working. But the difference in logging is because it's not decoding as early yet, until it has the data. I guess the most likely thing is that it's waiting incorrectly long now... -[Unknown] |
Well it wasn't that one, will update when I find the culprit. |
Does it help to reapply c03f6c2? -[Unknown] |
Kind of ~ doesn't freeze anymore, but the FPS get all wrong with it, jumping between 0/0 and 30/30 while the movies are playing. |
Well, 0/0 means that nothing is being drawn to the screen. Many games do that during loading screens. In an earlier version, this would cause us to "fast forward". The problem is, sometimes games would play music and sound effects during this loading period - and so that audio would also fast forward. So now we delay, but we show 0/0 to indicate that we've literally rendered 0 frames in this second. I wonder how it was working before without that commit, though. Hmm. -[Unknown] |
In case I wasn't clear by jumping fps, I ment the movie constantly pauses in rather annoying way every few frames, maybe every second which is exactly how loading screens that come after videos does behave. |
Ah. So the timing was also fine before #8867? -[Unknown] |
Yes, videos ran at 30/30 without any problems. |
@LunaMoo |
As mentioned earlier everything started from 558b462 new fix doesn't change timing from the broken version. One interesting thing I just noticed observing longer videos ~ here's broken:
meanwhile when it's working
so matter less when it ends,MediaEngine stuff runs(?) of user_main thread instead of readThread as it should? (That was also primary difference for intro video that I posted logs for earlier, didn't notice concentrating on time:|) |
So even if you checkout 558b462 where it's broken, and apply the fix there, the timing is already broken? Is there any other part of that commit you can revert to make the timing work again? I'm not sure how it would affect timing... -[Unknown] |
Yeah that's what I'm saying, just tested again to be sure, that commit + new fix = same result as latest with that fix. I failed to see what's causing it exactly earlier, but had some luck this time - works again by restoring: Trying those 3 changes separately still results in broken timing/pauses in the video. :| Edit: |
Not sure what's wrong, but that just goes back to FFmpeg misparsing the first few frames sometimes. Maybe we're missing something when initializing the stream, or maybe it was accidentally working when it was dropping some frame early on due to the parsing... -[Unknown] |
The problem still exist here on windows, movies get constant freezing, althrough noticed it completely looses sound letting it run long enough and when that happens, it stops the annoying freezing. |
I have legit copy from PS store, not repacked/dumped in any weird way, even redownloaded to be sure and no - it has nothing to do with my copy. You sure actual FMV's in game play correctly for you? That is - with proper sound and without micro pauses/freezes and ofc without using some ancient savestates using fresh build with default settings? Because it's a fact that they do "play", that's the fix that was merged for it does, but they don't play as they should and as they were in older versions and that's the reason this issue is still opened. You don't have to "start a new game" at all, even the very first movie is bugged ~ the short logo which changes from yellow to red Rstar will freeze for a moment on yelllow Rstar before running the red one which is very noticeable and also desyncs sound. |
It's still freezing, just not permanently and still the cause is exactly same commit, so not see any confusion from the title here and also no, this regression was not fixed, just slightly improved and all of this was noted in the actual discussion. I can add that fact to first post for lazy people, there's no need to open secondary issue for exactly same problem through. |
Since 1.4.0, it has been playable, but FMV's (not the in game cutscenes) will play very slowly or not play at all and freeze. And dialogue will get skipped from the player and npc's. |
35510f0 |
This is still happen in latest version. Cutscenes works fine in old version v1.3.... |
All these problems still persist in version 1.13.2. The FMVs are slow and there is no audio in the intro video, the Rockstar Games logos are also stuttering, and in the game, there is stuttering in some dialogues of the characters and in some parts of the map of the stages, it is a type of stuttering without explanation apparent, because when there are many characters on the screen, stuttering does not occur. It's just weird. |
the latest build version is good, but I don't hear the character's voice in the opening |
Hey, The Warriors is still stuttering on latest version. The intro and cutscenes and the audio are messed up. Is there a fix for those issues? |
@swan-blip me, too also waiting for this game to be fixed. 11_720p.mp4I was going to spam like that if it hadn't been added to the next version. 😄😄😄 |
my hack no more work 35510f0 |
"HackFixVideo" from my TemporaryHackishBranch still works, not linking the code as I pushed it a lot of time ago without separating it from other changes, but it basically restores previous code via compat hack to make it work. without affecting other games. |
I've ported over @LunaMoo 's HackFixVideo, though I renamed it to be more technically descriptive, see commit above. Not closing this issue since the problem remains in our ffmpeg parser, but untagging it for 1.18. |
Someone wrote that game get's stuck at logo in 1.3, so I checked, goes to 0/0 fps at the start of short video/animated logo, audio of this video still plays, but nothing happens after that. Refreshing the screen by pause/unpause will show black screen with 60/60 fps.
There are 2 differences between working and freezing in the log, one of them is new warning when it freezes:
another is:
where in earlier/working builds this thread exit was after those 2 info lines.
Both logs ~ https://gist.github.com/LunaMoo/64d78e7a55f20bf89f7d5b0d3a2a197b
and in case it's any useful debug logs ~ http://www.mediafire.com/download/uzx387yf7dpd8x6/the+warriors+ppsspplog.7z
Update: as mentioned in the discussion below - f70f056 helps a bit, movies are still freezing, just not permanently.
The text was updated successfully, but these errors were encountered: