Dolphin, the GameCube and Wii emulator - Forums

Full Version: Suggestion: Asio4All as audio out....
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
So I've got what is, imo, a fairly good system. I've fiddled around with Dolphin in both the GC and Wii settings, tried to get it running and looking decent. Not perfect, just decent and I think I've achieved that... I can get the GC half of the emulator to work with almost no issues at all, but whenever I load up something in the Wii half, I almost always get a crash 10-15 mins into playing saying that the XAudio2 driver has encountered and error, and the emu must be shut down.

I''ve tried the other audio settings and it doesn't make a difference, I still get the crash. This may be bad assumption and jumping to conclusions on my part, but I'm just gunna guess that it might have something to do with the fact that Windows 7 lacks support for hardware accelerated sound, because they changed everything to Wasapi or whatever the heck, and so even though I've got a good machine (3.30 ghz processor, 16gb of ram, a 1gb video card, 1tb hard drive w/ 7200rpm) the audio is still not able to keep up.

I also notice that during the video cut scenes, the audio clips and cracks, no matter what settings I alter by trial and error to try and fix this, I've never managed to do so. I noticed similar popping and clipping within another program I use, a popular vinyl scratching simulation software. After I downloaded Asio4All and set the program to use that as the sound output I stopped experiencing issues.

So my question is, if Dolphin were somehow able to make use of Asio4All, would it cease to have pops and cracks in the cut scenes, and even better, stop crashing from the Xaudio2 error altogether? Or would adding such an option to the DSP section be too difficult to implement?
.......

If you're having crashes with xaudio2 something is very wrong with your system, that is not normal. If it's crashing with both dsound and xaudio2 then something is really wrong with your system.

Quote:This may be bad assumption and jumping to conclusions on my part, but I'm just gunna guess that it might have something to do with the fact that Windows 7 lacks support for hardware accelerated sound, because they changed everything to Wasapi or whatever the heck, and so even though I've got a good machine (3.30 ghz processor, 16gb of ram, a 1gb video card, 1tb hard drive w/ 7200rpm) the audio is still not able to keep up.

Nope. I have never seen another person report this problem in all my years here.

Quote:I also notice that during the video cut scenes, the audio clips and cracks, no matter what settings I alter by trial and error to try and fix this, I've never managed to do so.

You haven't told us what game or what settings you're using.

From what I can gather so far from a quick google search asio4all appears to be a driver. Xaudio2 and dsound are frameworks used to support the audio backend of dolphin, so your entire post makes absolutely no sense. If you replace asio4all with asio it would make a bit more sense.
(04-16-2012, 01:59 PM)NaturalViolence Wrote: [ -> ]If you're having crashes with xaudio2 something is very wrong with your system, that is not normal. If it's crashing with both dsound and xaudio2 then something is really wrong with your system. You haven't told us what game or what settings you're using.

I'm able to play other PC games and junk just fine, Audiosurf gave me problems initially because I was trying to run it while also using SRS Audio Essentials (the brick hit sounds taking precedence and causing the song volume to temporarily mute) but once I disabled that program, the issue ceased. I'm also able to run EpsXe and plenty of other emulators, indefinitely with no problems. I have a Realtek onboard sound card, so maybe it just isn't good enough to provide audio ram or whatever, though the Realtek card I had on my old XP machine didn't give me this much trouble (just gunna blame 7 again for this because of the removal of hardware sound acceleration).

Anyway, you asked about my settings...
Well, sorry if all this is tl;dr, but here:

Dolphin 3.0-375-dirty

In Config -> General

Enable Dual Core = Checked
Enable Idle Skip = Checked
Enable Cheats = NOT Checked
Frame Limit = Audio
Limit by FPS = Checked

Advanced -> CPU Emu Engine

Interpreter = NOT Checked
JIT Recompiler = Checked
JTIL Expiramental = NOT Checked
Lock Threads to Cores = Checked
Force as NTSC-J = NOT Checked


In Config -> Interface
Show Confirm B4 Quit = NOT Checked
Use Panic Handlers = Checked
Theme = Boomy
Language = System




In Config -> Audio

Volume = 65%
DSP HLE Emulation Fast = Checked
Enable DTK Music = Checked
DSP LLE On Thread = NOT Checked
Dump Audio = NOT Checked
Audio Backend - DSound
Sample Rate 32000 hz



In Config -> Gamecube
Skip Bios = Checked

Port 1: Standard Controller 1
Port 2: Standard Controller 2



In Config -> Wii

Enable Screensaver = NOT Checked
Use Eur60 Pal = NOT Checked
Aspect Ratio = 4:3
System Lang = English

Insert SD Card = NOT Checked
Connect Keyboard = NOT Checked



In Config -> Graphics

Backend = Direct3D9
Adapter AMD Radeon 6800 Series
Fullscreen Rez = 1024x768
Aspect Ratio = Stretch to Window
Vsync = Checked
Use Fullscreen = NOT Checked

Other: Show FPS = Checked
Hide Mouse Cursor = Checked
Auto Ajust Window = NOT Checked
Render to Main Window = NOT Checked


In Config -> Enhancements

Internal Rez = Auto (mult of 640x528)
Anti-Aliasing = 4x SSAA
Anisotropic Filter = 1x
Scaled EFB Copy = Checked
Force Texure Filt = NOT Checked
Per-Pixel Light = NOT Checked
3D Vision = NOT Checked

In Config - > Hacks

Skip EFB from CPU = NOT Checked
Ignore Format Changes = NOT Checked

EFB Copies:
Disable = NOT Checked
Texure = NOT Checked
RAM = Checked
Enable Cache = Checked
Texture Accuracy = 3rd from left
External Frame Buffer = Disable
Vitual = Checked
Real = NOT Checked

Fast Mipmaps = Checked
Disable Lighting = NOT Checked
Disable Per Pixel = NOT Checked
OpenCL Decoder = Not Checked
Cache Dis List = NOT Checked
Disable Fog = NOT Checked
Skip Dest Alpha = NOT Checked
OpemMP Decoder = NOT Checked


In Config-> Advanced

Debugging:

Enable Wireframe = NOT Checked
Show Statistics = NOT Checked
Disable Textures = NOT Checked
Show EFB Regions = NOT Checked
Texture Format Overlay = NOT Checked

Utility:

Dump Textures = NOT Checked
Dump EFB Target = NOT Checked
Free Look = NOT Checked
Load Custom Texture = NOT Checked
Dump Frames = NOT Checked

Misc:
Show Input Display = NOT Checked
Enable Hotkeys = NOT Checked
Enable Prog Scan = NOT Checked
Crop: NOT Checked
Widescreen Hack = NOT Checked


In DSP --> General:

Basic Settingd:
Enable Dual Core = Checked
Enable Idle Skipping = Checked
Enable Cheats = NOT Checked
Framelimit = Audio
Limit By FPS = Checked

Advanced Settings
JIT Recompiler = Checked
Lock Threads to Cores = Checked

In DSP --> Interface

Confirm on Stop = NOT Checked
Use Panic Handlers = Checked
Theme = Boomy
Language = System


In DSP --> Audio

Volume = 65%
DSP HLE Emulation Fast = Checked
Enable DTK Music = Checked
Audio Backend - DSound
Sample Rate 32000 hz

In DSP --> Gamecube

Skip Bios = Checked

Slot A = Mem Card
Slot B = Mem Card
Port 1 = Standard Controller
Port 2 = Standard Controller

In DSP --> Wii

Enable Screen Saver = NOT Checked
Use EuRGB60 Mode = NOT Checked

Aspect Ratio = 4:3


As for "what game" I recall one of the captcha things requiring new members to complete the sentence "Downloading games is wrong," and one of the stickies saying that discussing downloading games results in insta-ban, so forgive me for choosing to omit that information and use vague wordings to avoid naming said games.


(04-16-2012, 01:59 PM)NaturalViolence Wrote: [ -> ]If you're having crashes with xaudio2 something is very wrong with your system, that is not normal.

Here are my full system specs:

AMD FX 6100 Six Core - 3.30 ghz
(Phenom II, Black Edition)

Cooler Master Gemini II Heatsink
w/ 110 CFM 120mm Cooljag Everflow fan
with another of that fan as the System Exhaust.

16gb, DDR3, XMS3 Corsair ram.

ATI Radeon HD 6870, 1gb GDDR5.

1tb Samsung Spinpoint hard drive, 7200 rpm.

Asus M5A97 motherboard w/ onboard Realtek audio.
(using ov2rey's modded driver for better sound,
the crashes in Dolphin were happening before
I installed that driver, so I doubt that's the cause)

800w Coolermaster Silent Pro Gold PSU.

Windows 7 64bit, running Emerge Desktop Shell 6.0.0.1030

http://s11.postimage.org/c56x2uxi9/ED_RD_RBD.png
Yeah, discussing about how or where to download game is not allowed.

Tell us the names of the games are trying.
(04-16-2012, 08:04 PM)Garteal Wrote: [ -> ]Yeah, discussing about how or where to download game is not allowed.

Tell us the names of the games are trying.

Gamecube: Burnout 2: Point of Impact, doesn't crash although once or twice it has frozen on the loading bar and I had to reload from save. Other than that, it works and I've left it going sometimes for a full 3 hours with no problem.

Zelda: Windwaker, plays fine, doesn't crash.
Soul Calibur 2, plays fine and doesn't crash but the video cut-scenes are crackly.

Wii: Kirby, Return to Dreamland. Intro video crackles. I can play the game for 10 mins, then I get a "clearing cache" message (better than before atleast, cuz without that it just straight up and crashed on me), but still, continuing on after that it eventually gives the audio error and I have to close out.

Klonoa Wii and SMB Wii = same thing...

Sometimes, even just closing out without a game in it will make Dolphin freeze and Task Manager says it has to be shut down.
The intro video crackle is a known issue. If you do keep having these audio stuttering, you might want to use LLE instead. But do keep in mind that LLE will drastically reduce your performance (depending on the game).

As for your clearing cache message: try deleting everything in the folder User\ShaderCache.

If everything else fails, download a newer version of Dolphin, and see if you still crash.
(04-16-2012, 08:29 PM)Garteal Wrote: [ -> ]The intro video crackle is a known issue. If you do keep having these audio stuttering, you might want to use LLE instead. But do keep in mind that LLE will drastically reduce your performance (depending on the game).

As for your clearing cache message: try deleting everything in the folder User\ShaderCache.

If everything else fails, download a newer version of Dolphin, and see if you still crash.

Removing what was in the ShaderCache seems to have just made the audio stuttering more frequent, like on Kirby, just the transitions in selecting a level now have bouncing audio...
Quote:I have a Realtek onboard sound card, so maybe it just isn't good enough to provide audio ram or whatever,

*facepalm*

Quote:just gunna blame 7 again for this because of the removal of hardware sound acceleration

*second facepalm*

I'm now having a hard time understanding what the issue is since your posts are kind of all over the place. Dolphin is crashing with both xaudio2 and dsound on all wii games, correct? What error message are you getting?
(04-16-2012, 08:29 PM)Garteal Wrote: [ -> ]If everything else fails, download a newer version of Dolphin, and see if you still crash.

I downloaded 3.0-592 dirty, and then copied all my settings from the previous version by hand and eye... but this one is even worse. The graphics all have the white lines and jagged edges regardless of what alterations I make and it's also noticeably slowed on the world map compared to how it was on 375, so I've gone back to that vers.

Oh, and what you said earlier about the shader cache... at first when I did that the audio stutter happened more, during the transitions from map to level and whatnot. But after playing again, and letting it build up to about 4 files in there, it actually seems to have stabilized and also I let my roomie play for a good 30 mins and there wasn't a crash (though it would occasionally do the "dumping cache" thing, so maybe... maybe that did the trick. Still got stutter on vids, but you said that was a given.

Also, I'm sorry if I posed a stupid suggestion.. I just thought that maybe adding Asio support or whatever (I said Asio4all, cuz that's the first time I even heard of it - needed it to get proper sound from Traktor Scratch) would maybe help out some.
So you're having graphics issues with recent builds. Which games?

Also you still haven't answered my question:
Quote:Dolphin is crashing with both xaudio2 and dsound on all wii games, correct? What error message are you getting?
Pages: 1 2