Project

General

Profile

Emulator Issues #9792

Low performance or crashes when using Gecko codes

Added by OMEGA345 about 3 years ago. Updated about 3 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.]

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

Related issues

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

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

History

#1 Updated by OMEGA345 about 3 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"

#3 Updated by OMEGA345 about 3 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. :)

#4 Updated by JosJuice about 3 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

#5 Updated by OMEGA345 about 3 years ago

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

#6 Updated by OMEGA345 about 3 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.

#7 Updated by mimimi about 3 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.

J´╗┐osJuice said "as long as Gecko codes are disabled". So what happens when you disable cheats?

#8 Updated by OMEGA345 about 3 years ago

Disabled cheats, and it is working!
:-)

#9 Updated by JosJuice about 3 years ago

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

#10 Updated by mstreurman about 3 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...

#11 Updated by JMC4789 about 3 years ago

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

#12 Updated by OMEGA345 about 3 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.

#13 Updated by JosJuice about 3 years ago

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

#14 Updated by mstreurman about 3 years ago

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

#15 Updated by JosJuice about 3 years ago

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

#16 Updated by Korados about 3 years ago

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

#17 Updated by Korados about 3 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!

#18 Updated by JosJuice about 3 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.

#19 Updated by Korados about 3 years ago

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

#20 Updated by JosJuice about 3 years ago

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

Apparently I typoed the regression start version before...

#21 Updated by Rena about 3 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?

#22 Updated by OMEGA345 about 3 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!

#23 Updated by Korados about 3 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?

#24 Updated by OMEGA345 about 3 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.

#25 Updated by JosJuice about 3 years ago

FIFO logs aren't useful for CPU emulation issues.

#26 Updated by OMEGA345 about 3 years ago

JosJuice wrote:

FIFO logs aren't useful for CPU emulation issues.

Alright.

#27 Updated by JosJuice about 3 years ago

#29 Updated by Korados about 3 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.

#30 Updated by JMC4789 about 3 years ago

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

#31 Updated by JosJuice about 3 years ago

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

#32 Updated by OMEGA345 about 3 years ago

So gecko codes will be deleted instead of fixed?

#33 Updated by JosJuice about 3 years ago

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

#34 Updated by JMC4789 about 3 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.

#35 Updated by OMEGA345 about 3 years ago

Ohhh my bad i read wrong. Thanks Guy!

Also available in: Atom PDF