Emulator Issues #2651
closedDSP HLE sound delayed by about 1 minute
0%
Description
What steps will reproduce the problem?
1.Open Dolphin (linux)
2.Start a Game
3.
What is the expected output? What do you see instead?
The sound is delayed about 1 minute with alsa.
What version of the product are you using? On what operating system?
R5426, Ubuntu 10.04, I dont know if it worked before. (sorry for my
english)
Please provide any additional information below.
here is the output of the terminal until the sound starts
http://paste.ubuntu.com/426812/
Updated by skidau over 14 years ago
Yeh, this is a known issue with DSP HLE. Can you try it with DSP LLE?
Updated by NicolasDelgado over 14 years ago
The emulator just closes, want the output?
Updated by Otoris0 over 14 years ago
I get the same issue with HLE but when I switch to LLE the game refuses to display or
start. Both bin/bios/whatever files are in Dump/DSP/
Using: R5394 - Obtained from playdeb.net
OS: Ubuntu 10.04 64-bit
GPU: GeForce GTX 275
CPU: i5 Quad Core, OC'd 3.9 GHz
RAM: 4gb DDR3
Updated by skidau over 14 years ago
Would you please try disabling the LLE JIT (configured within the LLE plugins options)?
Updated by NicolasDelgado over 14 years ago
the game does not start, here is the output http://paste.ubuntu.com/427291/ is a
little big
Updated by Anonymous over 14 years ago
15:45:956 Source/Core/Common/Src/MsgHandler.cpp:53 E[]: Warning: Failed to load DSP Rom :
sys/GC/dsp_rom.bin
15:45:957 Source/Core/Common/Src/MsgHandler.cpp:53 E[]: Warning: Failed to load DSP Rom :
sys/GC/dsp_coef.bin
...we really should just make that error out completely.
Updated by NicolasDelgado over 14 years ago
D'oh
the same result as hle, the problem is with alsa, with AOSound works, but stutters
(cut, my english is bad xD)
Updated by pierre over 14 years ago
The problem with the delay is bad interaction with the alsa plugin sending sound to
pulseaudio. If i directly use the alsa hw devices, i don't have noticable delay.
Updated by skidau over 14 years ago
pierre, would you please submit a patch making pulseaudio optional?
Updated by Otoris0 over 14 years ago
So the issue with the sound lagging is because ubuntu natively uses pulseaudio? Is
there a way to set ubuntu to use ALSA or AOSound?
Updated by pierre over 14 years ago
I have no clue why this happens only with dolphin. Something is different in the
alsa-handling to the "regular" alsa users. I'll take a look. In the meantime, i think
the pulseaudio plugin must be setup for use in /etc/asound.conf. Disabling should
only involve commenting the blocks for the "default" devices, like this:
#pcm.!default {
type pulse¶
#}
#ctl.!default {
type pulse¶
#}
The "!default" may be just "default".
I don't have ubuntu around here, so i don't know exactly how it configures alsa to
use pulseaudio.
Updated by pierre over 14 years ago
Okay, figured it out: the pulseaudio plugin offers a "hardware" buffer of ~1 minutes
worth of samples, which needs to be filled before it can be sent off to the
pulseaudio daemon and then to the hardware. Should be fixed in r5439.
Updated by vadimurputi over 14 years ago
Please relook the fix, it creates stutters in games like RE4 & RE:UC. My OS is windows
7 x64.
Updated by pierre over 14 years ago
Ummm.. that code is not used on anything other than Linux, at least i'd be surprised
if someone had ported the Advanced Linux Sound Architecture to Windows. Anyways, on
Windows you may be better off using DirectSound.