Recently I installed VirtualBox 6.1 on my MacBook Air and installed Windows 10 on it (https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/), but somehow the sound on my guest Win10 is not working. I managed to dig for some info and found out that I need to install (https://www.realtek.com/en/component/zoo/category/pc-audio-codecs-ac-97-audio-codecs-software) but it does not work. Could anybody help me with this one?
EDIT: I get the error when I hover over the sound icon: "no audio output device is installed"
To enable audio for a guest, select the Enable Audio check box. The following settings are available: Host Audio Driver: The audio driver that Oracle VM VirtualBox uses on the host. On a Linux host, depending on your host configuration, you can select between the OSS, ALSA, or the PulseAudio subsystem.
The VirtualBox Guest Additions consist of device drivers and system applications that optimize the operating system for better performance and usability. One of the usability features required in this guide is automated logons, which is why you need to install the Guest Additions in the virtual machine.
To correctly enable 3D acceleration on VirtualBox virtual machines running Ubuntu or other GNU/Linux distribution, go to Settings > Display and select “VMSVGA” as the “Graphic Controller” and check the “Enable 3D Acceleration” box under Acceleration.
I tried the route in the most upvoted answer but couldn't get Win10 to install the AC97 driver. For me the solution was much simpler: select Audio Controller "Intel HD Audio" in the virtual machine settings (and leave Host Audio Driver to whatever the default was, in my case "Pulse Audio"). Enable Audio Output checked of course, and it should just work like the machine has a sound card.
Crackling is still there even with the stuff about turning off enhancements and exclusivity, but I think that's not going away since I'm trying to play 1080p video and I don't think the virtual machine has quite the kind of video hardware access (and memory allocation) that it needs to play this level of content perfectly smoothly.
The crackling sound would immediately disappear but you could reboot just to verify.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With