-
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
Texture glitch in persona 3 (vertex cache) #15032
Comments
KaiFujiro a savestate on that area can help me reproduce this. |
Ah yeah, this is gonna be some side effect of #14833 , likely due to not enough support in the GL driver for something. And yeah, a savestate, or a GE dump during the glitch, might be helpful. |
Here |
Unfortunately that save state doesn't work on me 🤔 |
because you need the same save data as the save state |
how to do a GE dump? what about the frame dump test in the ppsspp dev menu? and where is the dump file location? |
or you can download save data from the internet and go to Tziah 147F with the save data you downloaded |
I already have save data but when I load your save state it just return to start of the game. |
I didn't use the cheat when the save state was created |
or you can go to a different floor and use alice, then use the skill "Di3 for Me!", see if it works or not to see the glitch |
I tried the ppsspp-v1.12.3-8-gc75784351 version and there is no texture glitch there |
error when uploading to github, so I uploaded this to google drive https://drive.google.com/file/d/1gAxTBa_wS6_ttBc_nANrZPsSvtbkrFEc/view?usp=drivesdk |
Use a browser to download the dump https://github.com/hrydgard/ppsspp/wiki/How-to-create-a-frame-dump |
Yeah, that means c757843...16bf519, which almost definitely means #14833. If you want to be absolutely sure, try v1.12.3-21-g236d02999 - if that also has no texture glitch, then it's certain. The save state was created with a virtual disc (i.e. extracted ISO), which I don't recommend using and might create its own unique bugs. It's a debugging feature. I recommend you save in game, switch to a CSO, and then try creating a new save state. It's even possible the bug might be gone (although that would still mean a bug with the virtual disc feature, that's definitely possible.) I tried loading the save state with my own extracted ISO, but it crashed when trying to enter a battle. A frame dump would make it even easier to reproduce the problem, though. -[Unknown] |
ah okay, I'll give it a try and send the frame dump |
|
@unknownbrackets what's the meaning of this? |
sorry, I will do it again |
Is it like this? |
|
KaiFujiro Can you share your save data on this game? |
how can it be like that, I'm sure that at that time the texture had a glitch |
I did a frame dump at the right time when the texture had a glitch |
Yeah, sure |
Because my redmi note 9 is using opengl 3.2 that's why there's no glitch. |
ah like that |
So, can this problem be fixed? |
Yes of course it's a regression. |
just waiting for hrydgard/unknown to make it |
Ah yes, I tried it in another area, and experienced a texture glitch too, I assume that this texture glitch is on all floors of Tartarus, whether it's a small glitch, or a big one |
Does the Vertex Cache setting affect the way it glitches? |
OK, getting some bugs reported around the OpenGL vertex cache so it's likely just that then. We'll fix it soon. |
I seem to recall there was some worry that the way we were uploading into the GL vertex cache might be unsafe, although was probably fine. It's been forced off until now. -[Unknown] |
Yes, when I turn off the vertex cache the game doesn't have a glitch anymore, but there's a bit of lag there |
yeah, it's been fixed by turning off the vertex cache, thx everyone who helped |
Using the savedata, I created a new working save state here: #15032_ULUS10512_persona3_vertexcache.ppst.zip For me, on Adreno 6xx and NVIDIA GTX 9xx, there are no issues with vertex cache on in latest git builds. I did find an assertion failure, though, which was a mistake - will push that up. My guess is that an extra copy will be needed, at least on Mali. Currently, we decode directly into the push buffer memory (which should be local memory anyway on non-NVIDIA), then we upload that to the cached vert buffer, straight from the pushbuffer memory. Not sure why that would really be a problem... -[Unknown] |
@KaiFujiro this should be fixed now in 09daace Edit: No |
@Gamemulatorer No I don't think that change will do it, there's something else going on. |
I removed the vertex cache again in OpenGL, so this should no longer be an issue. |
This glitch can only reproduce in opengl 2.0 might be good to restore this in opengl 3.0+ devices?ヽ(。◕o◕。)ノ. |
Game or games this happens in
ULUS-10512 - Persona 3 Portable (UNDUB)
What area of the game / PPSSPP
When I was in tartarus Tziah 147F
2021-10-19_18.37.33_00038_V.mp4
What should happen
the texture should be normal and there should be no glitch there
Logs
log.txt
Platform
Android
Mobile phone model or graphics card
J1 Ace J111F (Android 5.1.1)
PPSSPP version affected
v1.12.3-39-g16bf5197e
Last working version
v1.12.2-11-g7ba8ef3d3
Graphics backend (3D API)
OpenGL / GLES
Checklist
The text was updated successfully, but these errors were encountered: