Project

General

Profile

Actions

Emulator Issues #7036

closed

Errors launching all games in x86 from 4.0-905 and later

Added by mushman5 about 10 years ago.

Status:
Fixed
Priority:
Urgent
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:
Fixed in:

Description

Games

All that I have tested (more info below)

What's the problem?

All games fail to launch for various reasons on x86 from Dolphin 4.0-905 and later. Details for each game are below.

What steps will reproduce the problem?

Use an x86 build of Dolphin from 4.0-905 or later and launch a game.

The Git commit which causes this is mmio-interface.
https://github.com/dolphin-emu/dolphin/commit/2a7a94387ca0e096f698c0468307bfe6b1d365d7

Which version of Dolphin used to work?

4.0-889 x86

What are your PC specifications?

Machine 1
OS: Windows Vista Home Premium SP2 x86
CPU: Intel Core i7 860 @ 2.93 GHz (no overclocking) [first-generation Core i7, Lynnfield series]
GPU: EVGA NVidia GeForce GTX 560 - 1 GB (no overclocking)

Machine 2
OS: Windows 7 Home Premium SP1 x64
CPU: Intel Core i7 740QM @ 1.73 GHz (no overclocking) [first-generation Core i7, Clarksfield series]
GPU: Stock NVidia GeForce GT 330M - 1 GB (no overclocking)

Is there any other relevant information?

Changing graphics backends does not change any behaviour. Changing CPU engines makes some game fail in a different way and does not fix the problem. Sometimes a game will fail in a different way to which I have listed, but what I have recorded should be the most consistant failure.

Here are the games I have and the errors that occur when they fail to launch. All games are PAL unless stated otherwise.

Donkey Kong Country Returns (SF8P01)
Reports unknown opcodes in GFX FIFO then hangs forever with 0 FPS. Opcodes which are reported are 0x15, 0x53, 0x65 and 0x1. Each opcode error has a bunch of extra information which I can provide by request.

Link's Crossbow Training (RZPP01)
0 FPS; hangs forever.

MadWorld (RZZP8P)
Hangs after OSD.

Mario & Sonic at the Olympic Games (RWSP8P)
0 FPS; hangs forever.

Mario Golf: Toadstall Tour (GFTP01)
GFX FIFO: Unknown Opcode errors with same opcodes as Donkey Kong Country Returns except for 0x1.

Mario Kart Wii (RMCP01)
0 FPS; hangs forever.

Mairo Kart: Double Dash (GM4P01)
DSI exception in stmw error occurs forever.

Mario Party 6 (GP6P01)
Crashes. Creates the same exception info each time.
Unhandled Exception
Code: 0xC0000005
Call stack info:
0x00000000 : ?

Mario Party 7 (GP7P01)
Same as Mario Party 6.

Mario Party 8 (RM8P01)
0 FPS; hangs forever.

Mario Power Tennis (GOMP01)
Same as Mario Golf: Toadstall Tour

Metroid Prime (GM8P01)
Same as Mario Party 6.

Metroid Prime Trilogy (R3MP01)
0 FPS; hangs forever.

MX Superfly (GSVP78)
Same as Mario Party 6.

New Super Mario Bros. Wii (SMNP01)
0 FPS; hangs forever.

Need For Speed: Hot Pursuit 2 (GH2P69)
Same as Mario Party 6.

Paper Mario: The Thousand Year Door (G8MP01)
Same as Mario Party 6.

Red Steel (REDP41)
0 FPS; hangs forever.

Red Steel 2 (RD2X41)
GFX FIFO: Unkown Opcode errors for 0x37, 0x70, 0x9, 0x7f and then crashes with the exception info:
Unhandled Exception
Code: 0xC0000005
Call stack info:
0x00000000 : ?

Resident Evil 4 Wii (RB4P08)
0 FPS; hangs forever.

Scarface: The World is Yours (RSCU7D)
GFX FIFO: Unkown Opcode errors for 0x15, 0x53, 0x35, 0x9, 0x45 and 0x79 then hangs forever with 0 FPS.

Super Smash Bros. Brawl (RSBP01)
0 FPS; hangs forever.

Sonic Colours (SNCP8P)
Screen begins to fade in before GFX Opcode error 0x7 and then hangs forever with 0 FPS.

Super Mario 64 Virtual Console [US] (NAAE01)
0 FPS; hangs forever.

Super Mario Galaxy (RMGP01)
0 FPS; hangs forever.

Super Mario Galaxy 2 (SB4P01)
Same as Mario Party 6.

Super Paper Mario (R8PP01)
0 FPS; hangs forever.

The Conduit (RCJP8P)
0 FPS; hangs forever.

House of the Dead Overkill (RHOP8P)
0 FPS; hangs forever.

The Legend of Zelda: Twilight Princess Wii (RZDP01)
0 FPS; hangs forever.

The Simpsons: Road Rage (GSPP69)
0 FPS; hangs forever.

Ty the Tasmanian Tiger (GTYP69)
Same as Mario Party 6.

Ty the Tasmanian Tiger 2 (GYTP69)
Same as Mario Party 6.

Wii Sports (RSPP01)
0 FPS; hangs forever.

Wii Sports Resort (RZTP01)
GFX FIFO: Unknown Opcodes 0x2, 0x18 and 0x43. Opcode errors occur many times and the screen will briefly flash white before switching back to black and hanging with 0 FPS.


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #7091: x86 development versions post 4.0-889 crash or hang at game load Duplicate

Actions
Actions #1

Updated by pauldacheez about 10 years ago

  • Status changed from New to Accepted
  • Regression set to Yes

I guess JMC47 doesn't test x86 builds of fancy new branches. As an apology, have a long IRC quote from when he tested mmio-interface:

delroth, Batman just exploded into polygons
when he landed on the ground
in Batman Vengeance
I just tested this game on master a few days ago
"batman exploded" you just made my day JMC47
delroth, screenshots coming
JMC47: screenshots are not useful
try it on master again plz.
I am
this is not really the kind of issues that should happen with this code.
I just played this the other day
Master is fine... let me update
I may be a few days behind
delroth, it's an issue with yor branch
doesn't happen in Master
JMC47: ok
it looks like
Batman is shrinking very quickly
and then is just a crotch
after that
:D
ok, now I kinda want screenshots
or better, an avi dump
plz
(while I build other stuff for you to test)
I'll get screenshots. Basically, moving restores him to normal, though he flickers and stuff in and out of existence
https://dl.dropboxusercontent.com/u/484730/GBVE41-2.png
https://dl.dropboxusercontent.com/u/484730/GBVE41-1.png
MaJoR1, ^ batman as a floating crotch
:D
I don't even know why I tested this game
But now I'm worried that I'm not testing other games thoroughly enough

delroth, still happens
Okay, Batman is receding into his crotch
I found a better way
to see what's happening
interesting.
it may be his cape
that is causing this
because on animations
where his cape physics are disabled
it seems to be fine
(2:07:21 PM) JMC47: Okay, Batman is receding into his crotch
can this issue be any more amazing?
It's not as awesome as the description
it's very awesome
:(
but not that awesome
okay, the game crashed

Actions #2

Updated by delroth about 10 years ago

Unless someone can give me the exact commit causing the issue I won't be able to debug this until Saturday.

Actions #3

Updated by mushmanSA about 10 years ago

How would I be able to get builds between 889 and 905? They're not availabe on Dolphin's site and I don't really know how to use Git.

Actions #4

Updated by abcanonymous12345 about 10 years ago

These type of errors aren't limited to just x86 builds.

Timesplitters Future Perfect - GameCube Game G3FE69

When trying to run this game on build (x64 4.0-905) on wards the game gives the following error:

"GFX FIFO: Unknown Opcode (0x3f)"

When clicking ok the following then comes up:

"Illegal command 3f"... along with a multitude of other codes.

This happens instantly at start up and the game fails to run. Runs perfectly on 4.0-889.

Actions #5

Updated by delroth about 10 years ago

https://github.com/dolphin-emu/dolphin/pull/95 might fix some of these issues.

Actions #6

Updated by delroth about 10 years ago

https://github.com/dolphin-emu/dolphin/pull/97 fixes a few more.

Please let me know if this issue is fixed or if some games still have boot problems caused by the mmio-interface merge.

Actions #7

Updated by mushman5 about 10 years ago

These changes makes games launch, but some when launched for the first time hung with 0 FPS, but then launched afterward. Here's the breakdown when tested on 4.0-984.

Fixed
Donkey Kong Country Returns
Mario & Sonic at the Olympic Games
Mario Party 8
Metroid Prime Trilogy
MX Superfly
New Super Mario Bros. Wii
Red Steel
Red Steel 2
Resident Evil 4 Wii Edition
Scarface: The World is Yours
Super Smash Bros. Brawl
Sonic Colours
Super Mario Galaxy
Super Mario Galaxy 2
Super Paper Mario
The Conduit
House of the Dead: Overkill
The Legend of Zelda: Twilight Princess Wii
The Simpsons: Road Rage
Ty the Tasmanian Tiger
Ty the Tasmanian Tiger 2
Wii Sports
Wii Sports Resort

Launched after First Attempt
Link's Crossbow Training
MadWorld
Mario Kart Wii

Did not Launch
Mario Golf: Toadstall Tour
Mario Kart: Double Dash
Mario Party 6
Mario Party 7
Mario Power Tennis
Metroid Prime
Need for Speed: Hot Pursuit 2
Paper Mario: The Thousand-Year Dooor
Super Mario 64 Virtual Console

All games hang with 0 FPS, but some crashed inconsistently.

Need for Speed: Hot Pursuit 2 reacted very strangely when tested. It launched correctly the first time and crashed after the EA logo with the following excpetion info.
Unhandled Exception
Code: 0xC0000005
Call stack info:
0x15DC9666 : ?

When launched a second time, I attempted to end emulation after a 0 FPS hang and received a Microsoft Visual C++ Runtime Library error. Here's a screenshot of the message: http://i.imgur.com/w7XZFBq.png

Subsequent launches either hung with 0 FPS or crashed with the exception info:
Unhandled Exception
Code: 0xC0000005
Call stack info:
0x141F3199 : ?

Finally, running with the OpenAL audio backend causes the audio to run very fast or to stutter very badly, but this is probably another issue.

Actions #8

Updated by abcanonymous123456 about 10 years ago

Thank you Delroth. Timesplitters Future Perfect is now working again on the latest x64 Dev builds.

Actions #9

Updated by delroth about 10 years ago

@mushman5: that list is from running Dolphin x86, correct?

Does it still happen on the latest Dolphin development version?

Actions #10

Updated by mushman5 about 10 years ago

Yes, that list was tested with 4.0-984 on x86.

The list is mostly consistant with 4.0-1040 (x86). I'd change the heading for the middle group to "Launches Inconsistently", as some games launch some times but not others. I don't really know what the problem could be.

Games which I could launch under my previous test which I couldn't launch this time were:
MX Superfly
The Simpsons: Road Rage
Ty the Tasmanian Tiger 2

Thank you for continuing to look into this.

Actions #11

Updated by metafalica about 10 years ago

The problem is still exist with latest 4.0-1244

Actions #12

Updated by metafalica about 10 years ago

And it's really nearly for all games. Just black screen at startup and crash if press stop button.
FPS shows as 0, but VPS as 50 and 100% speed.
I think Dolphin already had such issues in the past.

Actions #13

Updated by mushman5 about 10 years ago

The issue has actually worsened since last I tested. Now, no games will launch. They will either hang or crash. Additionally, whenever trying to change emulation state, either by pressing stop or pause emulation or closing the program, Dolphin will crash.

Tested on 4.0-1244 x86 & x64 on both machines listed in the original report.

Another issue I encountered was OpenAL failing to find a device, but I only encountered this twice and could not properly document it. I'm not sure if it is related.
Finally, I did manage to once launch a game successfully running the x86 build on my x64 machine, but could not reproduce it.

Actions #14

Updated by MayImilae about 10 years ago

Issue 7091 has been merged into this issue.

Actions #15

Updated by MayImilae about 10 years ago

  • Milestone set to Current
  • Priority set to Urgent
Actions #16

Updated by delroth about 10 years ago

shuffle2 tracked that bug to ABI issues in our x86 JIT. At this point this is not a bug in my code anymore, unassigning myself.

Actions #17

Updated by JMC4789 about 10 years ago

  • Status changed from Accepted to Fixed

Tested in build 4.0-1292 x86, this is no longer an issue.

Actions #18

Updated by mushman5 about 10 years ago

Confriming this. Thank you very much for sorting this out!

Actions #19

Updated by megadeathssss over 9 years ago

hey i have the same issue with new super mario bros.wii on 4.0.2 it has 0 fps 50vps and 100%speed but it works on 2.0 with no issues except it is very slow maybe 15 fps all other games work fine:
The Last Story
The Legend Of Zelda:Skyward Sword
Monster Hunter Tri
Disney Epic Mickey 1-2
how to train your Dragon 1-2
Super Smash Bros Brawl
Sonic and The Secret Rings
Sonic and The Black Knight
No More Heroes 2
Super Paper mario
Super Mario Galaxy 1-2
Xenoblade Chronicles
MURAMASA
Red Steel 2
S&P Successor of The Sky
Sonic Colours
Super Mario Sunshine
Megaman X COMMAND MISSION
Shadow The Hedgehog
Paper Mario 2:The Thousand Year Door
Sonic 4 Episode 1
Wii Menu 4.1
Nintendo Channel
MEGAMAN 10
MEGAMAN 9
CHRONO TRIGGER
SUPER METROID
Youtube Channel
Mii Channel
all these work fine except new super mario bros.wii

Actions

Also available in: Atom PDF