FPS Boost For Some Games On PSX Core Due To CPU Data Cache

Xbytez
Site Admin
Posts: 469
Joined: Wed May 20, 2020 3:36 pm
Has thanked: 214 times
Been thanked: 787 times

FPS Boost For Some Games On PSX Core Due To CPU Data Cache

Unread post by Xbytez »

Another excellent update from @AzumFpg great work on adding a data cache for the PlayStation 1 CPU.

setiawan
Posts: 2
Joined: Sun Mar 13, 2022 4:38 am
Been thanked: 1 time

Re: FPS Boost For Some Games On PSX Core Due To CPU Data Cache

Unread post by setiawan »

What does that mean in terms of the end experience? E.g. if a game on real hardware runs at 20FPS, but with data cache runs at 30FPS, does that mean that the game plays 50% faster? Or that 50% more frames are rendered for the same amount of "in game" time, making it smoother?
User avatar
xFlesk
Posts: 75
Joined: Wed Jun 30, 2021 7:37 pm
Has thanked: 27 times
Been thanked: 10 times

Re: FPS Boost For Some Games On PSX Core Due To CPU Data Cache

Unread post by xFlesk »

very nice ;)
but im having an issue now with "fast boot" option. when i start the core (fresh start) and select a chd file it wont boot direct. i have to reset console. after that every game boots normal. there was no problems with that before the update ;)
TheCompany.pl - Amiga EXE Games
User avatar
Chris23235
Top Contributor
Posts: 841
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 106 times
Been thanked: 167 times

Re: FPS Boost For Some Games On PSX Core Due To CPU Data Cache

Unread post by Chris23235 »

setiawan wrote: Sun Mar 13, 2022 4:40 am What does that mean in terms of the end experience? E.g. if a game on real hardware runs at 20FPS, but with data cache runs at 30FPS, does that mean that the game plays 50% faster? Or that 50% more frames are rendered for the same amount of "in game" time, making it smoother?
This depends on how the engine of the game was designed. Most likely a 3D-engine on a hardware like the PSX aims for the highest possible framerate with variable framerates throughout the game. These games can benefit from such a feature because the game's engine aiming for the highest possible framerate might be running independent from the rest of the game (sound, game logic, etc.).

But I guess you have to test for every title to see if it works.

EDIT: I just tried 3 games. Vanishing Point, Ridge Racer and Tomb Raider III. The first 2 don't change, because their framerate is already locked at 30 FPS. TR III shows a big improvement right at the start, when you slide down at the beginning of the first level, the framerate drops in the lower 20 range. With data cache on you only have a brief drop from 30 to 29 frames.
User avatar
Chris23235
Top Contributor
Posts: 841
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 106 times
Been thanked: 167 times

Re: FPS Boost For Some Games On PSX Core Due To CPU Data Cache

Unread post by Chris23235 »

Robotron X is another game that benefits, the frame rates are about 30% higher when data cache is enabled.
Neocaron
Posts: 341
Joined: Sun Sep 27, 2020 10:16 am
Has thanked: 187 times
Been thanked: 66 times

Re: FPS Boost For Some Games On PSX Core Due To CPU Data Cache

Unread post by Neocaron »

Tomb Raider 3 inside the Manor is close to 30fps at all time now. :0
JonnyTenebrous
Posts: 18
Joined: Tue May 26, 2020 11:27 am
Has thanked: 22 times
Been thanked: 4 times

Re: FPS Boost For Some Games On PSX Core Due To CPU Data Cache

Unread post by JonnyTenebrous »

Sorry if I've missed something obvious in the original post, but how - exactly - does one find and enable this CPU Data Cache feature? I had a quick look in the video and debug options menus but nothing leapt out at me. This was late last night though - maybe my tired eyes glazed over it. Cheers.
User avatar
Chris23235
Top Contributor
Posts: 841
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 106 times
Been thanked: 167 times

Re: FPS Boost For Some Games On PSX Core Due To CPU Data Cache

Unread post by Chris23235 »

JonnyTenebrous wrote: Mon Mar 14, 2022 10:34 am Sorry if I've missed something obvious in the original post, but how - exactly - does one find and enable this CPU Data Cache feature? I had a quick look in the video and debug options menus but nothing leapt out at me. This was late last night though - maybe my tired eyes glazed over it. Cheers.
It is in the Debug Options called something like "Data Cache" and it can be switched on/off. If you don't see it update to the latest unstable version.
User avatar
TLPD-AVW
Posts: 96
Joined: Sat Jul 11, 2020 9:59 am
Has thanked: 17 times
Been thanked: 33 times

Re: FPS Boost For Some Games On PSX Core Due To CPU Data Cache

Unread post by TLPD-AVW »

Powerslave works well with this feature. The original Saturn game had locked 30fps framerate, while the PlayStation port had an uncapped framerate with constant noticeable dips. Enabling cache makes it run at decent 30+ fps, only dipping to 20 in intense situations.
H6rdc0re
Posts: 52
Joined: Sat Feb 06, 2021 11:35 pm
Has thanked: 1 time
Been thanked: 9 times

Re: FPS Boost For Some Games On PSX Core Due To CPU Data Cache

Unread post by H6rdc0re »

Awesome work as always. Hopefully he'll be able to implement perspective correction as well. Giving PS1 core a what if PS1 Enhanced mode.
mercuryshadow09
Posts: 9
Joined: Fri Dec 10, 2021 2:05 pm
Has thanked: 2 times

Re: FPS Boost For Some Games On PSX Core Due To CPU Data Cache

Unread post by mercuryshadow09 »

Some really impressive stuff from the gods working on the PS1 core. To all the heroes, thank you for your service.

Post Reply