Project

General

Profile

Actions

Emulator Issues #6687

closed

Metroid Prime 1: Slow OpenGL Refractions

Added by lucasout over 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
GFX
% 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

Game Name?
Metroid Prime

What went wrong?
Refraction slowdown

What did you expect to happen instead?
No slowdowns

What steps will reproduce the problem?

  1. Get to Tallon Overworld and look up. The rain droplets on the visor cause massive slowdown.

Which versions of Dolphin did you test on?
4.0.46

What are your PC specifications (example: Operating System, CPU and GPU)?
i5 3570k
GeForce 660ti
nvidia drivers 319.32

64 or 32 bit Operating System?
64bit fedora 19

64 or 32 bit Dolphin?
64

Obs: I searched for this issue on the bugtracker and found nothing, but the wiki page states that this bug only happens on the OpenGL backend. Any documentation exists to start addressing this issue?


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #7003: Metroid Prime 2 Echoes - Severe refraction slowdown in torvus bog regionDuplicate

Actions
Actions #1

Updated by MayImilae over 10 years ago

  • Status changed from New to Accepted
  • Category set to gfx
  • Relates to performance set to Yes

Well known, and happens in other games as well. But no one bothered to make a report cause it was just a performance quirk. Generally it isn't a problem... except for the Ridley fight. Flying enemy + raining = pain in the ass. This is definitely an issue for Linux users who can't jump to Direct3D to avoid this.

The best way to reproduce this is the method the OP describes. Load the below GCI (top save) and look up.

GM8E01 GCI - http://www.mediafire.com/?h5bx0rf2xha9rkm

Or you can just use this fifolog. From my testing, the fifolog has the same framerates that I witnessed while testing it. Around 27fps on a 4.7ghz 3570K. I have a hunch that everyone else will get a similar framerate regardless of performance.

Fifolog - http://www.mediafire.com/?8ilj94bmqubpyqv

Actions #2

Updated by lucasout over 10 years ago

Metroid Prime 1 via Metroid Prime Trilogy has the same problem.

Actions #3

Updated by JMC4789 over 10 years ago

This should be fixed in latest master. I'm testing and on previous builds I drop to 30 fps, but on latest build I still stay at 140 fps.

Actions #4

Updated by JMC4789 over 10 years ago

I'm sorry, I didn't put the revision that fixed this for me, https://dolphin-emu.org/download/dev/6cece6b486670dd149c827053a84754c98397ccc/

4.0-315 of the master branch. Creates a native texture pool.

Actions #5

Updated by autofire372 over 10 years ago

Confirming that the issue seems to be fixed. I just loaded up Prime and ran around Landing Site, and experienced no slowdown attributable to refraction rendering.

Actions #6

Updated by JMC4789 over 10 years ago

This issue was fixed for a while, but the build that fixed it reverted. Heavily encouraging people who are playing this game to use builds before Native Texture Pool was reverted to use it until a more workable solution is finished.

Actions #7

Updated by NeoBrainX over 10 years ago

  • Status changed from Accepted to Accepted

We don't actually have the OnHold status anymore => back to accepted.

Actions #8

Updated by JMC4789 over 10 years ago

Issue 7003 has been merged into this issue.

Actions #9

Updated by JMC4789 over 10 years ago

Issue 7003 has been merged into this issue.

Actions #10

Updated by JMC4789 over 9 years ago

  • Status changed from Accepted to Fixed
Actions #11

Updated by Autoran1 over 9 years ago

Still not as fast as D3D, but a lot faster now, quite playable even with high IR
Thanks a lot

Actions #12

Updated by havord86 over 9 years ago

Thanks for optimising this guys! Prime 2 is much slicker now :)!

Actions

Also available in: Atom PDF