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

Yarudora Portable: Double Cast #13759

Closed
atkotter opened this issue Dec 12, 2020 · 10 comments
Closed

Yarudora Portable: Double Cast #13759

atkotter opened this issue Dec 12, 2020 · 10 comments
Labels
PSMF / MPEG Issue involves scePsmf or sceMpeg video playback.
Milestone

Comments

@atkotter
Copy link

What happens:
The game is primarily made of FMVs, and during play on PPSSPP (both PC and Android), the FMVs have extreme artifacting and corruption issues.

What should happen:
The FMVs should play normally. The visual issues are exclusive to PPSSPP and branches of it. The visual glitches are not present in JPCSP or on real hardware.

What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.
Hardware: Asus TUF Gaming laptop | Samsung Galaxy Tab S6
OS: Windows 10 Home v20H2 | Android 10
PPSSPP versions: Latest, and 0.9.9.1, x64 | Latest APK from PPSSPP site

Other specs:
Processor: AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx 2.10 GHz
Ram: 8.00 GB

@Panderner
Copy link
Contributor

does it happens in all backends?

@hrydgard hrydgard added the PGF / sceFont Issue involves PGF fonts. label Dec 12, 2020
@hrydgard hrydgard added this to the Future milestone Dec 12, 2020
@atkotter
Copy link
Author

Yes it does. I’ve tried basically every setting combination with every backend I can think of and nothing seems to change with it.

@sum2012
Copy link
Collaborator

sum2012 commented Dec 13, 2020

Do you mean the FMVs artifacting of this ?
2

@atkotter
Copy link
Author

Yes, that is what happens. It doesn’t look like that on other emulators or real hardware.

@sum2012 sum2012 added PSMF / MPEG Issue involves scePsmf or sceMpeg video playback. and removed PGF / sceFont Issue involves PGF fonts. labels Dec 14, 2020
@sum2012
Copy link
Collaborator

sum2012 commented Dec 14, 2020

v1.10.3-1319-gc546c6032-windows-amd64 log:
https://gist.github.com/sum2012/9ab51781a2b5444eb78042dcfcde5b39

@sum2012
Copy link
Collaborator

sum2012 commented Dec 14, 2020

The worse case is that we need imp sceVideocodec

@hrydgard hrydgard modified the milestones: Future, v1.12.0 Dec 14, 2020
@shenweip
Copy link
Contributor

shenweip commented Dec 23, 2020

10:36:987 wlibMpeg I[ME]: hw\mediaengine.cpp:87 FF: non-existing PPS 0 referenced
10:36:962 wlibMpeg I[ME]: hw\mediaengine.cpp:87 FF: error while decoding MB 8 4, bytestream -4
Actually, I have noticed similar log info many times in different games. By checking the bitstream, I can be sure that the video have provided PPS before the first keyframe.

Thinking about this problem again, I think it's because ppsspp is using threads to decode videos now, which will increase decoding delay. Some games can't provide enough frames at one time, especially in the beginning, which will lead to blurring like this. Consider the possible impact on performance, a possible solution is to reduce decoding delay by reducing number of threads instead of disabling using threads.

I have fixed some similar issues in other games based on this idea, I think would help this game too.

@unknownbrackets
Copy link
Collaborator

unknownbrackets commented Dec 23, 2020

Basically, I assume this is similar to the Valkyrie Profile issue. We let ffmpeg start processing a block before it's complete, and ffmpeg gets confused and uses its error correction (used when a network stream has errors) to attempt correction. Implementing sceVideocodec won't help that.

-[Unknown]

sum2012 added a commit to sum2012/ppsspp that referenced this issue Dec 26, 2020
sum2012 added a commit to sum2012/ppsspp that referenced this issue Dec 27, 2020
sum2012 added a commit to sum2012/ppsspp that referenced this issue Jan 31, 2021
@sum2012
Copy link
Collaborator

sum2012 commented Jan 31, 2021

Yeah,Real psp return ERROR_MPEG_NO_DATA on this game
JPCSPTrace full log:
https://gist.github.com/sum2012/4aab09db951696bf50c31e6e1cdfe412

edit:Firmware 1.5
edit2:No warmup in begining

@sum2012
Copy link
Collaborator

sum2012 commented Jun 20, 2021

Fix by #14199 Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PSMF / MPEG Issue involves scePsmf or sceMpeg video playback.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants