Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

Webcam troubles in VM

$
0
0
Hello community,

First of, I hope that this is in the proper section.

Alright guys, this is driving me insane! My webcam in Virtual Box won't work.

I am running Ubuntu 14.04.3 LTS in Virtual Box 5.0.6, on a Windows 10 host. I need a webcam for a computer vision project in OpenCV.

I specifically bought the Trust SpotLight Webcam Pro since it was supposed to work as per this list. When I run the video.py test I just get a black screen.

When I run lsusb it gives me this (seems like the webcam is recognised):

Code:

Bus 001 Device 002: ID 0c45:6340 Microdia
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Cheese also gives me a black screen, and returns this in the terminal:

Code:

libGL error: pci id for fd 10: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo

I added the USB device filter in the VirtualBox settings (3D acceleration is off), however when I hover over the filter I see that the state is not supported.

Can this be fixed, or should I return my webcam and get a new one? If so, how would I know which one will work since the list obviously contains errors.

Thank you.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>