Linux guests webcam and microphone

Discussions related to using VirtualBox on Windows hosts.
Post Reply
freedom4life
Posts: 11
Joined: 16. Jan 2023, 19:34

Linux guests webcam and microphone

Post by freedom4life »

When I use the Zorin OS on the VM, to activate webcam and microphone, it seems not to work. On Mint, it did work but it was incredibly slow. What seems to be the issue there?
Last edited by scottgus1 on 28. Jan 2023, 23:55, edited 1 time in total.
Reason: changed topic title
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Linux guests webcam and microphone

Post by scottgus1 »

Split to a separate topic. One issue per thread

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

Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. In the "Logs" subfolder, zip the VM's "vbox.log", and post the zip file, using the forum's Upload Attachment tab. (Configure your host OS to show all extensions so you can find the "vbox.log", not "vbox.log.1", etc.)
freedom4life
Posts: 11
Joined: 16. Jan 2023, 19:34

Re: Linux guests webcam and microphone

Post by freedom4life »

scottgus1 wrote:Split to a separate topic. One issue per thread

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

Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. In the "Logs" subfolder, zip the VM's "vbox.log", and post the zip file, using the forum's Upload Attachment tab. (Configure your host OS to show all extensions so you can find the "vbox.log", not "vbox.log.1", etc.)
See attached files
Attachments
Mint VBox Log.zip
(180.13 KiB) Downloaded 1 time
Zorin VBox Log.zip
(185.97 KiB) Downloaded 1 time
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Linux guests webcam and microphone

Post by scottgus1 »

The Mint VM was save-stated:
00:01:44.385548 Console: Machine state changed to 'Restoring'
scottgus1 wrote:Start the VM from full normal shutdown, not save-state.
*******************
Virtualbox and Extension Pack are mismatched:
00:00:07.312657 VirtualBox VM 7.0.6 r155176 win.amd64 (Jan 11 2023 16:38:38) release log
00:00:07.419297 Installed Extension Packs:
00:00:07.419316 Oracle VM VirtualBox Extension Pack (Version: 7.0.4 r154605; VRDE Module: VBoxVRDP; Crypto Module: VBoxPuelCrypto)
*******************
Webcam passthrough is part of the extension Pack. A mismatched EP might cause webcam troubles. EP should match Virtualbox version.
freedom4life
Posts: 11
Joined: 16. Jan 2023, 19:34

Re: Linux guests webcam and microphone

Post by freedom4life »

scottgus1 wrote:The Mint VM was save-stated:
00:01:44.385548 Console: Machine state changed to 'Restoring'
scottgus1 wrote:Start the VM from full normal shutdown, not save-state.
*******************
Virtualbox and Extension Pack are mismatched:
00:00:07.312657 VirtualBox VM 7.0.6 r155176 win.amd64 (Jan 11 2023 16:38:38) release log
00:00:07.419297 Installed Extension Packs:
00:00:07.419316 Oracle VM VirtualBox Extension Pack (Version: 7.0.4 r154605; VRDE Module: VBoxVRDP; Crypto Module: VBoxPuelCrypto)
*******************
Webcam passthrough is part of the extension Pack. A mismatched EP might cause webcam troubles. EP should match Virtualbox version.
Here are the attachments with errors addressed. I had to downgrade to Virtual Box 7.0.4 because I was getting the E_FAIL 0X80004005 each time I upgrade extension pack on 7.0.6.
Attachments
Zorin VBox Log.zip
(182.74 KiB) Not downloaded yet
Mint VBox Log.zip
(179.44 KiB) Not downloaded yet
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Linux guests webcam and microphone

Post by scottgus1 »

"E_FAIL 0X80004005" is not enough to tell what the problem was. That 'code' is in just about every error Virtualbox ever has had since the beginning of time, and it basically means Oops. :lol: Please go back to 7.0.6 on both and report what the error message says.

7.0 is in bug-hunt phase and 7.0.6 will have less bugs than 7.0.4.
freedom4life
Posts: 11
Joined: 16. Jan 2023, 19:34

Re: Linux guests webcam and microphone

Post by freedom4life »

scottgus1 wrote:"E_FAIL 0X80004005" is not enough to tell what the problem was. That 'code' is in just about every error Virtualbox ever has had since the beginning of time, and it basically means Oops. :lol: Please go back to 7.0.6 on both and report what the error message says.

7.0 is in bug-hunt phase and 7.0.6 will have less bugs than 7.0.4.
I was able to solve the congruency of Virtual Box 7.0.6 and Extension Pack 7.0.6

I needed to gain admin privileges. I do not use a Windows local account as admin. But anyway solved.

I tested to see whether the microphone and webcam works. I have checked the microphone on both Mint and Zorin VMs work but the webcams do not work. Here below are the attachments.
Attachments
Zorin VBox Log.zip
(180.7 KiB) Downloaded 1 time
Mint VBox Log.zip
(176.09 KiB) Downloaded 1 time
freedom4life
Posts: 11
Joined: 16. Jan 2023, 19:34

Re: Linux guests webcam and microphone

Post by freedom4life »

@scottgus1 I am patiently awaiting any updates or progress on this.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Linux guests webcam and microphone

Post by scottgus1 »

You'll need to wait for a forum guru experienced with webcams and microphones in the VM. I don't know enough personally about what to look for in the logs. But at least you have the Virtualbox and Extension Pack versions matched, that's good.

Keep in mind we're all Virtualbox users here, no one is an Oracle employee except for the posters that have "Oracle" in their description.
freedom4life
Posts: 11
Joined: 16. Jan 2023, 19:34

Re: Linux guests webcam and microphone

Post by freedom4life »

That's fine. It's okay. I'll just wait and continue to test things out
Post Reply