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

Narikiri Dungeon X - performance problem with battle transition #16714

Closed
hrydgard opened this issue Jan 3, 2023 · 2 comments · Fixed by #17181
Closed

Narikiri Dungeon X - performance problem with battle transition #16714

hrydgard opened this issue Jan 3, 2023 · 2 comments · Fixed by #17181
Labels
GE emulation Backend-independent GPU issues GPU readback Issue related to readbacks from the GPU to CPU
Milestone

Comments

@hrydgard
Copy link
Owner

hrydgard commented Jan 3, 2023

Mikio reported this through e-mail, with good info.

Tales of Phantasia: Narikiri Dungeon X lags when using overbrave while the "Simulate block transfer effects" is turned on.
It lags but when I swipe the screen of my phone the lag stops. I'm using redmi note 10 pro which is more than enough to run the game.

I need to turn on Simulate block transfer effects because the battle transition becomes glitchy when it is turned off.

The game is thus very likely doing readbacks during these battle transitions, which often cause devices to downclock, touching the screen can work around that.
ULJS00293_1 01_4

Screenrecorder-2022-12-22-01-14-26-445.mp4
Screenrecorder-2022-12-22-01-20-15-455.mp4

savestate:

ULJS00293_1.01_4.zip

We might be able to get rid of the readbacks using [BlockTransferAllowCreateFB] or similar tricks, needs to be looked into.

@hrydgard hrydgard added the GE emulation Backend-independent GPU issues label Jan 3, 2023
@hrydgard hrydgard added this to the v1.15.0 milestone Jan 3, 2023
@ghost ghost mentioned this issue Feb 3, 2023
7 tasks
@Noneplayingplayer
Copy link

What time this will done?

@hrydgard
Copy link
Owner Author

@Noneplayingplayer Can you try this, if you are on a Windows machine:

Under the section [BlockTransferAllowCreateFB] in assets/compat.ini, add the following lines:

# Narikiri Dungeon X
ULJS00293 = true

Alternatively (say if you're on Android), put the following in a new text file named compat.ini which you put in your PSP/SYSTEM directory:

[BlockTransferAllowCreateFB]
# Narikiri Dungeon X
ULJS00293 = true

Does that help?

@hrydgard hrydgard added the GPU readback Issue related to readbacks from the GPU to CPU label Feb 16, 2023
hrydgard added a commit that referenced this issue Mar 24, 2023
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.
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 a pull request may close this issue.

2 participants