ppsspp icon indicating copy to clipboard operation
ppsspp copied to clipboard

Long-term goal: Remove "Disable slower effects" checkbox, and "Simulate Block Transfers"

Open hrydgard opened this issue 7 years ago • 14 comments

This checkbox breaks so many games and creates many unnecessary bug reports. My goal is to look into all cases that really are very slow, and fix them to work at reasonable performance.

First success here is the virtual readbacks , #11531 , that improved performance of Digimon Adventure (it's still a fairly demanding game for some devices, but at least the massive performance-killing readbacks are gone).

I'm interested in other cases where we end up doing unnecessarily costly operations that this checkbox avoids.

Of course, very weak GPUs might still get stressed from the actual GPU part of the effects so we might not be able to completely remove it, but we should be able to move it into the more obscure options eventually.

Cases: ~~#11531~~ Digimon Adventure #11573 Call of Duty ~~#11092 3rd Birthday~~ ~~Burnout Legends sun (should be fixable with the #11531 method with some work)~~ Tactics Ogre? ~~Test Drive (#11531 can be used, though needs more fixes)~~

Related, "Simulate block transfers" has similar problems and should also be removed.

hrydgard avatar Nov 29 '18 07:11 hrydgard

One alternative might be to simply force the checkbox to off for games that require these effects.

#11573 would be a candidate.

hrydgard avatar Nov 29 '18 08:11 hrydgard

#11092 should also be a candidate?

ghost avatar Nov 29 '18 09:11 ghost

Yeah, that should definitely be listed here.

hrydgard avatar Nov 29 '18 11:11 hrydgard

Posting #11953

marosis avatar Apr 05 '19 20:04 marosis

@hrydgard Burnout Dominator is also affected by "Simulate Block Trans." (disabling it makes the game 2 times faster)

Leopard20 avatar Apr 07 '19 04:04 Leopard20

Burnout Dominator and Burnout Legend benefits from Simulate Block Transfer Effects fixing small square in the sun

Just add the game ID to [BlockTransferAllowCreateFB] compat.ini I just tried both Dominator and Legend game are faster even Simulate Block Transfer Effects is enable I just need to set the rendering resolution to X1 as my phone is low specs 😅

ghost avatar Apr 07 '19 10:04 ghost

I'm tunr off "Simulate Block Transfers" these game on Android device. *Windows PC is not need them. Because, I think thatPC has enough CPU&GPU Power.

OS:Android 9.0 DeviceName:SONY SO-02K / Xperia XZ1 Compact(Japan) CPU:Snapdragon835(Octa-core) GPU:Adreno 540 Resolution:720×1280 RAM:4GB ROM:32GB ExternalStrage:microSDXC 512GB

[Simulate Block Transfers Off==>Can getting enough FPS.] ARMORED CORE FORMULA FRONT(ULJS00003) ARMORED CORE FORMULA FRONT International (ULJS19001) These games get enough FPS and not happen graphic glitched on Android device.

[Getting enough FPS.But happen glitched.] Tactics Ogre - Unmei no Wa (ULJM05753) will get ennough FPS. But, It's not drawing some graphics correctly.

[Tactics Ogre-Simulate Block Transfers On/Graphic OK/Goes down FPS] ULJM05753_BlockTrans_On

[Tactics Ogre-Simulate Block Transfers Off/Graphic Bad/Enough FPS] ULJM05753_BlockTrans_Off

GachiTora-Abarenbou kyoushi in HighSchool- (NPJH50409) too. [GachiTora Block Transfers On/Graphic OK/Goes down FPS] NPJH50409_BlockTrans_On

[GachiTora Block Transfers Off/Graphic Bad/enough FPS] NPJH50409_BlockTrans_Off

For reference!!

nassau-tk avatar Oct 05 '20 12:10 nassau-tk

is 3rd birthday included? Simulate Block Transfers Effects ON Screenshot_20221006-212424_PPSSPP Simulate Block Transfers Effects OFF Screenshot_20221006-212412_PPSSPP

IrfanH495 avatar Oct 06 '22 14:10 IrfanH495

3rd Birthday doesn't need any readbacks as far as I know, so the block transfer option won't affect it anymore (it now only controls readbacks, which are the most expensive operation).

Checking it off from the list.

hrydgard avatar Oct 06 '22 14:10 hrydgard

Brave Story also benefit from disable slower effects.

ON Screenshot_2022-10-07-23-46-07-40

OFF Screenshot_2022-10-07-23-46-18-70

ppsspp v1.13.2

ghost avatar Oct 07 '22 15:10 ghost

Right, @unknownbrackets looked into that game long ago. I had hoped that the new CLUT-from-framebuffer code would take care of that, wonder why it's not.

Are the colors correct in the upper or lower image?

hrydgard avatar Oct 07 '22 16:10 hrydgard

Are the colors correct in the upper or lower image?

I can't tell what is correct on those screenshots.

I aslo discover that there's an issue in the recently build using OpenGL backend.

OPENGL Screenshot_2022-10-08-00-26-33-62

VULKAN Screenshot_2022-10-08-00-26-17-24

Software Screenshot_2022-10-08-00-26-58-12

ghost avatar Oct 07 '22 16:10 ghost

I also notice that during battle scene in Brave Story OpenGL is much better compare to Vulkan.

ghost avatar Oct 07 '22 16:10 ghost

Thanks. We should separate out the Brave Story problems in a separate issue..

hrydgard avatar Oct 07 '22 17:10 hrydgard

These checkboxes have been refactored into a single speedhack, "Skip GPU readbacks". Closing.

hrydgard avatar Dec 10 '22 11:12 hrydgard