Project

General

Profile

Actions

Emulator Issues #6237

closed

New-AX-HLE - SEVERE HLE audio issues in Prime 1 Tri and Prime 2 Tri with DSP on Thread OFF

Added by MayImilae about 11 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
DSPHLE
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
Yes
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Ok, this one is... unique. DSP HLE in Metroid Prime Trilogy (R3ME01) has a very interesting audio problem. I'll show you. Videos are small cause dialup and because the video itself doesn't matter, but the audio is at full quality.

Video 1 - https://dl.dropbox.com/u/519564/HLEwoesPrime2Tri1.mkv

That pop only occurs randomly, so here's one that can be consistently reproduced.

Video 2 - https://dl.dropbox.com/u/519564/HLEwoesPrime2Tri2.mkv

It only occurs in Metroid Prime 1 Tri and Metroid Prime 2 Tri with DSP HLE and DSP on Thread OFF. Metroid Prime 3 Tri is unaffected, as are Metroid Prime 3 Wii, Metroid Prime 1 GC, and Metroid Prime 2 GC. And yes, you heard me, turning on "DSP on Dedicated Thread" fixes it. I have no idea why. It occurs on DirectSound, Xaudio2, and OpenAL, so audio backend doesn't matter. And of course, LLE is unaffected regardless of the DSP on Thread setting.

It appears to have started with the New-AX-HLE merger in 3.5-1154 (no surprise there).

Tested on builds:
3.5-1064 Win64 - Fine, as expected
3.5-1193 Win64 - Broken
3.5-1210 win64 - Broken

Tested on systems:

Core i5 3570K @ 4.7ghz
nVidia GTX275
Windows 7 x64

Actions #1

Updated by delroth about 11 years ago

  • Status changed from New to Accepted
  • Issue type set to Bug
  • Priority set to Normal
  • Category set to dsphle
  • Regression set to Yes
  • Operating system N/A added

Medium priority because there is a known workaround. I'll try to keep it in mind if I work on AX HLE again. Might be UCode switching issues.

Actions #2

Updated by MayImilae about 11 years ago

Dolphin Log, DSP HLE only, verbosity: warning.

27:48:082 Src\HW\DSPHLE\UCodes\UCode_AX.cpp:32 W[DSPHLE]: Instantiating CUCode_AX: crc=347112ba
27:48:082 Src\HW\DSPHLE\UCodes\UCode_AX.cpp:80 W[DSPHLE]: Loading polyphase resampling coeffs from C:\Video Games\Wii\dolphin-master-3.5-1210-x64/User/GC/dsp_coef.bin
27:48:082 Src\HW\DSPHLE\UCodes\UCode_AXWii.cpp:37 W[DSPHLE]: Instantiating CUCode_AXWii
28:12:134 Src\HW\DSPHLE\UCodes\UCode_AX.cpp:32 W[DSPHLE]: Instantiating CUCode_AX: crc=3389a79e
28:12:134 Src\HW\DSPHLE\UCodes\UCode_AX.cpp:80 W[DSPHLE]: Loading polyphase resampling coeffs from C:\Video Games\Wii\dolphin-master-3.5-1210-x64/User/GC/dsp_coef.bin

Actions #3

Updated by skidau about 11 years ago

Please check if this build fixes the problem:

http://www.mediafire.com/file/lp7rztcbz7u7ppt/Dolphin-Issue6237.zip

Actions #4

Updated by MayImilae about 11 years ago

Tested. That fixes it alright. Awesome skid. What did you change?

Actions #5

Updated by skidau about 11 years ago

  • Status changed from Accepted to Fixed

This issue was closed by revision ef4d59a21e4d.

Actions #6

Updated by skidau about 11 years ago

This issue was closed by revision ef4d59a21e4d.

Actions

Also available in: Atom PDF