Project

General

Profile

Actions

Emulator Issues #7438

closed

81842bc4d4bf0987bcca68ca5eab12da9b31bdd5 causes MAJOR performance reducement on AMD cards

Added by florian98.rg almost 10 years ago.

Status:
Fixed
Priority:
Urgent
Assignee:
Category:
GFX
% Done:

0%

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

Description

Game Name?
Any

Game ID?
Any

What's the problem? Describe what went wrong in few words.

Before 4.0-1778, the OpenGL Plugin was the fastest for AMD cards.
After 4.0-1778 however, the OpenGL plugin was slown down to half of it's performance before 4.0-1778.

What did you expect to happen instead?

Performance from 4.0-1776.

What steps will reproduce the problem?
[Don't assume we have ever played the game and know any level names. Be as
specific as possible.]

  1. Own an AMD card
  2. Use latest driver
  3. Try to use the OpenGL plugin, you'll notice it's way slower than D3D

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?

4.0-1776 and 4.0-1778

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?

Anything before 4.0-1778

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)

Intel Core i5 4670k @4.4Ghz
ASUS AMD HD7970
Corsair Vengeance 8GB RAM
MSI Z87 G45 Motherboard
Windows 8.1 64-bit

Are you using the 32 or the 64 bit version of Dolphin?

64-bit (shouldn't this question be removed :P)

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

While this does speedup nvidia cards, it reduces AMD cards to half the performance.

Actions #1

Updated by JMC4789 almost 10 years ago

  • Priority set to Urgent
  • Category set to gfx
  • Relates to performance set to Yes

That's not good. Thanks for pointing this out. 4.0-1778 > https://dolphin-emu.org/download/dev/81842bc4d4bf0987bcca68ca5eab12da9b31bdd5/

I'll double check with my Radeon, if it happens here too, I'll accept this. I don't think it'll be too hard to just enable it for AMD cards. Thanks.

Actions #2

Updated by JMC4789 almost 10 years ago

  • Status changed from New to Accepted

Confirmed.

Actions #3

Updated by MayImilae almost 10 years ago

  • Milestone set to Current
Actions #4

Updated by JMC4789 almost 10 years ago

So, using Pinned Memory on AMD cards seems to be about 3 fps faster than buffer storage, even when it's working properly. I thought this was an anomaly, but definitely confirmed it after repeated runs.

Actions #5

Updated by JMC4789 almost 10 years ago

Can you test this build and tell me how performance is? https://dl.dolphin-emu.org/prs/pr-555-dolphin-latest-x64.7z

Actions #6

Updated by florian98.rg almost 10 years ago

Thanks for fixing this, JMC

Actions #8

Updated by JMC4789 almost 10 years ago

Fixed by 4.0-2010 -> https://dolphin-emu.org/download/dev/7035e5e4fb6171526890cd61e184d5e1bbf216a0/

Also, sonicadvance1 pointed me to where the code was and gave me the idea; I just committed it all and did testing.

Actions

Also available in: Atom PDF