No Sound from AC'97 on Windows 7 host

Discussions related to using VirtualBox on Windows hosts.
pento
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu
Contact:

No Sound from AC'97 on Windows 7 host

Post by pento »

Version info:
Host: Windows 7 64-bit
VM: Windows XP SP3 32-bit
VirtualBox: 3.2.6
Guest Additions: 3.2.6

I have two soundcards in this VM - the virtual AC'97 card, and a physical USB sound card. Sound works coming through the USB card, but not the AC'97 card. None of the volume controls are muted, all turned up to full. Sound works normally on the host.

Sounds has previously worked on this VM running on a different Win7 PC.

I found that VBox.log is full of these messages (full log attached):

Code: Select all

00:22:50.180 DSound: Reason: The buffer memory has been lost and must be restored
I tried increase the RAM available to the VM from 1GB to 1.5GB, but it didn't help - I doubt that's the problem, VirtualBox.exe is only using ~55MB.

Does anyone have suggestions for what I can try to fix this?
Attachments
VBox.zip
Recent VBox.log file
(37.3 KiB) Downloaded 23 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No Sound from AC'97 on Windows 7 host

Post by Perryg »

Install/reinstall the realtek drivers from realtek.com
Check for conflicts due to using (2) sound cards at the same time. Interrupts are important as well as dma addresses.
pento
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu
Contact:

Re: No Sound from AC'97 on Windows 7 host

Post by pento »

Perryg wrote:Install/reinstall the realtek drivers from realtek.com
Same problem after doing this, including message in error log (which is now 48MB, from this error).
Check for conflicts due to using (2) sound cards at the same time. Interrupts are important as well as dma addresses.
Device Manager on the Guest shows no conflicts. Also, removing the USB device and restarting does not fix the problem.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No Sound from AC'97 on Windows 7 host

Post by Perryg »

Try removing all audio drivers from the guest reboot and see what it wants to load.
Other than that I don't know what to tell you. Something in the guest is really ticked off or you would not be seeing these warnings.
pento
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu
Contact:

Re: No Sound from AC'97 on Windows 7 host

Post by pento »

Perryg wrote:Try removing all audio drivers from the guest reboot and see what it wants to load.
Re-installs the hardware normally, but no change to behaviour.
Other than that I don't know what to tell you. Something in the guest is really ticked off or you would not be seeing these warnings.
Okay. Should I submit a bug report? What information would I need to include?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: No Sound from AC'97 on Windows 7 host

Post by Perryg »

bugtracker. You will need to setup an account there as it is on a different system.
It would also help if you can post the ticket number here so other can see the progress, add information, or see the final results.
Be sure to include the guests log file and reference the link to here in the ticket.
Se7en
Posts: 28
Joined: 31. Oct 2009, 14:27
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Debian Lenny

Re: No Sound from AC'97 on Windows 7 host

Post by Se7en »

Realtek audio drivers are bad.

Windows 7 doesn't provide any AC'97 audio driver O_o ?

Mine ( 7 x64 Pro) use Microsoft HD Audio driver instead of Realtek HD driver. All works better without Realtek.
pento
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu
Contact:

Re: No Sound from AC'97 on Windows 7 host

Post by pento »

Se7en wrote:Realtek audio drivers are bad.

Windows 7 doesn't provide any AC'97 audio driver O_o ?

Mine ( 7 x64 Pro) use Microsoft HD Audio driver instead of Realtek HD driver. All works better without Realtek.
WinXP guest. Tried the drivers that come with XP, and the Realtek drivers, neither work.

Bug report filed:
http://www.virtualbox.org/ticket/7200
Se7en
Posts: 28
Joined: 31. Oct 2009, 14:27
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Debian Lenny

Re: No Sound from AC'97 on Windows 7 host

Post by Se7en »

Realtek AC'97 card in guest O_o ?

I know VirtualBox virtual sound card is ICH AC'97 (Intel chipset), you should install the guest additions.
pento
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu
Contact:

Re: No Sound from AC'97 on Windows 7 host

Post by pento »

Se7en wrote:Realtek AC'97 card in guest O_o ?

I know VirtualBox virtual sound card is ICH AC'97 (Intel chipset), you should install the guest additions.
Ah, I understand the confusion - bad thread title. I was referring to the AC97 in the guest, not the host. Latest guest additions are installed.
Se7en
Posts: 28
Joined: 31. Oct 2009, 14:27
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Debian Lenny

Re: No Sound from AC'97 on Windows 7 host

Post by Se7en »

I haven't XP guest at this time but Intel AC'97 soundcard should be detected by the system.

Did you verify in the VirtualBox guest settings if "Enable Audio" is checked and "Host audio driver" is "Windows DirectSound" ?

Did you try "Audio Controller" as "SoundBlaster16" instead of "ICH AC'97" ? Is there sound in the guest with this controller ?
pento
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu
Contact:

Re: No Sound from AC'97 on Windows 7 host

Post by pento »

Se7en wrote:I haven't XP guest at this time but Intel AC'97 soundcard should be detected by the system.
Yes, it's the Intel card.
Did you verify in the VirtualBox guest settings if "Enable Audio" is checked and "Host audio driver" is "Windows DirectSound" ?
Yes, and yes.
Did you try "Audio Controller" as "SoundBlaster16" instead of "ICH AC'97" ? Is there sound in the guest with this controller ?
Tried it, didn't work.
Se7en
Posts: 28
Joined: 31. Oct 2009, 14:27
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Debian Lenny

Re: No Sound from AC'97 on Windows 7 host

Post by Se7en »

Then re-select ICH AC'97.

Did you try with the USB sound card disconnected ? Eventually poweroff and start the guest too with USB still disconnected.

I think VirtualBox support only one soundcard at once as virtual sound output.
pento
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu
Contact:

Re: No Sound from AC'97 on Windows 7 host

Post by pento »

Se7en wrote:Then re-select ICH AC'97.

Did you try with the USB sound card disconnected ? Eventually poweroff and start the guest too with USB still disconnected.
Done both. The AC97 still fails when I disconnect the USB soundcard and restart the guest.
I think VirtualBox support only one soundcard at once as virtual sound output.
Nope, I had this guest working on a different host with the USB sound card plugged in.
Se7en
Posts: 28
Joined: 31. Oct 2009, 14:27
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Debian Lenny

Re: No Sound from AC'97 on Windows 7 host

Post by Se7en »

But in the guest Device Manager, is there a soundcard in the device list (still USB disconnected) ? What the driver name and the device state ?
Post Reply