Project

General

Profile

Actions

Emulator Issues #2982

closed

Vsync causes stability problems when Dual Core is enabled (affects multiple games).

Added by wespipes69 over 14 years ago.

Status:
Fixed
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. Enable Dual Core & Vsync
  2. Launch game (confirmed in F-Zero & Sega All-Star Racing)

What is the expected output? What do you see instead?
-Sega Racing hangs as it loads into gameplay.
-F-Zero will eventually hang in gameplay after an indeterminate amount of time.
-Other games have not been confirmed, but I'm sure these results can be found in other titles.

Important Note:
EFB>Ram enabled also causes F-Zero to hang when Dual Core is enabled. This is confirmed on at least Mission 3 in Story Mode. So if DC is being used and either Vsync or EFB>Ram is enabled (or both), then the game will crash on this level (unknown if there's more like this).

Dolphin version with the problem? Other Dolphin version without the
problem?
This has been an issue for quite a while it looks like - going back to at least r5768 (current 5991).

32-bit or 64-bit and any other build parameters?
64bit JIT (or IL), this occurs on both OpenGL& DX9.

OS version and versions of tools/libraries used?
Win 7 64 bit.

Please provide any additional information below.
--These 2 aforementioned games have a couple things in common - they both are racing games and use EFB>Ram -(Sega Racing in menus and F-Zero in gameplay for shadows).

--Using Single Core with Vsync & EFB>Ram active never causes a hang

--Please try out for yourself and confirm. I spent 5 hours on this issue, launching these games hundreds of times, trying every combination of settings possible, and verifying my discoveries numerous times. So I think I did nail it here accurately. 

--Please merge issue 2877 and issue 2924 into this one, as we finally have the real issue identified.


Related issues 2 (0 open2 closed)

Has duplicate Emulator - Emulator Issues #2877: [Sega All-Star Racing] Vsync enabled causes crash at level load screenDuplicate

Actions
Has duplicate Emulator - Emulator Issues #2924: [Fzero] Game crashes on 3rd mission in Story modeDuplicate

Actions
Actions #1

Updated by wespipes69 over 14 years ago

Looks like this also causes emu crashes when performing save states. The save state crashing really began with r5777 - by a big noob commit. Once you look at it, you'll see that this is definetely the culprit.

However, this issue with the games crashing with both Vsync & Dual Core active started just a little earlier (wierd, but true). The games worked fine in r5750, but started crashing by r5762 (sorry mamario didn't have any compiles in between there).

Basically before 5750, all these games and settings and savestates worked just fine. But within 25 commits, alot was broken. Looks like plenty of good came out of it at least.

Actions #2

Updated by wespipes69 over 14 years ago

Save states have been fixed in r6000. The issues with games crashing with these settings on is still present.

Actions #3

Updated by skidau over 14 years ago

Issue 2924 has been merged into this issue.

Actions #4

Updated by skidau over 14 years ago

Issue 2877 has been merged into this issue.

Actions #5

Updated by javimi.wan.kenobi over 14 years ago

Good luck @ the one who tries to fix this, our best whishes are with you :)

Actions #6

Updated by skidau over 14 years ago

I have quickly browsed through the changes made between r5750 and r5762. They mostly consisted of DX11 and OpenCL changes. The only ones that could affect both OGL and DX9 would be r5757, r5762 and r5768. All of those revisions are highly unlikely to cause this sort of instability.

Actions #7

Updated by javimi.wan.kenobi over 14 years ago

Unfortunately this thing has always been there, not caused by any revision I know of.

Actions #8

Updated by wespipes69 over 14 years ago

Well Javimi, all I can say is the problem got worse in these revisions at the very least and I have seen no evidence that what I stated here existed prior to that set of revisions.

@skidau: Yeah, not alot of revs in there look that they could have caused this BUT if I had to place money, I would say it was actually r5754. That seems the most likely to my ignorant eyes. If you can do up a version without that commit, I can test and let you know the results?

I just downloaded r5751 and r5762, loaded each up, adjusted a few settings (vsync, controller, etc) and then started Sega All-Star Racing and attempted to enter the race. On r5751, it entered game no problem - it can get past the little level load screen stutter and enter the race. Whereas r5762, it crashed at that stutter.

So I've confirmed this again here - it definetely became, at the least, "more" unstable somewhere in those 10 revs.

Let me know if you want me to check out anything else with this.

Actions #9

Updated by seapancake over 14 years ago

I just tried this with Super Smash Brothers Melee (Sorry I don't have either of those games you mentioned) on 2.0 and R6164 with no issues.

Dual Core enabled
V-sync enabled
Copy EFB -> RAM
64bit Windows 7

Actions #10

Updated by wespipes69 over 14 years ago

Ok....I never said every game. What is with people coming into this thread trying to tell me I'm wrong about something?

So far, i've only been able to fully confirm it on the above 2 games.

Actions #11

Updated by wespipes69 over 14 years ago

But they can't be the only ones, that's for sure!

Actions #12

Updated by wespipes69 about 14 years ago

If it explains anything at all, the stability issues don't occur when the game is running slow (like less than 40 FPS). But if it's running full speed (60) and it tries to sync to the refresh rate (also 60) that's when you run into problems.

Actions #13

Updated by wespipes69 about 14 years ago

Also, Crash Bandicoot - Wrath of Cortex crashes when entering gameplay with Dual core + Vsync active. Not sure if knowing what games are affected by this issue helps.

Actions #14

Updated by Anonymous over 13 years ago

  • Status changed from New to Fixed

Just tried fzero and cB - wrath of cortex, both worked with vsync + dual core.

Actions #15

Updated by gabbyjay over 13 years ago

It's not fixed, F-Zero GX does not work here in Grand Prix mode, when Vsync and DualCore is enabled. It crashes after a few seconds into the race.

With Vsync disabled, it works, but this is not a good way to play F-Zero; not only cause of the tearing you get, but it also stutters a bit and steering is not fluid anymore.

Actions #16

Updated by wespipes69 over 13 years ago

Yeah, it still causes Sega All-Star Racing to hang at the same spot. I don't think anything has gotten better with this issue.

Actions

Also available in: Atom PDF