Emulator Issues #6141
closed1080 Avalanche sound runs at half speed but game runs at full speed
0%
Description
Game Name?
1080 Avalanche
Game ID?
GTEE01
What went wrong?
Sound is heavily crackling and runs in slow motion
What did you expect to happen?
Sound running fine like in 3.5-420
What steps will reproduce the problem?
Start the race.
What version of Dolphin were you using?
3.5-1062
64 or 32 bit Dolphin?
64
What version of Dolphin used to work?
3.5-420, needs more testing to find the exact revision where the problem occurred first
What Operating System were you using and what are your hardware
specifications?
Win7 x64
Any other relevant information or links to logs:
HLE audio, default audio settings, Framelimit: auto
Updated by MayImilae over 11 years ago
If it needs more testing, why don't you do it? That would be the fastest way to get it fixed.
Updated by scientificraver over 11 years ago
Of course I will test more revisions. But this will take some time and could need some help by others interested in getting this fixed. I guess it is caused by one one of the larger merges but we will see. As the problem is really strange and games like Mario Sunshine run fine, I wonder if other games are affected as well.
Updated by kostamarino over 11 years ago
- Status changed from New to Questionable
Using the latest build sound definitely doesn't run at half speed compared to the game here, i can't reproduce it. Use the latest and default settings. As for crackling it is normal if you can't run the game full speed all the time, if it runs constant full speed and crackles then it is an issue.
Updated by scientificraver over 11 years ago
The game runs at perfectly stable 60FPS and has nearly no audio issues in 3.5-420.
Using 3.5-1090 the Game still runs at stable 60FPS but audio sounds extremely slow and distorted and is heavily crackling. I'm very busy at the moment but I will definitely try to find the revision causing this at a later date.
(This is OT:) And I disagree, crackling audio due to slow frame rates is an issue by definition, as it worked perfectly fine with the old asynchronous HLE. Therefore Dolphin needs a new asynchronous audio back end. Even if a game runs at an average of 59,999 FPS now it will occasionally crackle which is not acceptable. This is why LLE and both HLE are inferior to old HLE since both it will crackle even on high end systems. Only the old HLE has 100% crackle-free audio. For further reference, see issue 6075 . Once the new HLE gets into a stable build, you will be flooded with bug reports regarding this topic as the majority of users is affected. However, this OT section has nothing to do with the issue report.
Updated by scientificraver over 11 years ago
Has the audio timestretch code been merged already? Audio really runs at half the speed and sounds more like ambient in 3.5-1090 while it should and does sound like hard rock in 3.5-420. Like some kind of audio time stretch that tries to scale down the audio from 120 FPS to 60 FPS. (I have a 120hz screen.)
Updated by scientificraver over 11 years ago
Changing the display refresh rate to 60HZ or playing around with frame limiter settings didn't change anything. With all options other than Framelimit = Off the audio on the title screen was running slow. Even with game running at 100FPS, the audio was still too slow. With Framelimit = Off the audio got insanely fast. There is no way to get the audio running at normal speed, like in 3.5-420.
LLE audio is also affected. It runs normal in 3.5-420 60 FPS and half speed in 3.5-1090 60 FPS. (You need to compare the music on the title screen).
Updated by kostamarino over 11 years ago
Ok i tried again to find which setting might be responsible with hle, with direct sound i managed to get more severe crackling that i don't get with xaudio, but still there was no half speed(like slow motion)sound. The game runs at 60 fps and 60fps normally btw, why does it run at 120 fps for you?
Updated by delroth over 11 years ago
Have you enabled the accurate vbeam emulation setting?
Updated by scientificraver over 11 years ago
All settings are default. Forcing Accurate Vbeam On or Off doesn't change anything. With Framelimit = Auto, the game runs at 60FPS. Only with higher settings the FPS gets higher too. The crackling is not the core of the problem since the slow sound is causing it. Both HLE and LLE are equally affected, both were perfectly fine in 3.5-420.
I will likely not have any Internet or PC access the next days but I try to track down the exact revision later.
And did I mention that Dolphin sometimes crashes when pressing Escape after the error occurred?
Updated by kostamarino over 11 years ago
Ok i managed to replicate it and find the culprit too, my bad, i was using 1086 and it run fine, then upgraded to 1091 and it has the issue. I am removing the questionable and i guess it is the fifo commit revision e38e48923dcf, i will try to confirm it...
Updated by kostamarino over 11 years ago
- Status changed from Questionable to New
Yeap, revision e38e48923dcf seems responsible, the previous one doesn't have the issue.
Updated by Sonicadvance1 over 11 years ago
So a issue that was created four days ago is affected by a commit that was made four /hours/ ago? I didn't know scientificraver was a time traveler.
Updated by kostamarino over 11 years ago
It was removed for a few commits and then it was readded to fix a different issue. So the commit i tested didn't have it.
Updated by kostamarino over 11 years ago
Btw scientific raver does limiting based to sound fix this issue to you? It reminds me of a previous issue with the fifo bp branch.
Updated by scientificraver over 11 years ago
No, limiting FPS to audio does not fix it.
Updated by kostamarino over 11 years ago
Hmm, limiting to audio outputs the actual frames the sound is running, in this case 50-53 instead of 60 and therefore the big crackling. Doesn't fix it though, just confirms that audio runs slower than it should be...
Updated by skidau over 11 years ago
The music track on the "Press Start" screen sounds the same to me in 3.5-401, 3.5-424, 3.5-1089 and 3.5-1099. The framerate is 60/60.
I am using OpenAL. Tried both DX9 and OGL.
Have you got a good dump of the game? Can you check the md5 against redump.org? The title screen uses audio streaming dtk which will break if the dump is no good. Older versions of Dolphin were more tolerant to bad images, but as Dolphin gets more accurate and hacks are removed, some bad images can break.
Updated by kostamarino over 11 years ago
Skid, i got the issue ingame personally, just press start to start a race, it will start to crackle a lot and i could notice a small sound delay, that was made more apparent when i limited based to audio, same crackling and audio speed compared to auto with about 50fps instead of 60 shown.
Updated by skidau over 11 years ago
I'm not hearing any problem with the music in game either. Since this game uses audio streaming, the OpenAL backend must be used as it is the only backend with accurate timing (as of 3.5-1100).
Updated by kostamarino over 11 years ago
I tried again the latest version, it is again fixed and i got myself a testing headache, lol... Scientificraver, try the latest dolphin version to see if it is fixed for you too and to close this issue before it rises from the dead....
Updated by scientificraver over 11 years ago
Problem is still there in build 3.5-1124 (Xaudio2). Normally I'm not using OpenAL because it is slow and heavily crackling on my system, has a very high delay and I absolutely dislike the distorted audio stretching. But I will try to reinstall it (new system installation) and check again. As far as I remember, in order to use OpenAL some dll files had to be placed somewhere in the Dolphin folder?
Since it is perfectly working in 3.5-420 (Xaudio2), switching to OpenAL would be a workaround and not a solution. I might have used the shrink function on the dump to save disk space, so I will try to redump the game. Why not just fix the Xaudio2 back end, which is used by most users?
Updated by scientificraver over 11 years ago
OpenAL also sounds slow (build 3.5-1124), next I will try to redump the image.
Updated by Sonicadvance1 over 11 years ago
I'd recommend grabbing 3.5-1156 since it merged in some AX changes and may change your results.
Updated by scientificraver over 11 years ago
But if kostamar was able to reproduce the error with a good dump before, I maybe can save that time. Nearly all my dumps are currently trimmed / shrunken to save huge amounts of disk space.
Updated by scientificraver over 11 years ago
Oh, I just wanted to avoid the new HLE as long as possible. The new synchronous audio does break all my Wii games and therefore I cannot continue to use current revisions of dolphin unless a new asynchronous audio is available. I cannot play any Wii game with stable 60FPS but I almost completed Xenoblade and Zelda SS in 1080p, which will be no longer possible with the new HLE in place.
3.5-1156 does not fix the problem.
Updated by skidau over 11 years ago
- Status changed from New to Invalid
kosta cannot reproduce the problem anymore and I have never been able to. Since you're not using a good dump and shrunk games definitely do break audio streaming games like 1080 Avalanche, the disc image you are using is almost certainly the cause of the problem.
Updated by scientificraver over 11 years ago
I seem to have the same problem with Zelda: SS Eldin Volcano Area. In my opinion this a Dolphin issue since it worked fine with older revisions and shrinking / trimming should leave all valid audio data 100% intact. So there would be no need to break these games with the new code.
Updated by nintendonerd1889 over 11 years ago
Bump. Issue happens in 3.5-2371. Audio is choppy regardless of API used. My computer more than meets the requirements so speed is not an issue. Dump might have gotten corrupted when making, will try to make a clean one.
Core i5 3570 ivy bridge
MSI GeForce GTX 660
8 GB DDR3 SDRAM
So yeah, my PC is plenty fast. Not sure why the audio is so horrible on this game.