Audio / Video on host system stops working when virtualbox is run

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Lokesh
Posts: 2
Joined: 3. Oct 2020, 20:41

Audio / Video on host system stops working when virtualbox is run

Post by Lokesh »

Hello

I have a peculiar problem while running VirtualBox.

The Audio / Video of the host system stops working when a VM is spawned using Virtual Box.

Virtual Box version : 6.1

Host OS Version :
lokesh@lokesh-ThinkPad-L490:~/git/rdma-core$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
VERSION_ID="20.04"

I am using "vagrant reload / up /suspend" commands to boot / shutdown the VMs.

This has become a major problem for me as I am not able to attend the official calls now when the VM is on as the audio does not work. As soon as I power off the VM, the media (audio / video) starts working again. There is a beep sound that comes when the VM is powered off.

Any type of solution is welcome.
Thanks!
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Audio / Video on host system stops working when virtualbox is run

Post by scottgus1 »

Vagrant is not supported here on the Virtualbox forum. Vagrant just happens to use Virtualbox, and they have their own support forums.

If you can start a fresh new guest from the main Virtualbox window, without using Vagrant or any guest made by Vagrant, and still have the same problem, then please continue:

Start the non-Vagrant guest from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the guest from within the guest OS if possible. If not possible, close the Virtualbox window for the guest with the Power Off option set.

Right-click the guest in the main Virtualbox window's guest list, choose Show Log. Save the far left tab's log, zip it, and post the zip file, using the forum's Upload Attachment tab.

Also, Right-click the guest in the main Virtualbox window's guest list, choose Show in Explorer. Zip the guest's .vbox file, and post the zip file, using the forum's Upload Attachment tab.
Lokesh
Posts: 2
Joined: 3. Oct 2020, 20:41

Re: Audio / Video on host system stops working when virtualbox is run

Post by Lokesh »

I think it has nothing to do with vagrant.

Looks like the VM takes the control of audio / video from the host OS when the VM is switched on.

Is there any way to stop the VM from using audio and video?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Audio / Video on host system stops working when virtualbox is run

Post by scottgus1 »

Lokesh wrote:Is there any way to stop the VM from using audio and video?
Install the guest true headless by using the "none" video card, and disable Audio in the guest's Audio settings.
Lokesh wrote:I think it has nothing to do with vagrant.
I guess that's that, then.
Post Reply