VirtualBox

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)

64-2020-07-05-21-54-53.log (159.8 KB ) - added by ChrisMW 4 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by ChrisMW, 4 years ago

The same three outputs with the external cam (this does work) attached

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
  video2   UVC Camera (046d:0991)
    Media controller device /dev/media2 doesn't exist
ERROR: Unable to list device entities: Invalid device or device cannot be opened. (Code: 5)
  video1   Integrated Camera: Integrated C
    Media controller device: /dev/media1
    Entity 1: UVC Camera (046d:0991). Type: 65537, Revision: 0, Flags: 1, Group-id: 0, Pads: 1, Links: 0
      Device node
      Entity: 1, Pad 0, Flags: 1
  video3   UVC Camera (046d:0991)
    Media controller device /dev/media3 doesn't exist
ERROR: Unable to list device entities: Invalid device or device cannot be opened. (Code: 5)

And

UUID:               df50f9fe-6a0b-4067-a51e-db84fa738895
VendorId:           0x046d (046D)
ProductId:          0x0991 (0991)
Revision:           0.8 (0008)
Port:               4
USB version/speed:  2/High
Manufacturer:       Logitech, Inc.
Product:            QuickCam Pro for Notebooks
SerialNumber:       A0594D16
Address:            sysfs:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5//device:/dev/vboxusb/001/012
Current State:      Busy

UUID:               2bdb4168-1b3b-4285-bec7-c673bc637095
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

and the list webcams

.1 "Integrated Camera: Integrated C"
/dev/video0
.2 "Integrated Camera: Integrated C"
/dev/video1
.3 "UVC Camera (046d:0991)"
/dev/video2
.4 "UVC Camera (046d:0991)"
/dev/video3

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?

comment:2 by ChrisMW, 4 years ago

Still present as a bug in Version 6.1.10 r138449 (Qt5.14.2)

comment:3 by aeichner, 4 years ago

Resolution: invalid
Status: newclosed
Summary: Webcam Lenovo P50 doesn't workWebcam 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 ChrisMW, 4 years ago

Attachment: 64-2020-07-05-21-54-53.log added

comment:4 by ChrisMW, 4 years ago

I've uploaded the VB log.

Three scenarios in this log

  1. Use the P50 camera, map both cam devices (camera's show up twice), result blue screen
  2. Use a external camera, map both, no image (again, shows up a 2 camera's in the Webcam menu of VB)
  3. Un mapped the second camera, so the 1 start external camera device now sends a capturable image
  4. Remove external cam, replayed screnario 3 for the P50 camera, no camera detected by software, Windows says there's one installed.
  5. 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 ChrisMW, 4 years ago

Resolution: invalid
Status: closedreopened

comment:6 by ChrisMW, 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.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use