Project

General

Profile

Actions

Emulator Issues #5057

closed

Skyward Sword music loop / sync issues

Added by bastos.eder almost 13 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
DSPHLE
% 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

  1. Game Name and ID (as it appears in right click > properties: "GZ2P01",
    "RSBE01", etc): Legend of Zelda: Skyward Sword - SOUE01

2) What is the expected output? What do you see instead?
Music should play correctly. It usually does at first, but soon starts to have one or more of the following issues:

-music will start to loop in segments of a few seconds
-left and right stereo tracks will get slightly out of sync, making everything sound like it has an echo

It appears to have to do with the game's dynamic music, where voices are added/removed from the song to fit the events of the game (ex. skyview temple, the oboe part only plays when you are in a large room.)I say this because it seems that sometime some voices will loop while others will not.

3) Did the game ever work correctly (i.e. not have this problem) on an
earlier version of dolphin? Please specify the exact revision when the
problem began.

The last few recent builds seem to have had this issue, but the one everyone's been using to play the game - 7719 - does not. (maybe why no one has reported this yet?)

4) What steps will reproduce the problem?
Seems to happen in most places that have dynamic music. I don't have a handle just yet on exactly what causes it... it appears to be random, I have seen it begin seconds after loading a save file, and yet sometimes can go for 30 min without seeing it.

Large changes in music (leaving a temple for example) fix the problem until it starts again, but small ones (chest opening cutscene, battle music) do not.

5) What version of dolphin are you using (32bit/64bit along with the
version as it appears in the title bar, etc)?
On what operating system, drivers, and hardware? Be sure to list OS,
graphics driver information, and video card model if you are having
graphics problems, for example.

3.0.-221-dirty x64, Windows 7 Ultimate
i5-750
Intel HDA with regular windows drivers
Radeon 6870 11.11


Related issues 3 (0 open3 closed)

Has duplicate Emulator - Emulator Issues #5006: Wii Sports messed up HLE music and random crashes (using DSound due to r.3.0-199)Duplicate

Actions
Has duplicate Emulator - Emulator Issues #5397: garbage sound Duplicate

Actions
Has duplicate Emulator - Emulator Issues #5760: Legend of Zelda Skyward Sword: Garbled audio plays in backgroundDuplicate

Actions
Actions #1

Updated by delroth almost 13 years ago

Does this happen with both HLE and LLE?

Actions #2

Updated by bastos.eder almost 13 years ago

Oh, left out an important detail. This has been happening with the HLE sound backend. It likely does not with the LLE backends, but my computer isn't fast enough to run Skyward with it at full speed.

Actions #3

Updated by hatarumoroboshi almost 13 years ago

Does it happen only with DSound plugin or is XAudio2 affected as well?

Actions #4

Updated by bastos.eder almost 13 years ago

I've been using DSound. I haven't tried XAudio2, but after some google searching, came across this post:

http://forums.dolphin-emulator.com/showthread.php?tid=19897&pid=181010

Two people having this issue, one tried Xaudio2 + disabling audio throttle and says it stopped. Maybe worth a shot.

Actions #5

Updated by hatarumoroboshi almost 13 years ago

If XAudio2 isn't affected then this problem could be related to issue 5006

Actions #6

Updated by bastos.eder almost 13 years ago

Wow, I think google code just detonated itself.

First it comes up as a double post (then a double-doublepost) and now I've deleted all of them somehow. Here is the save state link:

http://www.mediafire.com/?c6139miedimqp2x

It's like 5 dungeons into the game so spoiler alert. Shows the problem, Dsound/HLE. Anyone who's interested in this issue probably got the full text of my previous post (several times) in their email. Let me know if you want it posted again.

Actions #7

Updated by nop_jne almost 13 years ago

The reproduction steps are as follows:

  1. Set DSP to HLE.
  2. Stress your machine so it does not get enough cycles to run emulation at full speed.
    For instance: EFB to RAM, or high multi sampling, you can even kick on the CPU interpreter.
  3. In about 30 to 40 seconds the synchronization between the CPU and HLE DSP breaks and the music gets restarted while the old track is still going.
Actions #8

Updated by Bighead.0 almost 13 years ago

When I first started playing this game, I used HLE audio just so I could get the best performance possible. I'm pretty sure (but not 100%) I used XAudio2 as the backend because that's all I really ever used, but I always had audio throttle enabled.

I experienced the music looping in the very first dungeon. I was thinking to myself... wow this dungeon music is uncreative and is starting to get monotonous. Then I realized it was just playing a 6 second section over and over again. I then switched to LLE, found out the music is longer than 6 seconds, and never had the problem again.

Beat the game from start to finish on R7718. So it did have a chance of happening on the older revisions, only with HLE, and possibly with XAudio2 throttled.

Actions #9

Updated by bastos.eder almost 13 years ago

Well, on the newest revision available, I've played a few hours in a row with Xaudio2 + Audio Throttle, and haven't seen the issue since switching to it.

A curious conundrum, this one.

Actions #10

Updated by jgr526 almost 13 years ago

I can confirm comment 10. Played using XAudio2 and Audio Throttle Enabled for 2 hours and did not notice any sound looping.

Actions #11

Updated by jgr526 almost 13 years ago

I forgot to add, I was using rev 223-dirty...

Actions #12

Updated by skidau almost 13 years ago

Issue 5006 has been merged into this issue.

Actions #13

Updated by hatarumoroboshi almost 13 years ago

For an easier view I re-post here the most useful information so it eventually doesn't get "forgotten":

Works correctly until Revision 7f055d6b568c (r3.0-198) included, from Revision 3d2a2abb49df (r3.0-199) starts the DSound problem.

Actions #14

Updated by nop_jne almost 13 years ago

I am not able to reproduce this problem with xaudio2, it does however happen very frequently with dsound.

Running d3.0-235-Dirty

Actions #15

Updated by hatarumoroboshi almost 13 years ago

I would suggest to test Revision 33f0f9fd9fc6 (r3.0-294) and see if this problem is still happening.

Actions #16

Updated by delroth almost 13 years ago

SS uses AXWii, the change you link to is about the Zelda UCode. It won't fix this issue.

Actions #17

Updated by hatarumoroboshi almost 13 years ago

Although issue 5006 is completely fixed, Dsound still has some random looping problems in many games that XAudio2 doesn't have.
Maybe this issue should be renamed DSound music loop/sync issue or somewhat silmilar.

Actions #18

Updated by hatarumoroboshi almost 13 years ago

Obviously I meant DSound HLE

Actions #19

Updated by naxeras almost 13 years ago

Yes, I have the same issue even LLE DSP configuration.

Actions #20

Updated by skidau over 12 years ago

Issue 5397 has been merged into this issue.

Actions #21

Updated by skidau almost 12 years ago

Issue 5760 has been merged into this issue.

Actions #22

Updated by murodese almost 12 years ago

As per issue 5760, it's also possible for this to occur while using XAudio2. It's much rarer, though.

Actions #23

Updated by Billiard26 almost 12 years ago

  • Issue type set to Bug
  • Category set to dsp
Actions #24

Updated by Billiard26 over 11 years ago

  • Category changed from dsp to dsphle
Actions #25

Updated by delroth over 11 years ago

  • Status changed from New to Fixed

Fixed according to JMC47.

Actions

Also available in: Atom PDF