Project

General

Profile

Actions

Emulator Issues #9792

closed

Low performance or crashes when using Gecko codes

Added by OMEGA345 over 7 years ago. Updated over 7 years ago.

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

0%

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

Description

Game Name?

[Any Wii Title]

Game ID? (right click the game in the game list, properties, info tab)

[Any Wii Title]

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

[Any]

What's the problem? Describe what went wrong.

[After Updating to the latest version 5.0 - 632, Dolphin no longer plays Wii titles properly. It will do a max of 0-7fps hang or crash Dolphin Emulator, or I will need to force an "end tanks."]

What steps will reproduce the problem?

[Run the Emulator, Select a Wii Title.]

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

[These are the version in which the issue begins... 5.0-619/622/624/626/63. Any versions below 619 so such as... 615 and older works fine.]

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

[Intel i7 2600K
16GB Ram
Nvidia GTX 770 2GB (latest drivers 372.70)
Windows 7 64-bit]

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

[All GameCube titles work fine at max fps and speeds, even with HD textures. It appears to only effect Wii Games.Titles I've tested were Zelda SS, Mario Galaxy 1-2, and NSMB, Metroid other M, Twilight Princess.]


Files

fifo.dff (95.9 KB) fifo.dff OMEGA345, 09/25/2016 12:12 PM

Related issues 2 (0 open2 closed)

Has duplicate Emulator - Emulator Issues #9799: [Linux] Emulator Window updating *very* slowly (~1 frame/minute)Duplicate

Actions
Has duplicate Emulator - Emulator Issues #9810: 5.0-619 breaks Super Smash Bros. BrawlDuplicate

Actions
Actions #1

Updated by OMEGA345 over 7 years ago

My settings.

OpenGL
2560x1440
AR auto

IR 4x native
AA 4x
PPE off
Scaled efb copy ticked
Forced texture filtering ticked

Ignore format changed ticked
Store EFB copies to texture only ticked
EFB Disabled ticked
Accuracy Texture Cache "Safe"

Actions #3

Updated by OMEGA345 over 7 years ago

JosJuice wrote:

Does it work in this PR build? http://dl.dolphin-emu.org/prs/pr-4216-dolphin-latest-x64.7z

Just tried, Yes it runs Wii titles fine as it should. :)

Actions #4

Updated by JosJuice over 7 years ago

  • Status changed from New to Fix pending
  • Priority changed from Normal to High
  • Milestone set to Current
  • Regression changed from No to Yes
  • Regression start set to 4.0-619

Okay, nice. For now, it should work in regular development builds as long as Gecko codes are disabled.

Fixed in PR: https://github.com/dolphin-emu/dolphin/pull/4216

Actions #5

Updated by OMEGA345 over 7 years ago

You mean this 619 built, or the one on the dolphin 5.0-633 latest built?

Actions #6

Updated by OMEGA345 over 7 years ago

Just tried 5.0-633, and the issue is still there for me. Max 2FPS It will lag the Emulator too and i have to force it closed.

Actions #7

Updated by mimimi over 7 years ago

OMEGA345 wrote:

Just tried 5.0-633, and the issue is still there for me. Max 2FPS It will lag the Emulator too and i have to force it closed.

JosJuice said "as long as Gecko codes are disabled". So what happens when you disable cheats?

Actions #8

Updated by OMEGA345 over 7 years ago

Disabled cheats, and it is working!
:-)

Actions #9

Updated by JosJuice over 7 years ago

  • Subject changed from Dolphin Wii Titles 0-7fps or Crash Dolphin to Low performance or crashes when using Gecko codes
Actions #10

Updated by mstreurman over 7 years ago

I noticed this last weekend when trying to play Ocarina of time as well. It seems that, when Gecko codes are used, Dolphin will fall back to Interpertor DC...

Actions #11

Updated by JMC4789 over 7 years ago

It'll be fixed once the pull request is built. Hang tight.

Actions #12

Updated by OMEGA345 over 7 years ago

mstreurman wrote:

I noticed this last weekend when trying to play Ocarina of time as well. It seems that, when Gecko codes are used, Dolphin will fall back to Interpertor DC...

Glad I'am not the only one having this issue. JMC4789 I wish they would fix the cheat system issues for once and for all. It's a long time due. Those "trigger" codes.

Actions #13

Updated by JosJuice over 7 years ago

  • Has duplicate Emulator Issues #9799: [Linux] Emulator Window updating *very* slowly (~1 frame/minute) added
Actions #14

Updated by mstreurman over 7 years ago

Just a question: what is holding the PR back to be merged?

Actions #15

Updated by JosJuice over 7 years ago

We just need to find someone who's willing to review it.

Actions #16

Updated by Korados over 7 years ago

I'm glad that this was fixed so fast. I'm hope the PR will go through soon!

Actions #17

Updated by Korados over 7 years ago

Uhm... I went to Reviewable and reviewed the files, I hope that's okay. All other checks
already passed, so someone just had to click on Review, right? I hope I didn't do something wrong!

Actions #18

Updated by JosJuice over 7 years ago

Reviewing is not to "just click on Review", it's to read through the whole code and understand the implications of the changes. It's unlikely that your review will be treated as a valid review, because you're not a known developer around here. Anyway, even though it might not have been the right way to go, I don't think it will cause any problems.

Actions #19

Updated by Korados over 7 years ago

I'm sorry, I just wanted to help. Okay, I won't do that again!

Actions #20

Updated by JosJuice over 7 years ago

  • Regression start changed from 4.0-619 to 5.0-619

Apparently I typoed the regression start version before...

Actions #21

Updated by Rena over 7 years ago

The same issue exists for Gamecube. Use the 16:9 Hack code in Double Dash (USA):

043CBE08 3FE38E39
043CBE0C 40649373

Speed drops from 60 to 2 FPS. In 4.0 it worked fine. With cheats disabled, or enabled but no cheats selected, it runs full speed.

I wonder if this is because the cheat is writing to an instruction each frame, preventing JIT from working?

Actions #22

Updated by OMEGA345 over 7 years ago

Rena, you are right. I didn't think to test GameCube games with cheats.. Enabling the cheats...

All my gamecube titles are doing the same slow down lag, 2-7fps
All my wii games are doing the same issues

However on 615 everything is perfect!

I tried the latest 664, and not using any cheats the problem is gone. So it is something wrong here with the cheat system once again. I hope someone can actually work on this issue its been long time need to fix!

Actions #23

Updated by Korados over 7 years ago

I tried a few Gamecube games with cheats but I didn't have any problems so far.
Was it only that one code that didn't work?

Actions #24

Updated by OMEGA345 over 7 years ago

Korados wrote:

I tried a few Gamecube games with cheats but I didn't have any problems so far.
Was it only that one code that didn't work?

No didn't matter which game/gecko code used. it seems to only effect when a Gecko code is used.
I sent a FIFO.dff if it helps. This was a GC title Mario Sun Shine Usa. If need a Wii one let me know.

Thanks.

Actions #25

Updated by JosJuice over 7 years ago

FIFO logs aren't useful for CPU emulation issues.

Actions #26

Updated by OMEGA345 over 7 years ago

JosJuice wrote:

FIFO logs aren't useful for CPU emulation issues.

Alright.

Actions #27

Updated by JosJuice over 7 years ago

Actions #29

Updated by Korados over 7 years ago

I tested some button-activated Gecko Codes and they don't work. So issue #7743 still applies.
I don't know if the devs wanted to change this in the first place, but I saw that they spoke about making the Gecko Codes
behave like on a real Wii.

Actions #30

Updated by JMC4789 over 7 years ago

It was decided to just fix the regression for now, and do a rewrite fixing Gecko Codes that don't work now.

Actions #31

Updated by JosJuice over 7 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-845
Actions #32

Updated by OMEGA345 over 7 years ago

So gecko codes will be deleted instead of fixed?

Actions #33

Updated by JosJuice over 7 years ago

No...? I don't know where you got that from.

Actions #34

Updated by JMC4789 over 7 years ago

I meant the button codes not working. We have a lead on them now, but decided to fix the existing code handling instead of rewriting it right now.

Actions #35

Updated by OMEGA345 over 7 years ago

Ohhh my bad i read wrong. Thanks Guy!

Actions

Also available in: Atom PDF