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

Tales of Phantasia - Narikiri Dungeon X: Avoid some GPU readbacks. #17181

Merged
merged 1 commit into from
Mar 25, 2023

Conversation

hrydgard
Copy link
Owner

Copies to a framebuffer instead of RAM.

Confirmed through e-mail that is fixes the performance drop from #16714, but unknown whether there are any regressions in the rest of the game.

I guess we'll find out.

Fixes #16714.

Copies to a framebuffer instead of RAM.

Confirmed through e-mail that is fixes the performance drop from #16714,
but unknown whether there are any regressions in the rest of the game.

I guess we'll find out.
@hrydgard hrydgard added GE emulation Backend-independent GPU issues GPU readback Issue related to readbacks from the GPU to CPU labels Mar 24, 2023
@hrydgard hrydgard added this to the v1.15.0 milestone Mar 24, 2023
@hrydgard hrydgard merged commit 0478780 into master Mar 25, 2023
@hrydgard hrydgard deleted the tales-narikiri-avoid-readback branch March 25, 2023 07:10
@unknownbrackets
Copy link
Collaborator

Trivially, this appears to break save icons of course, which are now black (or could be whatever was last in that RAM, I guess.) It may have also broken the desert screen shimmering effect, but I thought that was intra-block transfers so it was probably broken by something else.

-[Unknown]

@hrydgard
Copy link
Owner Author

hrydgard commented Mar 25, 2023

Ah. Well I didn't get responses about those from my tester, so there we go.

Might be able to do something horribly game specific with the size of the copies. but considering reverting.

@unknownbrackets
Copy link
Collaborator

Well, we actually hook the save icon func (see #6263.) Probably at least where we know these funcs downscale or do other CPU operations, we could add a flag. I don't know what else might happen, this game has other effects in places and does some weird things...

-[Unknown]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GE emulation Backend-independent GPU issues GPU readback Issue related to readbacks from the GPU to CPU
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Narikiri Dungeon X - performance problem with battle transition
2 participants