Electronic sound on guest Linux

Discussions related to using VirtualBox on Windows hosts.
Post Reply
jfha73
Posts: 8
Joined: 25. Feb 2019, 20:19

Electronic sound on guest Linux

Post 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.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Electronic sound on guest Linux

Post 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.
jfha73
Posts: 8
Joined: 25. Feb 2019, 20:19

Re: Electronic sound on guest Linux

Post 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.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Electronic sound on guest Linux

Post 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?
jfha73
Posts: 8
Joined: 25. Feb 2019, 20:19

Re: Electronic sound on guest Linux

Post by jfha73 »

My CPU has 8 cores, so I gave the VM all 8, but I just reduced it to 2, with no luck.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Electronic sound on guest Linux

Post 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.
jfha73
Posts: 8
Joined: 25. Feb 2019, 20:19

Re: Electronic sound on guest Linux

Post 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?
jfha73
Posts: 8
Joined: 25. Feb 2019, 20:19

Re: Electronic sound on guest Linux

Post by jfha73 »

Never mind, found the issue, it had nothing to do with VirtualBox
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Electronic sound on guest Linux

Post by scottgus1 »

What was the problem?
Post Reply