No sound from guests in Windows Vista host

Discussions related to using VirtualBox on Windows hosts.
Devilly
Posts: 7
Joined: 13. Dec 2008, 11:11

No sound from guests in Windows Vista host

Post by Devilly »

Hi! I've just recently installed Virtualbox and I've been fooling around for a bit, but I can't seem to get the sound working. I've enabled the sound in the Settings in the Virtualbox menu but still nothing is happening.

I'm currently using Ubuntu 8.10 as a guest under a Windows Vista (32-bit) host.

Does someone have any idea on what the problem is and how to fix this?

Thanks in advance,

Devilly
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

First post chhosen audio settings for the guest.
wsmaal
Posts: 5
Joined: 11. Aug 2008, 17:57
Location: The Netherlands

Post by wsmaal »

I have the same problem but then with XP host and Xubuntu 8.10 guest (netbook NC10)

Enable Audio
Host Audio driver I can only choose
Windows Directsound and Null audo driver

Audio controller I can choose
ICH AC97 and Soundblaster 16

I have made all possible combinations but the audio doesn't work
(I compiled Alsa too)
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

Correct must be:
- Enable Audio
- Windows Directsound and Null audo driver
- ICH AC97

All other combinations dont work.

After starting with this settings you must use the distros tool for detect sound card, dont know that for ubuntu.

After that control the mixer in the guest, turn all switches to max.
wsmaal
Posts: 5
Joined: 11. Aug 2008, 17:57
Location: The Netherlands

Post by wsmaal »

stefan.becker wrote:Correct must be:
- Enable Audio
- Windows Directsound and Null audo driver
- ICH AC97

All other combinations dont work.

After starting with this settings you must use the distros tool for detect sound card, dont know that for ubuntu.

After that control the mixer in the guest, turn all switches to max.
Enable Audio, Windows DirectSound & ICH AC97..

After switching from Xubuntu 8.10 (detect sound card isn't peace of cake) to Ubuntu (8.10), the audio problem is solved from the box ;-) Even the headphone works, which is a problem when you install Ubuntu directly on the HD of the Samsung netbook NC10...
Devilly
Posts: 7
Joined: 13. Dec 2008, 11:11

Post by Devilly »

It just won't work. Het recognizes the soundcard and all, but I just don't hear a thing.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

Have you checked the miser in the guest os?
Devilly
Posts: 7
Joined: 13. Dec 2008, 11:11

Post by Devilly »

Well, I have no idea what a miser is so I can't answer that question. I looked for the meaning on google and maybe it's just me but I couldn't find a good answer.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

Sorry, write error.

I mean "mixer". Check the Sound Control in the Guest, turn all switches to maximum.
Devilly
Posts: 7
Joined: 13. Dec 2008, 11:11

Post by Devilly »

That at least explains why I didn't know what you meant. ^^

But I had already done that. All the switches are on maximum and after that didn't work I checked all possible checklist-items. That didn't help either.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Devilly wrote:That at least explains why I didn't know what you meant. ^^

But I had already done that. All the switches are on maximum and after that didn't work I checked all possible checklist-items. That didn't help either.
What Audio setting do you have on the VM? Is it DirectSound or NullAudio? You need the DirectSound, as the NullAudio sends the audio to outer space, instead of your sound card.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Devilly
Posts: 7
Joined: 13. Dec 2008, 11:11

Post by Devilly »

Sasquatch wrote:
Devilly wrote:That at least explains why I didn't know what you meant. ^^

But I had already done that. All the switches are on maximum and after that didn't work I checked all possible checklist-items. That didn't help either.
What Audio setting do you have on the VM? Is it DirectSound or NullAudio? You need the DirectSound, as the NullAudio sends the audio to outer space, instead of your sound card.
That fixed it, thanks! Also thanks to the other(s) trying to help!

Now I'm going to try to get rid of that annoying administrator stuff to install the Guest Additions. ^^
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

It's all described in the manual. If you read it, you didn't have to open a topic ;).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Devilly
Posts: 7
Joined: 13. Dec 2008, 11:11

Post by Devilly »

Sasquatch wrote:It's all described in the manual. If you read it, you didn't have to open a topic ;).
I'm sorry.... :oops:

A little question off-topic: I used the 'sudo' command to run the Guest Additions but the manual says you should use 'sh .' Does it really matter which one you choose? I just want to know that because mine also works great (and I have no experience at all with Linux).
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

The Guest Additions need to be installed with Super User privileges. Using sudo does that. The manual suggests sh because that is used to run a shell script (sh stands for shell). Some users prefer to use bash instead of sh, but they do essentially the same.

You only need sh if the file does not have an execution bit set, or use a different shell. Even if you would use sh, you still need to run it with SU privileges, so a sudo sh <additions file> would work too. But a simple sh <additions file> would not, if you are not root.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply