Project

General

Profile

Actions

Emulator Issues #12157

closed

Dolphin 5.0-12036 (PR #8767) causes huge fps slowdown in every game

Added by markwest76 almost 4 years ago. Updated almost 4 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Current
Regression:
Yes
Relates to usability:
No
Relates to performance:
Yes
Easy:
No
Relates to maintainability:
No
Regression start:
5.0-12036
Fixed in:
5.0-12247

Description

Game Name?

Every game (tested mostly Super Mario Galaxy - RMGP01)

Game ID? (right click the game in the game list, Properties, Info tab)

Every game (tested mostly Super Mario Galaxy - RMGP01)

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

1d5366a8ee435132eab67e6f48352e3d

What's the problem? Describe what went wrong.

Dolphin 5.0-12036 (PR #8767) https://github.com/dolphin-emu/dolphin/pull/8767 causes huge fps slowdown in every game (as you can see in the images below, in SMG the slowdown is about 35%, from 205% speed to 170%)

What steps will reproduce the problem?

[Reproduction steps here]

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

yes 5.0-12141

Is the issue present in the latest stable version?

No

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

First broken version 5.0-12036

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

What are your PC specifications? (CPU, GPU, Operating System, more)

Windows 10
Intel i7 7700
Nvidia RTX 2060 super

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

as you can see Dolphin 5.0-12036 causes a loss of more than 35% of fps in SMS and other games are affected as well...


Files

12031.jpg (409 KB) 12031.jpg markwest76, 06/17/2020 11:12 AM
12036.jpg (411 KB) 12036.jpg markwest76, 06/17/2020 11:12 AM
12031_laststory.jpg (307 KB) 12031_laststory.jpg markwest76, 06/17/2020 07:20 PM
12036laststory.jpg (307 KB) 12036laststory.jpg markwest76, 06/17/2020 07:20 PM
Actions #1

Updated by JosJuice almost 4 years ago

  • Milestone set to Current
  • Regression changed from No to Yes
  • Relates to performance changed from No to Yes
  • Regression start set to 5.0-12036
Actions #2

Updated by iwubcode almost 4 years ago

Can you please give some steps on how you reproduce this?

Are you using freelook at all or are you just running the game normally? Are you running without vsync?

I am pretty confident I know what the issue is and have fixed it in my later PRs but want to confirm via some testing.

Actions #3

Updated by markwest76 almost 4 years ago

No, I'm not using freelook (it's disabled); I just load and play the game normally at 3x IR (1920x1584) - 1080p, no anti aliasing, AF 1x and no vsync

Actions #4

Updated by iwubcode almost 4 years ago

markwest76 wrote:

No, I'm not using freelook (it's disabled); I just load and play the game normally at 3x IR (1920x1584) - 1080p, no anti aliasing, AF 1x and no vsync

Thanks for the steps. My machine never goes above 60fps when running with no vsync, so it's hard for me to reproduce. Can you check https://github.com/dolphin-emu/dolphin/pull/8883 to see if it fixes your issue?

Actions #5

Updated by markwest76 almost 4 years ago

Unfortunately PR8883 doesn't fix the problem, max speed is the same (near 170%)

P.S. seems strange to me that you can't get above 60 fps (unless you have a somewhat old PC); anyway with vsync on or off I get the same speed (170%) when I use TAB key to disable emulator speed (limit)

Actions #6

Updated by iwubcode almost 4 years ago

markwest76 wrote:

Unfortunately PR8883 doesn't fix the problem, max speed is the same (near 170%)

P.S. seems strange to me that you can't get above 60 fps (unless you have a somewhat old PC); anyway with vsync on or off I get the same speed (170%) when I use TAB key to disable emulator speed (limit)

Thanks. I was not using the disable emulation speed toggle :)

I'm using a different game (opening of "The Last Story") but having issues reproducing your problem. I ran the following:

  • 5.0-12031 - ~110 FPS
  • 5.0-12036 - ~110 FPS

I used the exact same settings in both builds.

Would you be able to provide a small fifolog of the issue you are seeing?

Updated by markwest76 almost 4 years ago

On my system "The Last Story" is even worse than SMG (using Direct3d; Vulkan instead seems to be less affected)

5.0-12031 (Direct3d) - ~110 FPS
5.0-12036 (Direct3d) - ~ 82 FPS

5.0-12031 (Vulkan) - ~110 FPS
5.0-12036 (Vulkan) - ~100 FPS

Actions #8

Updated by markwest76 almost 4 years ago

Here's the Fifo logs for SMG with 5.0-12031 and 5.0-12036 both with speed limiter set at 200%

https://www.dropbox.com/s/p4tj0klunvzhalf/12031fifolog.zip?dl=0

https://www.dropbox.com/s/j6odu1enyh5h2pi/12036fifolog.zip?dl=0

Actions #9

Updated by JMC4789 almost 4 years ago

I see some minor differences in performance but it seems to fluctuate a lot and I'm not sure if this is just some kind of placebo or I'm seeing numbers where there aren't any.

I'd love to see a situation/game where I can see a huge difference consistently.

Actions #10

Updated by iwubcode almost 4 years ago

markwest76 wrote:

Here's the Fifo logs for SMG with 5.0-12031 and 5.0-12036 both with speed limiter set at 200%

https://www.dropbox.com/s/p4tj0klunvzhalf/12031fifolog.zip?dl=0

https://www.dropbox.com/s/j6odu1enyh5h2pi/12036fifolog.zip?dl=0

Thank you for the fifologs. Please try https://github.com/dolphin-emu/dolphin/pull/8884 to see if it fixes your issue.

Actions #11

Updated by markwest76 almost 4 years ago

Yes, 8884 fixes the issue
Thanks

Actions #12

Updated by markwest76 almost 4 years ago

Now that PR8884 has been merged, you can close this issue (btw I don't understand why I don't have such option, but anyway...)

Actions #13

Updated by JosJuice almost 4 years ago

  • Status changed from New to Fixed
  • Fixed in set to 5.0-12247
Actions

Also available in: Atom PDF