Page 1 of 1

No sound on WinXP guests after 4.2.18 upgrade

Posted: 17. Oct 2013, 19:47
by Athesh
Hi there

After upgrading
from: VirtualBox-4.2.16-86992-Win
to: VirtualBox-4.2.18-88781-Win
audio stopped working on all WinXP guests. The sound device in the device manager looks ok, but when playing sound / audio, there's just silence.

Host: Win7 HP 32
Guest: WinXP SP3
Host driver: WindowsDirectSound
Guest driver: AC97

I did the upgrade to 4.2.18 twice in order to verify, it's definitely related to this version. After downgrading to 4.2.16 audio is back.

Did anyone else encounter this?

Re: No sound on WinXP guests after 4.2.18 upgrade

Posted: 18. Oct 2013, 09:04
by noteirak

Re: No sound on WinXP guests after 4.2.18 upgrade

Posted: 2. Jan 2014, 16:52
by Athesh
OK, sorry for the incomplete details, here's the VBox.log.

There's still no sound on XP Guests even after installing the latest update VBox 4.3.6

I assume that the following lines (from logfile) are related to the problem:

Code: Select all

00:00:01.985904 Audio: Trying driver 'dsound'.
00:00:01.986555 DSound: Could not create DirectSound instance
00:00:01.986570 Audio: Initialization of driver 'dsound' failed, trying 'dsound'.
00:00:01.986605 DSound: Could not create DirectSound instance
00:00:01.986613 Audio: Initialization of driver 'dsound' failed, trying 'null'.
00:00:01.986633 Audio: set_record_source ars=0 als=0 (not implemented)
Since there's just one host PC with this problem but for all WinXP guests on it, I assume it's a host issue, not client.

I've tried a couple of things in the meanwhile without success:
  • Removed an elder SoundBlaster PCI sound card and its drivers
  • re-installed Realtek HD Audiomanager
  • uninstalled Realtek HD Audiomanager (and using Win7 standard drivers)
  • used k-lite codec pack to fix broken filters / configs etc.
On the host PC I have absolutely no (known) sound issues, and I would know it, it's a media center PC :)

Any help is appreciated!

Re: No sound on WinXP guests after 4.2.18 upgrade

Posted: 25. Jan 2014, 02:41
by Xyz
same problem here..

---vbox.log--- of 4.3.6
...
00:00:01.440319 Audio: Trying driver 'dsound'.
00:00:01.440626 DSound: Could not create DirectSound instance
00:00:01.440638 Audio: Initialization of driver 'dsound' failed, trying 'dsound'.
00:00:01.440659 DSound: Could not create DirectSound instance
00:00:01.440667 Audio: Initialization of driver 'dsound' failed, trying 'null'.
...

this is Definitely not Guest OS problem.. same guest os work fine at earlier version of VBox, 4.1.6 works for me

looking into source, error should be here..
--dsoundaudio.c---
...
hr = CoCreateInstance (
&CLSID_DirectSound,
NULL,
CLSCTX_ALL,
&IID_IDirectSound,
(void **) &s->dsound
);
if (FAILED (hr)) {
#ifndef VBOX
dsound_logerr (hr, "Could not create DirectSound instance\n");
#else
LogRel(("DSound: Could not create DirectSound instance\n"));
dsound_log_hresult(hr);
#endif
CoUninitialize();
return NULL;
}
...