Page 1 of 1

Electronic sound on guest Linux

Posted: 29. May 2020, 23:39
by jfha73
Hey guys, the latest version of VirtualBox for Windows 10 (versions 1909 and 2004) with Linux Guests (Ubuntu, Fedora, etc) are giving electronic sounds for the guests, tried it with and without the additions to the Kernel, also on multiple youtube videos (for testing), I also tried changing the Sound from ICH AC97 to Intel (even though my sound is Realtek)

Any ideas what can be causing this and how to fix it? it was working just fine in previous versions.

Thanks.

Re: Electronic sound on guest Linux

Posted: 30. May 2020, 15:04
by scottgus1
I would try a fresh brand new guest with a new install of Ubuntu. Let the New Guest Wizard pick all of the guest's settings, then you can increase regular and video ram; processors should be 2 for the test (if the host computer can support two) but not more. Don't change anything in the Audio settings. Try the guest and hear what happens.
jfha73 wrote:even though my sound is Realtek
The 'hardware' in a guest is all simulated, except for the CPU, and does not have to match the host PC's hardware.

Re: Electronic sound on guest Linux

Posted: 30. May 2020, 17:37
by jfha73
Tried that, deleted the Linux Guest, installed a new one, gave the new one 8 cores, 8GB of RAM and 128MB of Video RAM, but it made no difference, audio still sounds electronic.

Re: Electronic sound on guest Linux

Posted: 30. May 2020, 19:13
by scottgus1
jfha73 wrote:gave the new one 8 cores
scottgus1 wrote:processors should be 2 for the test (if the host computer can support two) but not more
Can you explain the above discrepancy?

Re: Electronic sound on guest Linux

Posted: 30. May 2020, 21:50
by jfha73
My CPU has 8 cores, so I gave the VM all 8, but I just reduced it to 2, with no luck.

Re: Electronic sound on guest Linux

Posted: 31. May 2020, 03:52
by scottgus1
Giving the guest all the cores of the host might starve the host, and it makes guest processes run slower than if it had less cores.

All guests having unusual audio output is more indicative of either something wrong in the Virtualbox install or something bad in the host OS.

I suppose that the host audio sounds OK? If so try right-clicking the Virtualbox installer for the version you have and reinstall using Run as Administrator, even if you already are an admin.

Re: Electronic sound on guest Linux

Posted: 31. May 2020, 13:59
by jfha73
scottgus1 wrote:Giving the guest all the cores of the host might starve the host, and it makes guest processes run slower than if it had less cores.

All guests having unusual audio output is more indicative of either something wrong in the Virtualbox install or something bad in the host OS.

I suppose that the host audio sounds OK? If so try right-clicking the Virtualbox installer for the version you have and reinstall using Run as Administrator, even if you already are an admin.
I have never had issues with CPUs being starved, my host Audio is just fine, re-installed as administrator, but nothing changed.

As I said before, this wasn't happening with previous versions and I need this because I develop websites (with media in them) so if I cannot test my work properly, how can I tell my clients that my work is done?

Re: Electronic sound on guest Linux

Posted: 1. Jun 2020, 01:21
by jfha73
Never mind, found the issue, it had nothing to do with VirtualBox

Re: Electronic sound on guest Linux

Posted: 1. Jun 2020, 23:50
by scottgus1
What was the problem?