No Sound from AC'97 on Windows 7 host

Discussions related to using VirtualBox on Windows hosts.

No Sound from AC'97 on Windows 7 host

Postby pento » 19. Jul 2010, 01:17

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   Expand viewCollapse view
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 8 times
pento
 
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu

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

Postby Perryg » 19. Jul 2010, 02:16

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.
Perryg
Site Moderator
 
Posts: 34372
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

Postby pento » 19. Jul 2010, 02:32

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.
pento
 
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu

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

Postby Perryg » 19. Jul 2010, 02:36

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.
Perryg
Site Moderator
 
Posts: 34372
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

Postby pento » 19. Jul 2010, 02:43

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?
pento
 
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu

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

Postby Perryg » 19. Jul 2010, 02:59

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.
Perryg
Site Moderator
 
Posts: 34372
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

Postby Se7en » 19. Jul 2010, 03:14

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.
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

Postby pento » 19. Jul 2010, 03:36

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
pento
 
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu

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

Postby Se7en » 19. Jul 2010, 03:46

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.
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

Postby pento » 19. Jul 2010, 03:58

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.
pento
 
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu

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

Postby Se7en » 19. Jul 2010, 04:17

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 ?
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

Postby pento » 19. Jul 2010, 04:24

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.
pento
 
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu

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

Postby Se7en » 19. Jul 2010, 04:37

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.
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

Postby pento » 19. Jul 2010, 04:52

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.
pento
 
Posts: 10
Joined: 19. Jul 2010, 00:44
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, Kubuntu

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

Postby Se7en » 19. Jul 2010, 04:56

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 ?
Se7en
 
Posts: 28
Joined: 31. Oct 2009, 14:27
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Debian Lenny

Next

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 60 guests