Page 1 of 1

Ubuntu 20.4 Guest and Webcam Broke?

Posted: 19. Apr 2021, 20:31
by Rayj2016
I have VirtualBox Version 6.1.18 r142142 (Qt5.6.2) installed on Windows 10 Pro.
I have created an Ubuntu 20.4 Desktop, The VM seems to run pretty slow but
the issue I am having is Webcam related.

First, I run the tests at https://webcasts.com/webrtc from my host Windows 10 and it
passes everything with flying colors.

Next, I fire up the Ubuntu VirtualBox, configure the USB settings to my webcam and
run the webrtc tests. It has a couple of errors: For the Audio tests, there is one FAILED test:

[FAILED} No active input channels detected. Microphone is most likely muted or broken, please check if muted in the sound
settings or physically on the device. Then rerun the test.

For the video tests:
[WARN] Your camera reported itself as muted.
[INFO] isMuted: true
[INFO] Cannot verify sent FPS.
[FAILED] Incorrect captured resolution.
[FAILED] Camera delivering lots of black frames.

I've attached VBox.log

I also noticed the only way to return the Webcam to the host is to power down the VM.

Ideas?

Thanks,

Ray

Re: Ubuntu 20.4 Guest and Webcam Broke?

Posted: 19. Apr 2021, 22:56
by Rayj2016
Ok, I managed to get around these issues by changing the VM USB setting to USB 3.0 (xHCI) Controller!!!
I can't explain why this fixed it. My camera is not a USB 3.0 camera.

I suspect there were some development fixes that were put in 3.0 that didn't get put in 2.0 or 1.0 code?
(3.0 is supposed to be backward compatible with 2.0?)

Anyway, all is well now.

Ray

Re: Ubuntu 20.4 Guest and Webcam Broke?

Posted: 19. Apr 2021, 23:12
by scottgus1
Great that you kept hunting for a solution!

The gurus have said that the USB 3 implementation is better than the 1 & 2 implementations. Maybe that is helping.

Re: Ubuntu 20.4 Guest and Webcam Broke?

Posted: 20. Apr 2021, 00:56
by Rayj2016
scottgus1 wrote:Great that you kept hunting for a solution!

The gurus have said that the USB 3 implementation is better than the 1 & 2 implementations. Maybe that is helping.
Thanks. I needed webcam working on VBox so I can do some development.

Ray