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

Hardware Transform crashes Kingdom of Hearts: Birth By Sleep on Nokia Belle FP2 (Symbian) #2369

Closed
Xlander11 opened this issue Jun 20, 2013 · 39 comments
Labels
armv6 Occurs on ARMv6 devices but not ARMv7 / ARMv8 devices.

Comments

@Xlander11
Copy link

Hi,

When I'm trying to play Kingdom of Hearts: Birth By Sleep on my Nokia 701 with Belle FP2 and using the lastest builds(even the older ones),
at the screen where it is scanning media storage PPSSPP crashes...

I've tried all settings but no results...

Help Please..

Best Regards

@unknownbrackets
Copy link
Collaborator

How much VRAM do you have? Any log?

-[Unknown]

@Xlander11
Copy link
Author

My VRAM is 128Mb and the log that I've succeed to get are those one

scr000101
scr000100

@Tyestor
Copy link

Tyestor commented Jun 21, 2013

I'm crashing too. I've also noticed a weird blur effect. I'll try and get more information. I first noticed this when I upgraded from v0.7.6-1482-g283f382 to v0.7.6-1508-g4bb9e32 (both 64-bit builds). I'm on Windows 8 x64. I'll try and get some more information and create my own issue.

@Xlander11
Copy link
Author

For me it was the same since PPSSPP-v0.7.6-608-g77586e6 (first build I have used) :(

@unknownbrackets
Copy link
Collaborator

I don't know why this would only be happening on Symbian. Does having jit on/off affect it? Any settings at all?

Wait, @Tyestor, this happens for you on Windows also? Which region of the game? Can you test all the builds in between?

-[Unknown]

@Xlander11
Copy link
Author

I've just try with the lastest build... disabling jit only reduce VPS from 60 to 18..
Enabling "display raw framebuffer it stays black(does not go to any of the 2 screenshot) but buttons responds for 2seconds then freeze and crash.
And for the other settings it does change anything.

@unknownbrackets
Copy link
Collaborator

But it still crashes with jit off? Also see #2395.

-[Unknown]

@Xlander11
Copy link
Author

Yes it still crashes.

Ok.

@unknownbrackets
Copy link
Collaborator

Do you have all your settings at defaults or minimum values? Can you try turning off mipmapping and double checking that linear filtering is off, buffered rendering is on, texture scaling is off, and SSAA is off? You may not have enough VRAM. According to the other bug, this game may need a non-trivial amount right now.

-[Unknown]

@Xlander11
Copy link
Author

Yes it is.. and it still crashes the same way, at the "Checking the storage media".

@dbz400
Copy link
Contributor

dbz400 commented Jun 23, 2013

@ Xlander11 , can you retest it with latest build ? may be if it is the same framebuffer issue.

@Xlander11
Copy link
Author

I was testing it with the lastest build today.... v0.7.6-1521-g286caf3 is the latest for symbian..
the crashing was since v0.7.6.. then first build I used was v0.7.6-608-g77586e6 which gave the same result too.

@dbz400
Copy link
Contributor

dbz400 commented Jun 23, 2013

I see. so may be you need to wait for newer build upto 1572 to retest it again .

@Xlander11
Copy link
Author

Ok. I'll wait and repond back in this issue.

@Xlander11
Copy link
Author

I have tested it with the lastest build which is now v0.8-56-ga94640f. But nothing changes, it still crashes during the"checking the storage media".

@xsacha
Copy link
Collaborator

xsacha commented Oct 14, 2013

This may be affecting other games as well.
Do you know any version of PPSSPP where this crash didn't happen?
@Xlander11 you say the first one you tested was v0.7.6-608? And it didn't happen in v0.7.5? If this is correct, I can send you an earlier version like v0.7.6-500.

@Xlander11
Copy link
Author

Hi @xsacha I've just tested it on v0.9.1- 1554, 0.8.1-1163, v0.7.6 and v0.7.5-2....

For the first two, its the same issue

for the v0.7.6 ppsspp lags a lot to nearly freeze

for the v0.7.5 it gives a blackscreen...

and by the way the issue for issue #3349 has not been resolved, can you have a check on it please.

@xsacha
Copy link
Collaborator

xsacha commented Oct 14, 2013

#3349 closed because it is duplicate of #2385

So v0.7.6-1 it was working? Then 608 was not?

Try v0.7.6-500:
https://mega.co.nz/#!H1xEBbxT!B4YHR1O12CM4XMKgU3XnamvLJgZNzoYAZ_VBqxL1HfM

@xsacha
Copy link
Collaborator

xsacha commented Oct 15, 2013

By the way, can you try disabling Hardware Transform? I discovered a similiar issue in another game and this fixed it for me.

@Xlander11
Copy link
Author

@xsacha on v7.6.500 its playing(scene) at VPS 9.8 after the 2 first scene with Hardware Transform on...
then 4th scene with VPS 20-50 where the protagonist is falling... but text does not shows up... during that scene.. like black square subtituting the text.
but then at the 5th on the text reappear...
but then its black screen.... nothing... but it has sure pass the screen that i have uploaded in my post...
Setting Hardware Transform off during the black screen.. show the castle... at VPS 8-10 and setting on again make bugs like the castle disappear only the blue sky van be seen...

@Xlander11
Copy link
Author

but for P3P issue hasn't been solved yet... :/

@unknownbrackets
Copy link
Collaborator

I suspect this is my fault. I thought all our vertex accesses were aligned.

Does it help to define XXH_USE_UNALIGNED_ACCESS? In xxhash.c I had commented it out (5acbbe7.) I think this is only supported on armv7+. I'm not sure which method might be faster on armv7.

-[Unknown]

@xsacha
Copy link
Collaborator

xsacha commented Nov 4, 2013

It's supported on armv6+. Just added the define. Can you test if the crashes for hardware transform still occur for you? On v0.9.5-89+

@Xlander11
Copy link
Author

It does not crash but now the main menu is black(nothing can be seen) and text(instead of text a black square is seen replacing it) too...

The game and video are very slow(5 to 7 FPS)... 2 to 3 seconds after a video is played, it gets black...

For Persona 3 Portable too it does not crash now... but the speed has decreased.. I used to play it with 20 to 30 FPS and now its 5 Fps.

@xsacha
Copy link
Collaborator

xsacha commented Nov 4, 2013

Wow, these are heavy regressions.
Can you check the revision just before this bug fix (to see if it's related).
v0.9.5-87-ge2e74e8

Is the performance issue also with this build?

@Xlander11
Copy link
Author

Lol.
I was writting the point of crash then tried again 3 times for the 2 games... they just crash randomly( O.o' )... but for Kingdom Hearts the main menu is visible..

@xsacha
Copy link
Collaborator

xsacha commented Nov 4, 2013

I'm confused. Did you find the commit that reduced performance?

@Xlander11
Copy link
Author

I can't get in-game and don't know the performance, it crashes randomly in v0.9.5-87-ge2e74e8.

I've tested on v0.9.5-47-g52eb46c Kingdom hearts crashes after loading game and P3P crashes while choosing a load file.

@xsacha
Copy link
Collaborator

xsacha commented Nov 4, 2013

To test the performance issue and find out which commit caused this, disable Hardware Transform.
Or are you saying the performance issue is only with Hardware Transform enabled?

So, were you able to run a game with hardware transform disabled in v0.9.5-87?

Also, are your new issues the same as: #4439 ?

I am going to close this issue since the original issue is fixed.

Feel free to reply on here or issue #4439 if it's the same.

@xsacha xsacha closed this as completed Nov 4, 2013
@Xlander11
Copy link
Author

For previous build like v8.1, Hardware Transformation increase performance. But know its different.

For KH it gets in-game but then freezes.

For P3P it plays but with 5 FPS.

Ok thank you!

@xsacha
Copy link
Collaborator

xsacha commented Nov 4, 2013

P3P used to run faster recently?

@Xlander11
Copy link
Author

On v8.1-1633 it runs at 15 - 30 FPS.

@xsacha
Copy link
Collaborator

xsacha commented Nov 4, 2013

Performance dropped off on 1634? Or could it be anywhere between then and now? If so, could you narrow it down?

@Xlander11
Copy link
Author

No sorry it is 1163 and not 1633

@xsacha
Copy link
Collaborator

xsacha commented Nov 4, 2013

Oh ok, issue #3349
So in this issue your performance dropped because you were forced to disable Hardware Transform.
Hardware Transform should now work in P3P right? Performance has not returned?

@Xlander11
Copy link
Author

Yeah it should have worked but now its performance very low. And sometime it crashes with our without Hardware Transform for both game... Sometime at the screen where choosing save data files and sometime in-game.

@unknownbrackets
Copy link
Collaborator

Keep in mind: at some point we enabled "automatically use software transform when the gpu driver is so buggy that it fails to compile shaders" instead of "randomly crash or don't draw things when gpu drivers fail to compile perfectly good shaders." This unfortunately reduced performance for some people who were perfectly happy with their broken graphics and occasional crashes.

-[Unknown]

@xsacha
Copy link
Collaborator

xsacha commented Nov 4, 2013

@unknownbrackets I don't think this is the issue here because disabling Hardware Transform fixed the crash (so it must have been working before?) and also it pops up a message (in red text) on the screen when it reverts to software transform. I was able to produce this by messing with the speed hacks.

@Xlander11
Copy link
Author

The graphic was not bad back in the v8.1-1163... O.o' and neither crash... I could play for 90 minutes non-stop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
armv6 Occurs on ARMv6 devices but not ARMv7 / ARMv8 devices.
Projects
None yet
Development

No branches or pull requests

5 participants