Rpcs3: performance lost in Project DIVA F & F 2nd

Created on 13 Aug 2019  路  16Comments  路  Source: RPCS3/rpcs3

With old build 0.0.6-8119 i have around 25-30FPS, but on any newer build only 10FPS.

I try this game on my friend PC with AMD GPU, but i got same result on openGL. If i try vulkan it goes full speed.

CPU: i5 2430M
GPU: NVIDIA GT525M (openGL only)
RAM: 8GB

NVIDIA(old build)
NVIDIA(new build)
AMD opegl
AMD vulkan
AMD opegl.log
NVIDIA(new build).log
NVIDIA(old build).log
AMD vulkan.log

Discussion Need Information

Most helpful comment

Turns out this is not actually our bug. It seems most drivers did not bother to implement pixel unpack operations in hardware so its emulated by the driver in software mode. This means I need to write some compute kernels for OpenGL to actually do this in hardware for them. I'll try and get it done soon.

All 16 comments

What build regressed it exactly? Also note that your CPU is way too weak for RPCS3, way below recommended requirements.

No matter what build i use. I have FPS drop since 0.0.6-8119. But i think the slowdown started after rsx: Surface cache improvements #5937.

Haven't had time to check this properly, but its definately a strange bug. You can "fix" it by running the game at any resolution scale below 100%. For me, even 99% is fast but 100% is slow. I'll check it soon.

Turns out this is not actually our bug. It seems most drivers did not bother to implement pixel unpack operations in hardware so its emulated by the driver in software mode. This means I need to write some compute kernels for OpenGL to actually do this in hardware for them. I'll try and get it done soon.

I've implemented some basic transforms in this build. Check if it improves performance for you. On my desktop performance is back to normal, but mobile systems may struggle with compute for all we know.

In PD1 i see no improvement on logo, menu or song select but ingame i have playable FPS.
In PD2 i have now 30FPS on logo, loading, song start, but game start, song select and ingame is too slow.

It's still slow like before but i see around 1-2FPS improve

If you have at least the same performance you had before, it can be closed

After merging the performance is same like i describe before. I see some improvements, but the old build 0.0.6-8119 is still much faster.

Desktop.zip

There is comparison between old build, build before merge and build after merge.

I see strange behavior, because some parts in the old build that were previously slow are now fast and those that were fast are now slow.

Need comparison on PDF1 which seems to run fine. I don't have PDF2

I have identified a point of optimization that may help with the situation.

Should be fixed by https://github.com/RPCS3/rpcs3/pull/7260
It's not possible to match "old build" performance as old builds were missing a bunch of features needed to emulate other titles, but that PR should, in theory, get as close as it is possible to do so, to reasonable performance on that GPU.

Yes, now PD1 run 30FPS stable on all stages and PD2 too, but one stage is still slow.

OLD
8119 5
NEW
5

Unfortunately its not possible to optimize further, the step that was added there is critical but can cause performance slowdown on old hardware. Note that this game runs with 4x SSAA which means that when its saying 720p its actually rendering at 1440p internally. That is the reason for the troubles. You can get native 1080p for example by actually using 75% resolution scale or 720p using 50% scaling.
I think what we have with the PR is the best possible outcome.

Now it麓s run fine. I can not complain :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Birch-san picture Birch-san  路  3Comments

XeClutch picture XeClutch  路  3Comments

AniLeo picture AniLeo  路  3Comments

kurosh10000 picture kurosh10000  路  3Comments

xddxd picture xddxd  路  3Comments