Project

General

Profile

Actions

Emulator Issues #7513

closed

Framelimit -- Audio+Video NOT syncing

Added by keiranwaters almost 11 years ago.

Status:
Invalid
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

Game Name?
Donkey Kong Country: Returns
(possibly others but haven't experienced yet)

Game ID?
SF8E01

What's the problem? Describe what went wrong in few words.
Removal of Frame rate Audio limit, runs audio ~2x faster than video

What did you expect to happen instead?
In Sync with video.

What steps will reproduce the problem?

  1. 4.0.2310
  2. Run DKCR with following options disabled/unticked - Enable MMU / Sync GPU Thread / Speed up disc transfer
  3. Laugh at speedy audio on menu screen

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?
Current revisions from 4.0.2310 upwards. Before this, frame limiter audio was present

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
Any before 4.0.2310 (have used daily increments for last week alone)

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Windows 7 x64 / Core i7 2670QM / nVidia GT555m

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
http://tinypic.com/r/paskp/8
Picture shows Video @ 52 Frames / Audio @ 105 Frames

I know from reading comments at PR#667 (https://github.com/dolphin-emu/dolphin/pull/667) That "Audio is synced to the framerate in all circumstances" @MaJoRoesch

Also, minor, Audio limiter has been removed, however tooltip for frame limit still states to use Audio to throttle using the DSP

Cheers...

Actions #1

Updated by JMC4789 almost 11 years ago

  • Status changed from New to Invalid

Use auto framerate, not forcing it to 60; the game isn't a 60 fps game, it's a 30 fps game.

Actions #2

Updated by keiranwaters almost 11 years ago

Sorry forgot to mention, any other forms of frame limiting still leaves audio speed increase. Currently running on auto FPS~55-61 VPS~110-125. Frame limiting to 30 leaves the sound slow, and trying LLE DSP for audio creates high pitched tone...

Actions #3

Updated by JMC4789 almost 11 years ago

Have you tried auto framelimit? I don't have this game to test myself, but if it needs audio framelimit, something is broken. Can you get some audio dumps when it's on auto framelimit?

Actions #4

Updated by keiranwaters almost 11 years ago

Tried auto and various other frame limits just incase I was doing something wrong.
Sure, give me a couple of minutes..

Actions #5

Updated by keiranwaters almost 11 years ago

https://www.firedrive.com/file/B9AC813FE6C2EC4A

01:36mins - From loading > Menu > Island Preview > Small portion of 2nd level

Actions #6

Updated by JMC4789 almost 11 years ago

Could you please tell me what the framelimit is set to that recording? It sounds like the audio is going too fast.

Actions #7

Updated by keiranwaters almost 11 years ago

Auto as you've asked, roughly varies from 120VPS to 90VPS whilst FPS is hovering around 45-60 (strangly, nearly 2x faster)

Actions #8

Updated by JMC4789 almost 11 years ago

You have the vbeam speedhack on. Turn it off.

Actions #9

Updated by keiranwaters almost 11 years ago

Turned off, has sync'd but now however killed 10FPS... Guess I can't win haha. Thanks though!

Actions #10

Updated by JMC4789 almost 11 years ago

the vbeam speedhack is a hack, it's known to cause problems with audio. Prior to you doing this the game was not running at the correct framerate and could have other problems (collision detection, such as with the superplay stuff dying... though that probably will still happen eventually :P)

We really recommend having it off, while it is faster, the problems it causes are not fun. I do know how to help your situation though; I'll talk to degasus about taking out the audio stretching based on framelimit. It's getting in the way of legitimate uses, and should let you manually set the framerate without hearing audio distortion.

Actions #11

Updated by keiranwaters over 10 years ago

Yeah, it didn't bug me too much, I don't mind playing with settings, however, I do like trying out the new builds and seeing what has changed (normally as an end user, not a great deal) compared to say, big changes (eg 3.5 - 4)

Cheers for that, might be a few other games that has the audio (de)limiter. Why would audio not be sync'd to video anyway? Is it due to being run off seperate cores?

Actions #12

Updated by JMC4789 over 10 years ago

it's because the vbeam speedhack is a hack to make the game go faster. If you make the game go faster, audio does weird things. Framelimit by audio hid this by making audio always go the write speed, even if the game was running the wrong speed due to the hack. Tons of things in the game were probably messed up by the fact it was going 120 vps isntead of 60. This is a 60 FPS/VPS game, and desyncing it like that probably caused some weird issues.

Actions #13

Updated by keiranwaters over 10 years ago

Makes sense, cheers for taking the time to help/explain this!

Actions

Also available in: Atom PDF