Project

General

Profile

Actions

Emulator Issues #427

closed

Pokemon Colosseum runs slow since r1607 and above

Added by montecrudo almost 16 years ago.

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

0%

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

Description

What steps will reproduce the problem?

  1. Run Dolphin
  2. Run Pokemon Colosseum

What is the expected output? What do you see instead?
A smooth play around 42 fps in titles and 21 fps ingame with my PC. DC:
350Mhz. Now I get around 29 fps in titles and poor 14 fps since r1607 with
the same PC! r1623 compile gives the same speed. DC: 230Mhz.

What version of the product are you using? On what operating system?
r1623 compile
Windows XP SP3

Please provide any additional information below.
My specs:
Athlon X2 5600+ 2.93Mhz
2 GB DDR2 800Mhz
Geforce 8800GS
500 GB SATAII

Latest drivers: NVIDIA 180.48
Latest Directx redist: December 2008

Pics
Before r1607 and above:

Titles: http://i44.tinypic.com/2lw6fkk.jpg
Ingame: http://i41.tinypic.com/2jb60s6.jpg

After r1607, using r1623 now:
Titles: http://i44.tinypic.com/1zyjyiq.jpg
Ingame: http://i44.tinypic.com/2i0q51c.jpg

Can you guys fix that, please? The game was running so great before :(


Related issues 2 (0 open2 closed)

Is duplicate of Emulator - Emulator Issues #483: Checkboxes for JIT/other optimizationsWon't fixXTra.KrazzY

Actions
Has duplicate Emulator - Emulator Issues #458: Speed hack removed in dolphinDuplicate

Actions
Actions #1

Updated by montecrudo almost 16 years ago

Ok, now it's worse. With r1640 compile, the game shows the Nintendo logo, then
returns a PANIC message:
PANIC
WriteNormalOp - a1 cannot be imm

If I press 'Si', it does nothing. If I press 'No', the emulator crashes.

Image here:
http://i41.tinypic.com/281e87r.jpg

Actions #2

Updated by magumagu9 almost 16 years ago

For the issue with r1640, could you try out r1643 or later? Hopefully that should fix it...

As for the speed regression, do you have a build environment set up? If so, would you mind tracking
down exactly which revision caused the performance regression?

Actions #3

Updated by montecrudo almost 16 years ago

I don't know how to compile the revisions, so I wait till Daco's site is updated.

The last revision that worked fine with Pokemon Colosseum was r1590. Once I started
using r1607, the game run slow. Just like r1623. I dunno, could be since r1592,
r1593, r1596, or perhaps r1605, just check what changes has been made and those ones
could be the revisions that made the game so slow.

Actions #4

Updated by montecrudo almost 16 years ago

Ok, I've downloaded the r1643 compile from omegadox. It's still not fixed.

Actions #5

Updated by magumagu9 almost 16 years ago

All right... I can't easily track down the crash issue because I don't have the game in question. A
backtrace would probably be sufficient to come up with a fix, though.

Actions #6

Updated by montecrudo almost 16 years ago

The crash was solved, but I mean the game is still slow.

Actions #7

Updated by MMMikkola almost 16 years ago

in r1593 no problems ... r1597 major slowdown.So it will be r1594-r1597

Actions #8

Updated by montecrudo almost 16 years ago

I've downloaded the version r1648. Slowdown issue still not fixed.

Actions #9

Updated by MMMikkola almost 16 years ago

1697 Slowdown issue still not fixed.

Actions #10

Updated by slink_3_ almost 16 years ago

could you test r1594 please?
It's probably the one which caused these slowdowns

here's a link (i don't have the game) : http://rapidshare.com/files/177895184/Win32.rar

Actions #11

Updated by MMMikkola almost 16 years ago

tested and runs fine an r1594 so r1595-r1597 is the cause of slowdown

Actions #12

Updated by montecrudo almost 16 years ago

Tried r1713. Slowdown still not fixed. Guess I'm gonna keep with r1590 forever.

Actions #13

Updated by slink_3_ almost 16 years ago

ok, so let's get this fixed, try r1596 :

http://rapidshare.com/files/178593073/Win32.rar

so we can exactly know which rev between these two, caused the slowndowns :)

Actions #14

Updated by MMMikkola almost 16 years ago

tested and r1596 runs slow so r1595-r1596 is the cause of slowdown

Actions #15

Updated by montecrudo almost 16 years ago

Tried r1596. The game gets stuck in the Pokemon Company logo.

Actions #16

Updated by MMMikkola almost 16 years ago

put hle bios allthetime on .... then it wont get stuck

Actions #17

Updated by magumagu9 almost 16 years ago

  •           jo.enableBlocklink = true;  // Speed boost, but not 100% safe
    
  •           jo.enableBlocklink = false;  // Speed boost, but not 100% safe
    

This change seems like the most likely suspect... I somehow doubt it's making such a big difference,
though...

Actions #18

Updated by MMMikkola almost 16 years ago

it is about 30% slower after r1594 including ongame+menu+video on my AMD X2 6000+ &
radeon hd2600pro,2gig/ XP sp3&Vista SP1

Actions #19

Updated by slink_3_ almost 16 years ago

so r1596 is to blame i guess, as it's probably not r1595

per haps try to revert the line hinted by magumagu9 in the latest revs to this if it
effectively boost the framerate ?

Actions #20

Updated by montecrudo almost 16 years ago

Tried r1727. Nope, the slowdown is not fixed yet, and worse, again the emulator
doesn't seem to generate or save my config options.

Actions #21

Updated by montecrudo almost 16 years ago

Tried r1804. Slowdown still not fixed.

Actions #22

Updated by montecrudo almost 16 years ago

Tried r1813, but slowdown is not fixed yet. You guys should try if the problem is
the HLE audio plugin.

Actions #23

Updated by MMMikkola almost 16 years ago

Tried r1826 slowdown is not fixed ... cant you really fix that annoying BUG ???

Actions #24

Updated by MMMikkola almost 16 years ago

hrydgard check your chances in r1595 - r1596 the bug is there.

Actions #25

Updated by montecrudo almost 16 years ago

Tried r1842. Nope, not fixed. It's official: The bug will stay forever, just like
the panic message in the Animaniacs game.

Actions #26

Updated by MMMikkola almost 16 years ago

...yep if they mess code they dont bother fix it.

Actions #27

Updated by alan almost 16 years ago

montecrudo, MMMikkola: did either of you two try the change that magumagu9 described above?

  •           jo.enableBlocklink = true;  // Speed boost, but not 100% safe
    
  •           jo.enableBlocklink = false;  // Speed boost, but not 100% safe
    

You never gave any feedback about this, how about trying it and seeing if it makes a
difference. If you're not willing to try that and give feedback, I'd just give it time; This
issue isn't disappearing from the issue list any time soon, so it's not going to be ignored.
It might be a case that the devs don't own this game, or maybe it's not even that high of a
priority as it's an issue with a specific game. I haven't seen any "official" notice about
this bug not being fixed either.

Actions #28

Updated by MMMikkola almost 16 years ago

cant compile it myself ...but make u changes and compile.i gladly download it

Actions #29

Updated by alan almost 16 years ago

OK. I've made the change to the latest revision, r1844. Lets see if magumagu9 is
right...
http://www.armedpineapple.co.uk/r1844-Win32.rar
http://www.armedpineapple.co.uk/r1844-x64.rar

Actions #30

Updated by MMMikkola almost 16 years ago

tested your compile and now it runs as fast as pre r1596 :) thanks

Actions #31

Updated by MMMikkola almost 16 years ago

...and smash bros melee runs lot faster too with these...

Actions #32

Updated by slink_3_ almost 16 years ago

Nice :)
btw, i totally forgot to upload the fixed binaries, i'm sorry that took one week to
solve :p

Actions #33

Updated by XTra.KrazzY almost 16 years ago

  • Status changed from New to Fixed

It's good to see problems being solved. Fixed as this is not a safe optimization

Actions #34

Updated by slink_3_ almost 16 years ago

which are the cases known to cause problems ?
bear in mind that we're talking about +50% speed, it's important enough to care about :/

Actions #35

Updated by montecrudo almost 16 years ago

OMG! At last! I'm gonna test this right away!

Actions #36

Updated by montecrudo almost 16 years ago

OMG! OMG! Thank you! Thank you! Thank you! It's faster than ever! I couldn't enjoy
Super Smash Bros Melee since r1062 (last revision till weird slowdown)!! And
finally, Pokemon Colosseum runs sooo smooth and stable it nearly matches a real
Gamecube's speed (well, to me it is)!!

Actions #37

Updated by MMMikkola almost 16 years ago

i think that every game benefits these. paper mario is too 20% faster at me with
these compile

Actions #38

Updated by MMMikkola almost 16 years ago

Is possible to put this 'fix' to the options, so i can can put it on if i like ???

Actions #39

Updated by MMMikkola almost 16 years ago

r1854 ... still slow

Actions #40

Updated by alan almost 16 years ago

I don't think 'fixed' is the correct status for this issue. Yes, the problem has been
located, but no attempt at solving the problem has been made. I'm not quite sure what
it's meant to do either and I don't know why this unsafe optimization is enabled when
it seems to have such a negative effect on this many games. It certainly doesn't seem
to provide the 'speed boost' stated in the comment. Maybe a way to enable/disable
without having to recompile it?

Actions #41

Updated by XTra.KrazzY almost 16 years ago

The problem derives from the fact that the emulator used to be fast, but it was due
to an unsafe optimization being disabled by default. A checkbox for this optimization
(and probably many others you don't know about) should be added, but that's an
entirely different issue which I'm going to add.

Actions #42

Updated by XTra.KrazzY almost 16 years ago

Issue 458 has been merged into this issue.

Actions #43

Updated by XTra.KrazzY almost 16 years ago

  • Status changed from Fixed to Duplicate

Done ;)

Actions #44

Updated by montecrudo almost 16 years ago

Yes, please, someone from the staff add that checkbox in next releases. It should be
useful for those games which run slow without that speed hack.

Actions #45

Updated by zhenyaZhukova almost 16 years ago

Very useful files search engine. Indexoffiles.com
is a search engine designed to search files in various file sharing and
uploading sites

Actions #46

Updated by montecrudo almost 16 years ago

Tried r1882 from Xtremedamax compile. It's running slow again. I've checked the
speedhack (or block linking algorithm, as you guys call it) is still deactivated,
which causes this issue.

Look, the only thing that I've noticed this speedhack is 'unstable' for the games,
ie. in Pokemon Colosseum, after a while, there is an error message that pops up from
nowhere, and pauses the game, but if I press the 'Escape' button from the keyboard,
the error message is gone and the game continues and the emulator won't crash.
Posting image soon.

Actions #47

Updated by montecrudo almost 16 years ago

Here, this is the only 'issue' the blocklinking algorithm gives while I'm playing
Pokemon Colosseum:

http://i39.tinypic.com/2d18bye.jpg

But then, I press the 'Escape' button on the keyboard, and the game continues:

http://i43.tinypic.com/34fcv0z.jpg

It's ok now, I've been doing my own compiles lately, and I enabled the speedhack
myself. If anyone wants a compile, just send me an email asking me for it.

Actions

Also available in: Atom PDF