Project

General

Profile

Actions

Emulator Issues #6472

closed

Strange performance issues on powerful hardware with OGL

Added by jmuehldorfer over 10 years ago.

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

0%

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

Description

Have you searched the issue tracker for a similar issue?
Yes

Game Name?
Mario Kart Wii
Mario Kart Double Dash
maybe more

Game ID?
RMCP01
GM4P01

What went wrong?
The framerate suddenly drops to ~30fps in games that the hardware can
usually run flawless.
Either more permanently or as a small micro-lag

What did you expect to happen?
50/60fps all the time

What steps will reproduce the problem?
Hard to say.
What always worked:
Starting Mario Kart Wii on my Hardware. PAL as well as NTSC

What version of Dolphin were you using (please test the latest version
from http://dolphin-emu.org/download first, 3.5 or 3.5-367 are not valid
tests!)?
3.5-1727

64 or 32 bit Dolphin?
64

What version of Dolphin used to work?
3.5-1201
3.5-1727 modified (see description following)

What Operating System were you using and what are your hardware
specifications?
Ubuntu 13.04 x64
Intel I7-4770k (tested with and without HT)
Nvidia GTX 660 with proprietary 313 drivers

Any other relevant information or links to logs:
This issue is a little hard to track down.

I had massive performance problems with Mario Kart Wii and the Mario Kart Double Dash Ice World.

Mario Kart Wii always ran at 30fps in OGL, no matter what I did.
That included:

  • All graphics settings tested (reset config)
  • Limit by FPS/Audio/Off
  • Use builds from the official site or my own
  • Turn off Hyperthreading in UEFI
  • Turn off Vsync systemwide
  • Use nouveau (bad luck, black picture. not tested)

Mario Kart Double dash sometimes "flipped" between 30fps and 60fps on this very map. (The framecounter sometimes gives me a medium value in between, but then there are some seconds where it is fixed at 30fps. So I suspect it is 30fps and 60fps)

Then I started trying old revisions. I found that 1201 still worked flawless with Mario Kart Wii. So I reverted commit "ogl: one framebuffer per efb2tex texture" (revision 3897e1959e0b) on my local code copy if 1727 and it started working as well with 1727, perfect 60fps with only tiny microlags (not disturbing).

Then I tested Mario Kart Double Dash again and it was a lot better, too. Some tiny micro lags were left where it looked like it dropped the performance for around 1 second.

I also noticed this issue with other games, but I can not judge if it is the same issue.
For example Mario Party 7 and F Zero GX also "flipped" between 30fps and 60fps.
F Zero GX seems to randomly have phases of slow and fast.
In Mario Party 7 the opening scene of Windmill-vill was at laggy 30fps, but reverting the code also got that running at 50fps (PAL) as expected.
F Zero GX is still a mess, even after my hack.

Zelda Wind Waker and others always ran perfectly.
None of the issues is present on DX9 on Windows 7.

The issue might not be a issue great to track down, but I hope there is some simple solution to it. I will help with tests any time.

Actions

Also available in: Atom PDF