hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.02k stars 2.15k forks source link

Vulkan: Crash after a while in all games #10220

Closed SamueldeSena closed 6 years ago

SamueldeSena commented 6 years ago

this problem occurs in all psp games for ppsspp plus the interesting and that games that weigh more have more textures and elements makes the emulator close faster in 30 minutes and light games makes the emulator close in 1 hour or 1 hour and 30 minutes I have several psp games on my memory cards and I would like to commit myself to the ppsspp team to stabilize the vulkan as soon as possible I can help with testing as soon as I build the builds focused on the ppsspp crash I do the tests in all games and sent to the team as fast as possible with the test report

hrydgard commented 6 years ago

I don't think you've tried all the games that are available for the PSP, but can you list some examples of light and heavy games that crash after a while?

Most likely we have some sort of memory or resource leak that eventually grows too big.

Also, what device are you running on?

SamueldeSena commented 6 years ago

êsbecause these are the games that I tested in vulkan and that are giving error and closing the emulator growing between 30 minutes to 1 hour and 30 minutes this occurs after a certain time inevitably I will separate them are heavy and light games that have between many textures and elements and few textures and elements

Light matches from 30 minutes to 1 hour:

Heavy games that closes in 30 minutes or less:

10 minutes or less:

THESE ARE GAMES THAT I TESTED IN THE LAST BUILD v1.5.2-43-GA67357db0

I hope my test can help give in the discovery of the problem of vulkan my cell phone and a moto g5s plus ARMv 7 Processor rev 4 (v71) core 8 adreno 506 api version 1.0.31 vesao of vulkan

SamueldeSena commented 6 years ago

When that problems will be resolved because up to 1.5.3 this problem is occurring

hrydgard commented 6 years ago

It will be solved when the cause is found... Vulkan seems fairly stable on my devices, although I haven't really played any game for more than 15 minutes for a while..

SamueldeSena commented 6 years ago

Por favor se você fizer um teste no jogo guilta gear xx acente core plus pela vulkan você provavelmente vai percerber que a uma instabilidade e que esse jogo fecha em 3 minutos por favor faça este teste

SamueldeSena commented 6 years ago

Please if you take a test in the game guilta gear xx accent core plus by vulkan you will probably notice that to an instability and that this game closes in 3 minutes please do this test

TRADUZIR

SamueldeSena commented 6 years ago

And I also weight apologies to LunaMoo for having redone another topic with this same problem is that guilta gear xx accent core plus and the game that I most play in this emulator and this problem of closing in 3 minutes by vulkan left me very sorry LunaMoo no excuses I will make this mistake again

unknownbrackets commented 6 years ago

Does it stop happening if you disable the vertex cache?

-[Unknown]

SamueldeSena commented 6 years ago

Nao

SamueldeSena commented 6 years ago

No

SamueldeSena commented 6 years ago

the build v1.5.3-35-gcc2e162a0 solved the crash problem in guilta gear xx accent core plus after 30 minutes it was still running smoothly

SamueldeSena commented 6 years ago

I am going to do an intense test of 1 hour with this build in several psp games and I will send the report from here 3 days

Leopard20 commented 6 years ago

I've played some games for over 1 hour and I haven't noticed any issues (some even over 2 hours!). Tested games: SOCOM Fire team Bravo 1,2 and 3. Def Jam. MGS Peace Walker. PoP Revalations. Mortal Kombat Unchained. Assassin's Creed Bloodlines. Gun Showdown. Spider-Man 2 Syphon Filter: Dark Mirror AND Logan's Shadow.

I don't assume any of them are light games!

hrydgard commented 6 years ago

Yeah, seems we're in a pretty good place now. I'm gonna release 1.5.4 tomorrow.

unknownbrackets commented 6 years ago

Sweet. May have been related to the hashmaps or other fixes?

I'm going to close this issue - if you're still seeing crashes in some games, we can reopen, or perhaps open more specific issues about those crashes.

-[Unknown]

SamueldeSena commented 6 years ago

I finished the tests and the new builds fixed the problem of vulkan thanks hrydgard

hrydgard commented 6 years ago

@SamueldeSena thanks for testing!

Lymphocytes commented 6 years ago

@hrydgard sorry if its not appropriate to write on old threads so I apologize in advance, but vulkan still seems very unstable on my device. I have an ASUS ZenPad Z8 and the games I've tested are Kingdom Hearts Birth By Sleep, Dissidia Final Fantasy 012 Duodecim, and Silent Hill Shattered Memories. Khbbs and dffd last 30 mins to an hour, and Silent hill hardly works for 10 seconds after loading a save state

Leopard20 commented 6 years ago

I can confirm that vulkan is unstable when you load a saved state. Games having this issue for me: Splinter Cell Essentials Soul Calibur

hrydgard commented 6 years ago

Oh, only when you've loaded a state? Is it a very noticeable difference in stability for when starting games from scratch?

Leopard20 commented 6 years ago

I haven't notices any instability in the case you mentioned (v1.5.4) But like I said my chipset is arguably pretty good (snapdragon 821) so I'm not sure about less powerful devices.

BTW, why do I get a feeling like the development versions are changing for the worse lately. I haven't tested all games, so while there could be improvements in some games, others (like Brothers in Arms that I mentioned in an issue) have problems now.

Are you changing the codes from the ground up? That could explain a lot!

unknownbrackets commented 6 years ago

What's the first version that has new problems, and the last version that was fine? If you narrow it down, we can investigate.

Does loading a save state when using OpenGL not have the same problems? It's only Vulkan?

-[Unknown]