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

Little busters video problems #6903

Closed
daniel229 opened this issue Sep 14, 2014 · 12 comments
Closed

Little busters video problems #6903

daniel229 opened this issue Sep 14, 2014 · 12 comments

Comments

@daniel229
Copy link
Collaborator

1.The openning video show up when checking "Retain changed textures" or change rendering mode while playing.

2.Chinese translated video is skipped in the middle of the video.Like this #6574

The infolog of the video,no difference between the patched and the original

03:29:236 user_main    I[ME]: HLE\sceMpeg.cpp:412 sceMpegInit()
03:29:236 user_main    I[ME]: HLE\scePsmf.cpp:1018 scePsmfPlayerCreate(08b3f158, 08b3f14c)
03:29:253 user_main    I[KERNEL]: HLE\sceKernelThread.cpp:2178 376=sceKernelCreateThread(name=displayThread, entry=089acb74, prio=21, stacksize=2048)
03:29:253 user_main    I[KERNEL]: HLE\sceKernelThread.cpp:2178 377=sceKernelCreateThread(name=audioThread, entry=089ac0f8, prio=20, stacksize=2048)
03:29:253 user_main    W[ME]: HLE\scePsmf.cpp:1247 8192 = scePsmfPlayerGetAudioOutSize(08b3f158)
03:29:253 user_main    I[KERNEL]: HLE\sceKernelThread.cpp:2178 378=sceKernelCreateThread(name=naviThread, entry=089ad18c, prio=22, stacksize=2048)
03:29:253 user_main    I[ME]: HLE\scePsmf.cpp:1952 scePsmfPlayerConfigPlayer(08b3f158, loop, 1)
03:29:253 user_main    I[ME]: HLE\scePsmf.cpp:1960 scePsmfPlayerConfigPlayer(08b3f158, pixelType, 3)
03:29:268 user_main    I[ME]: HW\MediaEngine.cpp:85 FF: deprecated pixel format used, make sure you did set range correctly
03:29:268 user_main    I[ME]: HW\MediaEngine.cpp:85 FF: No accelerated colorspace conversion found from yuv420p to rgba.
03:29:276 user_main    I[ME]: HLE\scePsmf.cpp:1188 scePsmfPlayerSetPsmf(08b3f158, disc0:/PSP_GAME/USRDIR/X6MOVIE/OP00.pmf)
03:29:276 user_main    W[ME]: HLE\scePsmf.cpp:1341 scePsmfPlayerStart(08b3f158, 08b3f134, 0)
03:29:277 user_main    I[KERNEL]: HLE\sceKernelThread.cpp:2277 sceKernelStartThread(thread=376, argSize=4, argPtr=09fff130)
03:29:277 user_main    I[KERNEL]: HLE\sceKernelThread.cpp:2277 sceKernelStartThread(thread=377, argSize=4, argPtr=09fff134)
03:29:277 user_main    I[KERNEL]: HLE\sceKernelThread.cpp:2277 sceKernelStartThread(thread=378, argSize=4, argPtr=09fff138)
03:29:278 displayThrea I[G3D]: GLES\ShaderManager.cpp:139 Linked shader: vs 32 fs 45
03:29:278 naviThread   W[ME]: HLE\scePsmf.cpp:1634 scePsmfPlayerGetCurrentPts(08b3f158, 08b3f15c): no frame yet
03:29:278 displayThrea I[G3D]: GLES\ShaderManager.cpp:139 Linked shader: vs 35 fs 59
03:29:278 naviThread   W[ME]: HLE\scePsmf.cpp:1634 scePsmfPlayerGetCurrentPts(08b3f158, 08b3f15c): no frame yet
03:29:303 naviThread   W[ME]: HLE\scePsmf.cpp:1634 scePsmfPlayerGetCurrentPts(08b3f158, 08b3f15c): no frame yet
03:29:330 displayThrea I[G3D]: GLES\ShaderManager.cpp:139 Linked shader: vs 61 fs 62
04:45:097 displayThrea I[ME]: HLE\scePsmf.cpp:1430 scePsmfPlayerUpdate(08b3f158): video end scheduled
04:45:097 scePsmfPlaye I[ME]: HLE\scePsmf.cpp:1988 __PsmfPlayerFinish(08b3f158): video end reached
04:45:097 scePsmfPlaye I[KERNEL]: HLE\sceKernelThread.cpp:2318 __KernelReturnFromThread: 0
04:45:113 naviThread   I[ME]: HLE\scePsmf.cpp:1051 scePsmfPlayerStop(08b3f158)
04:45:130 displayThrea I[KERNEL]: HLE\sceKernelThread.cpp:2331 sceKernelExitThread(0)
04:45:130 naviThread   I[KERNEL]: HLE\sceKernelThread.cpp:2331 sceKernelExitThread(0)
04:45:196 audioThread  I[KERNEL]: HLE\sceKernelThread.cpp:2331 sceKernelExitThread(0)
04:45:196 user_main    W[ME]: HLE\scePsmf.cpp:1451 scePsmfPlayerReleasePsmf(08b3f158)
04:45:196 user_main    I[ME]: HLE\scePsmf.cpp:1405 scePsmfPlayerDelete(08b3f158)
04:45:197 user_main    I[ME]: HLE\sceMpeg.cpp:1533 sceMpegFinish(...)
@unknownbrackets
Copy link
Collaborator

What are the FBOs it deletes and creates when you change rendering mode during playback?

-[Unknown]

@daniel229
Copy link
Collaborator Author

Those。
···
33:53:946 idle0 I[SCEGE]: GLES\Framebuffer.cpp:1978 Destroying FBO for 00000000 : 480 x 272 x 3
33:53:948 idle0 I[SCEGE]: GLES\Framebuffer.cpp:1978 Destroying FBO for 00088000 : 480 x 272 x 3
33:53:956 idle0 I[G3D]: GLES\TextureCache.cpp:152 Texture cached cleared from 1 textures
33:53:958 displayThrea I[SCEGE]: Common\FramebufferCommon.cpp:417 Creating FBO for 00088000 : 480 x 272 x 3
33:53:977 displayThrea I[SCEGE]: Common\FramebufferCommon.cpp:417 Creating FBO for 00000000 : 480 x 272 x 3
33:53:977 displayThrea W[SCEGE]: Common\FramebufferCommon.cpp:454 FBO reusing depthbuffer, 00000000/00110000 and 00088000/00110000
···

@sum2012
Copy link
Collaborator

sum2012 commented Mar 15, 2016

This is the chinese patch's save file to reproduce the problem
https://drive.google.com/file/d/0B3OaSdeV0L8kTlNlTnA2eEgydlk/view?usp=sharing

@unknownbrackets
Copy link
Collaborator

To confirm - if you disable this part, it doesn't work in D3D9 or OpenGL (change in both TextureCache files by making it if (false) {)?

                // Don't give up just yet.  Let's try the secondary cache if it's been invalidated before.
                // If it's failed a bunch of times, then the second cache is just wasting time and VRAM.
                if (g_Config.bTextureSecondaryCache) {

If you look at the separate video file, is it the entire video? Or does it render subtitles on top or anything?

-[Unknown]

@sum2012
Copy link
Collaborator

sum2012 commented Mar 16, 2016

@unknownbrackets Don't work in openGL, I said in #8639 that D3D9 no problem in video show up ,
but anyway this change still work in D3D9
Yes,it is entire video (OP00.pmf )

oop,Yes,I also forget log file (v1.2.1-63-gb137bf1)
https://gist.githubusercontent.com/sum2012/c1edccaa61f9d5a43462/raw/1bcd7f141d97c529ba073f2956cbc35f20096782/gistfile1.txt

it render subtitles
1

@unknownbrackets
Copy link
Collaborator

I wonder if "4 and 8-bit CLUT format not supported for framebuffers" is somehow related...

-[Unknown]

@sum2012
Copy link
Collaborator

sum2012 commented Mar 21, 2016

Follow that error is logo pmf video which is no problem

@daniel229
Copy link
Collaborator Author

Fixed in #8720

@sum2012
Copy link
Collaborator

sum2012 commented Jul 24, 2016

The chinese translated video is still skipped in the middle of the video

@daniel229
Copy link
Collaborator Author

Video is still not displayed until recreate FBO in those games.
Flowers (ULJM06390)
Flowers - Natsu Hen
Gakuen Heaven 2 - Double Scramble!
Grisaia no Meikyuu (ULJM06382)
Grisaia no Rakuen (ULJM06395)
Sangoku Ren Senki - Omoide Gaeshi - CS Edition

@sum2012
Copy link
Collaborator

sum2012 commented Aug 16, 2016

v1.2.2-870-g2184d37 video is fixed "skipped in the middle of the video"
Can close this issue.
Other video problem should open another issue

@daniel229
Copy link
Collaborator Author

Good, closed.

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

3 participants