Opened 4 years ago
Last modified 3 years ago
#19510 reopened defect
Webcam Lenovo P50 doesn't work => insufficient information provided
Reported by: | ChrisMW | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 6.1.6 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Linux |
Description
I have a Lenovo P50, with 64Gb RAM, 1.5TB disk. It runs KDE Neon (so Ubuntu 18.04 LTS under the hood). But I have the same problem on LMDE 3, LMDE 4, since VB 5.1.22.
On all systems, the linux app cheese works properly and displays the video stream from the camera.
Windows clients have 2 webcams, and I can attach both to a client. The first does not result in a recognised device, the second does, but the video stream shows a blue rectangle.
The laptop runs intel video and NVidia (MX1000 I think). Makes no difference, same effect. Audio is currently working perfectly, no detectable lag. VM performance is overall good. Windows VM's run with 2 cpu's, 8192MB Ram, virtio NIC and Hyper-V interface. No other issues.
Under Linux the camera shows as
Listing available devices: video0 Integrated Camera: Integrated C Media controller device: /dev/media0 Entity 1: Integrated Camera: Integrated C. Type: 65537, Revision: 0, Flags: 1, Group-id: 0, Pads: 1, Links: 0 Device node Entity: 1, Pad 0, Flags: 1 video1 Integrated Camera: Integrated C Media controller device /dev/media1 doesn't exist ERROR: Unable to list device entities: Invalid device or device cannot be opened. (Code: 5)
Cheese sees only 1 device. VB sees 2.
VBManage list usbhost yields this for the camera
UUID: ffc18e87-da01-4b0b-a446-71749f1d68e2 VendorId: 0x04f2 (04F2) ProductId: 0xb52c (B52C) Revision: 0.41 (0041) Port: 7 USB version/speed: 2/High Manufacturer: Chicony Electronics Co.,Ltd. Product: Integrated Camera SerialNumber: 0001 Address: sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8//device:/dev/vboxusb/001/003 Current State: Busy
VBoxManage list webcams gives me:
Video Input Devices: 2 .1 "Integrated Camera: Integrated C" /dev/video0 .2 "Integrated Camera: Integrated C" /dev/video1
Attaching 1 from the menu doesn't do anything. Attaching 2 does, a webcam is detected, but a blue screen image is all I see.
An external USB webcam works perfectly. I am assuming it is related to the double entry, the client device detection seems to trigger on /dev/video1, rather than /dev/video0. The host seems to be indicating that /dev/video1 is not the one to use.
Attachments (1)
Change History (7)
comment:1 by , 4 years ago
comment:3 by , 4 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Summary: | Webcam Lenovo P50 doesn't work → Webcam Lenovo P50 doesn't work => insufficient information provided |
Please attach a full VBox.log of the Vm where you tried to pass through the webcam. Otherwise we can only take guesses about your VM config which won't bring us any further. Please reopen the ticket when the VBox.log is attached.
by , 4 years ago
Attachment: | 64-2020-07-05-21-54-53.log added |
---|
comment:4 by , 4 years ago
I've uploaded the VB log.
Three scenarios in this log
- Use the P50 camera, map both cam devices (camera's show up twice), result blue screen
- Use a external camera, map both, no image (again, shows up a 2 camera's in the Webcam menu of VB)
- Un mapped the second camera, so the 1 start external camera device now sends a capturable image
- Remove external cam, replayed screnario 3 for the P50 camera, no camera detected by software, Windows says there's one installed.
- Unmapped the first device mention of the P50, mapped the second only ==> camera shows in Cam software, but only a blue screen is captured from the camera.
Hope this is what you need.....
comment:5 by , 4 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:6 by , 3 years ago
Why is this closed, without comment as invalid? There was a request for a log, I provided the log and the camera still doesn't passthrough correctly.
The same three outputs with the external cam (this does work) attached
And
and the list webcams
I still have two webcams listed, but now the first one works well, the second one gives me a blue screen. So the difference with the inbuilt cam and the external cam is the recognition of the first entry. Under Linux the Cheese application can access both, but prefers the external and doesn't like switching.
Is there any app that might give me more info on what's going on?