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

Regression: Sonic Unleashed lost massive performance (#8888) #9476

Closed
OrdinaryGP opened this issue Dec 21, 2020 · 6 comments · Fixed by #12628
Closed

Regression: Sonic Unleashed lost massive performance (#8888) #9476

OrdinaryGP opened this issue Dec 21, 2020 · 6 comments · Fixed by #12628

Comments

@OrdinaryGP
Copy link

OrdinaryGP commented Dec 21, 2020

Quick summary

Sonic Unleashed has lost from 3-50 FPS Depending on area. (Generally 5-9 FPS Loss)

Details

Regression Occurred in The Form of massive framerate loss. This causes the game to differ even farther from the playable status. Many areas take a hit, minus a few. Jungle Joyride 2nd 3D Section is A Good Example of No change.

1.

Issue Became Present in Merge #8888
Build Name: 0.0.12-10869-9ff0b460

2. Please attach TWO logs:

Regression: RPCS3.log.gz
Before Regression:
RPCS3.log.gz

4. Please attach screenshots of your problem.

After Regression: SURegression1
Before Regression:
SURegression2

5. Please provide comparison with real PS3.

I do not have a framerate counter on PS3, and this is a build to build issue, not an issue with performance comparing RPCS3 to PS3.

6. Please provide your system configuration:

*Windows 10 Home

  • Ryzen 7 3700X
  • Radeon RX 5600XT
  • 20.11.2
@Augusto7743
Copy link

Sonic Unleashed on PS3 has an automatic frame rate engine. In some areas will be 30 FPS and in others 60 FPS having also slow downs that I not remember exactly what the exact value being less of 30 FPS.
SPU analizer will slowdown emulation in some CPUs.

I has Sonic Unleashed, but not is possible dump the disc. Thus I has tested the demo version and is running between 10-15 FPS on Linux Ubuntu 20.10 FX-6300 - 4 GB - GT 640.

Have you used Process Lasso Pro on Windows ? Process Lasso Pro help the system managing the CPU cores.

@OrdinaryGP
Copy link
Author

That Sounds Kinda Like Bloatware, but I assure you this is an issue with RPCS3, since multiple people reported it before.

@Augusto7743
Copy link

Process Lasso Pro being bloatware ? When I had used windows the system and others software had better performance using Process Lasso. Have options to "fix" the windows thread scheduler bug with some CPUs and really emulators has better performance,
Now using Linux not need any thing .... is a wonderful OS ... I not return to windows

@OrdinaryGP
Copy link
Author

Idk, I saw a 1fps-2fps increase using the Performance Mode option it has, I have not looked deeper into it, an explanation on how to use it could be helpful.

@Augusto7743
Copy link

I had used that software in windows .... Primocache and Process Lasso Pro are the best utilities for windows.
Windows thread scheduler has problems and look how they not wish really fix it .... much promise to fix and not totally fixed.
Process Lasso has options to schedule the CPUs cores better than windows does ... Have option to select RPCS3 to be high priority and when the RPCS3 is running Process Lasso analyzes others tasks and low priorities for tasks not need to run.
Have options to disable core park and much more. You need select the RPCS3 executable name in process list and select options to enable performance boost thus Process Lasso has information what is the software that you wish to has better performance.
I had used AMD FX and had better performance. windows had problems had Ryzen was released having less performance.

Using now Linux and not need any software to fix thread scheduler. Linux use the AMD FX and Ryzen much better than windows and RPCS3 run better even in some times that the performance is similar to windows because not has drop in performance that happen when windows is trying start an task not need to run RPCS3 and thus RPCS3 drop FPS.
Even MAME run more fast in Linux being more of 10 % emulation speed.

The only problem even is that Linux use mainly OpenGL and was an big luck that Vulkan was released. GPU cards are designed mainly for DirectX, but now with Vulkan was an big step to Linux reach better graphics performance than using OpenGL.

If you wait information about the problem see the text in
https://bitsum.com/portfolio/coreprio/
You to do an test in Linux and if the result not has performance issues open an report about it.

@AniLeo AniLeo changed the title Sonic Unleashed Lost Massive Performance Regression: Sonic Unleashed lost massive performance (#8888) Jan 26, 2021
@Xcedf
Copy link

Xcedf commented Jan 11, 2022

First of all TSX is not affected by regression, but since there much more people out there are non-TSX decided to do this one.
still a regression on recent master, but did a revert for PUTTLUC 9c88c36
and here's the results
master build (TSX disabled)
15
master build+non-accurate PUTTLUC (TSX disabled)
14
and just for reference TSX Enabled
13

also nocited difference in SPU Test
master build (TSX disabled)
SPU Test v1.1.2 by GalCiv
SPU Task Avalanche completed in 4808 ms (PS3: 2740 ms)
PPU/SPU Ping-Pong completed in 2124 ms (PS3: 3045 ms)
SPU MFC 64 Bits War completed in 4133 ms (PS3: 3370 ms)
PPU/SPU MFC 64 Bits War completed in 4959 ms (PS3: 4443 ms)
SPU Integer Perf completed in 1961 ms (PS3: 8666 ms)
SPU Float Perf completed in 479 ms (PS3: 2379 ms)
SPU SpinLock completed in 3355 ms (PS3: 4409 ms)
PUTLLUC Perf completed in 9208 ms (PS3: 3853 ms) - an atrocity!!!
PUTLLC Perf completed in 1767 ms (PS3: 3364 ms)
PUT Perf completed in 986 ms (PS3: 3984 ms)
Large PUT Perf completed in 1344 ms (PS3: 4454 ms)
--Completed 11 tests in 35127 ms--

master build+non-accurate PUTTLUC (TSX disabled)
SPU Test v1.1.2 by GalCiv
SPU Task Avalanche completed in 4812 ms (PS3: 2740 ms)
PPU/SPU Ping-Pong completed in 2063 ms (PS3: 3045 ms)
SPU MFC 64 Bits War completed in 4082 ms (PS3: 3370 ms)
PPU/SPU MFC 64 Bits War completed in 4869 ms (PS3: 4443 ms)
SPU Integer Perf completed in 1962 ms (PS3: 8666 ms)
SPU Float Perf completed in 477 ms (PS3: 2379 ms)
SPU SpinLock completed in 3247 ms (PS3: 4409 ms)
PUTLLUC Perf completed in 7166 ms (PS3: 3853 ms)
PUTLLC Perf completed in 1768 ms (PS3: 3364 ms)
PUT Perf completed in 967 ms (PS3: 3984 ms)
Large PUT Perf completed in 1320 ms (PS3: 4454 ms)
--Completed 11 tests in 32736 ms--

So it will be nice to have non-accurate PUTTLUC back

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants