Hello dear community,
I'm sure this issue has been discussed many times. But I tried all the advice I found on the internet. But nothing helped me. That's why I'm asking here.
Host OS: Windows 11, Guest OS: Windows 11.
Host hardware: CPU Ryzen 5 5600X, RAM 16GB.
Dedicated resources for the guest OS: 6 CPU cores, 8GB RAM.
Audio settings
Host audio driver: Windows DirectSound
Audio Controller: Intel HD Audio
Issue:
Sound stuttering on guest OS. Low audio quality.
I tried to change Audio Controller to ICH AC97 and SoundBlaster 16. But it did not help. Also I tried enabling surround sound in the guest OS.
Please help solve the issue
Sound stuttering on guest OS
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Sound stuttering on guest OS
Put the audio back to Intel HD then provide a VM log file. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Sound stuttering on guest OS
The Ryzen 5 5600X is a 6 core CPU.
You don't leave a core free for the host OS to handle the running of the VM, so the host needs to pause the guest evey few time slices.
Could you please try again with only 2 or 4 CPU cores assigned to the guest?
You don't leave a core free for the host OS to handle the running of the VM, so the host needs to pause the guest evey few time slices.
Could you please try again with only 2 or 4 CPU cores assigned to the guest?
Re: Sound stuttering on guest OS
Please check attached log saved from VBox.log tabmpack wrote:Put the audio back to Intel HD then provide a VM log file. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
I tried with 3 CPU cores only... no resultmpack wrote:Put the audio back to Intel HD then provide a VM log file. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
Here recorded audio sample
dropbox. com/s/0tikjeps5k4ot86/audio%20sample.mp3?dl=0[/code]
Music playing on a virtual machine, recorded from the host
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Sound stuttering on guest OS
Stuttering sound is usually a sign of an overloaded VM: i.e. allocating resources the host cannot afford. Note that VirtualBox is a program running on the HOST. CPU cores you allocate to the VM are for guest OS use - they do not help VirtualBox run faster.
So please reduce CPU cores to 2, as I don't trust AMD method of counting cores.
Enable 3D acceleration. This will relieve the VM of a lot of simulated graphics overhead: you should never be using full HD graphics without this.
If the guest OS gives you the option, then reduce the audio output to 16 bit stereo. Simulating 5.1 or 7.1 audio carries a much greater overhead.
So please reduce CPU cores to 2, as I don't trust AMD method of counting cores.
Enable 3D acceleration. This will relieve the VM of a lot of simulated graphics overhead: you should never be using full HD graphics without this.
If the guest OS gives you the option, then reduce the audio output to 16 bit stereo. Simulating 5.1 or 7.1 audio carries a much greater overhead.
Re: Sound stuttering on guest OS
Thanks... I've dedicated 2 cores to the guest VM. And enable 3d acceleration. It seems to have gotten better. I'll check in a few days and let you know.mpack wrote:Stuttering sound is usually a sign of an overloaded VM: i.e. allocating resources the host cannot afford. Note that VirtualBox is a program running on the HOST. CPU cores you allocate to the VM are for guest OS use - they do not help VirtualBox run faster.
So please reduce CPU cores to 2, as I don't trust AMD method of counting cores.
Enable 3D acceleration. This will relieve the VM of a lot of simulated graphics overhead: you should never be using full HD graphics without this.
If the guest OS gives you the option, then reduce the audio output to 16 bit stereo. Simulating 5.1 or 7.1 audio carries a much greater overhead.