Webcams Disappear & Other Issues?

I'm having some strange issues with some webcams.

I got 2 (about $40 webcams) recently, and the system is having some strange issues running them. The Zoom app works ok with them for a time, but after a few minutes, one will just stop sending data.

If I click on it in zoom, the page switches to my profile picture instead of the camera (like the camera didn't exist). In OBS this manifests as a similar phenomena where the facecam I have set up is invisible due to it not having a data source. This happens consistently, and is kind of ruining my streaming experience since I'm limited to one webcam at a time (which one it is seems random). If I unplug and replug, one comes back and the other seemingly dies.

How can I resolve these issues and get a normally functioning camera experience?
lsusb:

Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 1224:2a25 Jieli Technology USB PHY 2.0
Bus 005 Device 010: ID 0781:5151 SanDisk Corp. Cruzer Micro Flash Drive
Bus 005 Device 009: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 005 Device 008: ID 256c:006e  
Bus 005 Device 007: ID 04f3:152e Elan Microelectronics Corp. 
Bus 005 Device 006: ID 0930:6544 Toshiba Corp. TransMemory-Mini / Kingston DataTraveler 2.0 Stick
Bus 005 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 005 Device 004: ID 1bcf:08a0 Sunplus Innovation Technology Inc. USB 2.0 Hub [MTT]
Bus 005 Device 002: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 0b05:18f3 ASUSTek Computer, Inc. AURA LED Controller
Bus 003 Device 002: ID 0451:e012 Texas Instruments, Inc. TI-Nspire Calculator
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 013: ID 0c45:6367 Microdia USB 2.0 Camera
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Inxi:

System:    Host: MidnightStarSign Kernel: 5.7.9-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 
           Desktop: KDE Plasma 5.19.3 Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME X570-PRO v: Rev X.0x serial: <root required> 
           UEFI: American Megatrends v: 1407 date: 04/02/2020 
CPU:       Topology: 6-Core model: AMD Ryzen 5 3600 bits: 64 type: MT MCP arch: Zen L2 cache: 3072 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 94839 
           Speed: 3950 MHz min/max: 2200/3950 MHz Core speeds (MHz): 1: 3950 2: 3950 3: 3950 4: 3950 
           5: 3950 6: 3949 7: 3950 8: 3950 9: 3950 10: 3950 11: 3950 12: 3950 
Graphics:  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] vendor: ASRock driver: amdgpu 
           v: kernel bus ID: 0a:00.0 
           Display: x11 server: X.Org 1.20.8 driver: amdgpu FAILED: ati unloaded: modesetting,radeon 
           resolution: 1920x1080~60Hz, 1920x1080~60Hz, 1920x1080~75Hz 
           OpenGL: renderer: AMD Radeon RX 5600 XT (NAVI10 DRM 3.37.0 5.7.9-1-MANJARO LLVM 10.0.0) 
           v: 4.6 Mesa 20.1.3 direct render: Yes 
Audio:     Device-1: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel bus ID: 0a:00.1 
           Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 0c:00.4 
           Device-3: Microdia USB 2.0 Camera type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-2:13 
           Device-4: Jieli USB PHY 2.0 type: USB driver: snd-usb-audio,uvcvideo bus ID: 5-2:3 
           Sound Server: ALSA v: k5.7.9-1-MANJARO 
Network:   Device-1: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: 5.6.0-k port: f000 
           bus ID: 04:00.0 
           IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: 24:4b:fe:5b:08:2a 
Drives:    Local Storage: total: 4.64 TiB used: 1.59 TiB (34.3%) 
           ID-1: /dev/nvme0n1 vendor: Western Digital model: WDS100T2B0C-00PXH0 size: 931.51 GiB 
           ID-2: /dev/sda vendor: Seagate model: ST2000LM015-2E8174 size: 1.82 TiB 
           ID-3: /dev/sdb vendor: Seagate model: ST380815AS size: 74.51 GiB 
           ID-4: /dev/sdc vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB 
           ID-5: /dev/sdd vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB 
           ID-6: /dev/sde type: USB vendor: Toshiba model: TransMemory size: 14.92 GiB 
           ID-7: /dev/sdf type: USB vendor: SanDisk model: Gaming Xbox 360 size: 7.48 GiB 
Partition: ID-1: / size: 767.00 GiB used: 433.58 GiB (56.5%) fs: btrfs dev: /dev/dm-0 
           ID-2: /home size: 767.00 GiB used: 433.58 GiB (56.5%) fs: btrfs dev: /dev/dm-0 
           ID-3: swap-1 size: 64.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-1 
Sensors:   System Temperatures: cpu: 59.6 C mobo: N/A gpu: amdgpu temp: 54 C 
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 0 
Info:      Processes: 468 Uptime: 48m Memory: 31.33 GiB used: 7.15 GiB (22.8%) Init: systemd Compilers: 
           gcc: 10.1.0 Shell: bash v: 5.0.18 inxi: 3.0.37

EDIT 0: More Troubleshooting
At @Megavolt 's suggestion:

sarah@MidnightStarSign:~$ journalctl --dmesg --grep="uvcvideo"
-- Logs begin at Thu 2020-07-23 15:05:07 EDT, end at Sun 2020-08-09 01:04:01 EDT. --
Aug 08 23:55:47 MidnightStarSign kernel: uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:6367)
Aug 08 23:55:47 MidnightStarSign kernel: uvcvideo 1-2:1.0: Entity type for entity Extension 4 was not initiali>
Aug 08 23:55:47 MidnightStarSign kernel: uvcvideo 1-2:1.0: Entity type for entity Extension 3 was not initiali>
Aug 08 23:55:47 MidnightStarSign kernel: uvcvideo 1-2:1.0: Entity type for entity Processing 2 was not initial>
Aug 08 23:55:47 MidnightStarSign kernel: uvcvideo 1-2:1.0: Entity type for entity Camera 1 was not initialized!
Aug 08 23:55:48 MidnightStarSign kernel: uvcvideo: Found UVC 1.00 device USB PHY 2.0 (1224:2a25)
Aug 08 23:55:48 MidnightStarSign kernel: uvcvideo 5-2:1.0: Entity type for entity Extension 4 was not initiali>
Aug 08 23:55:48 MidnightStarSign kernel: uvcvideo 5-2:1.0: Entity type for entity Extension 3 was not initiali>
Aug 08 23:55:48 MidnightStarSign kernel: uvcvideo 5-2:1.0: Entity type for entity Processing 2 was not initial>
Aug 08 23:55:48 MidnightStarSign kernel: uvcvideo 5-2:1.0: Entity type for entity Camera 1 was not initialized!
Aug 08 23:55:48 MidnightStarSign kernel: usbcore: registered new interface driver uvcvideo
Aug 09 00:08:20 MidnightStarSign kernel: uvcvideo: Failed to resubmit video URB (-19).
Aug 09 00:08:20 MidnightStarSign kernel: uvcvideo: Failed to resubmit video URB (-19).
Aug 09 00:08:20 MidnightStarSign kernel: uvcvideo: Failed to resubmit video URB (-19).
Aug 09 00:08:20 MidnightStarSign kernel: uvcvideo: Failed to resubmit video URB (-19).
Aug 09 00:08:20 MidnightStarSign kernel: uvcvideo: Failed to resubmit video URB (-19).
Aug 09 00:08:22 MidnightStarSign kernel: uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:6367)
Aug 09 00:08:22 MidnightStarSign kernel: uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling>
Aug 09 00:08:22 MidnightStarSign kernel: uvcvideo: Failed to query (129) UVC probe control : -71 (exp. 26).
Aug 09 00:08:22 MidnightStarSign kernel: uvcvideo: Failed to initialize the device (-5).
Aug 09 00:08:25 MidnightStarSign kernel: uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:6367)
Aug 09 00:08:25 MidnightStarSign kernel: uvcvideo 1-2:1.0: Entity type for entity Extension 4 was not initiali>
Aug 09 00:08:25 MidnightStarSign kernel: uvcvideo 1-2:1.0: Entity type for entity Extension 3 was not initiali>
Aug 09 00:08:25 MidnightStarSign kernel: uvcvideo 1-2:1.0: Entity type for entity Processing 2 was not initial>
Aug 09 00:08:25 MidnightStarSign kernel: uvcvideo 1-2:1.0: Entity type for entity Camera 1 was not initialized!
Aug 09 00:28:33 MidnightStarSign kernel: uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:6367)
Aug 09 00:28:33 MidnightStarSign kernel: uvcvideo 1-2:1.0: Entity type for entity Extension 4 was not initiali>

and:


sarah@MidnightStarSign:~$ v4l2-ctl --all
Driver Info:
        Driver name      : uvcvideo
        Card type        : USB 2.0 Camera: USB Camera
        Bus info         : usb-0000:05:00.1-2
        Driver version   : 5.7.9
        Capabilities     : 0x84a00001
                Video Capture
                Metadata Capture
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps      : 0x04200001
                Video Capture
                Streaming
                Extended Pix Format
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
        Width/Height      : 1280/720
        Pixel Format      : 'MJPG' (Motion-JPEG)
        Field             : None
        Bytes per Line    : 0
        Size Image        : 1843789
        Colorspace        : Default
        Transfer Function : Default (maps to Rec. 709)
        YCbCr/HSV Encoding: Default (maps to ITU-R 601)
        Quantization      : Default (maps to Full Range)
        Flags             : 
Crop Capability Video Capture:
        Bounds      : Left 0, Top 0, Width 1280, Height 720
        Default     : Left 0, Top 0, Width 1280, Height 720
        Pixel Aspect: 1/1
Selection Video Capture: crop_default, Left 0, Top 0, Width 1280, Height 720, Flags: 
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 1280, Height 720, Flags: 
Streaming Parameters Video Capture:
        Capabilities     : timeperframe
        Frames per second: 30.000 (30/1)
        Read buffers     : 0
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=64 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=128 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-40 max=40 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=72 max=500 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=0 max=100 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=1
                                0: Disabled
                                1: 50 Hz
                                2: 60 Hz
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=6 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3
                                1: Manual Mode
                                3: Aperture Priority Mode
              exposure_absolute 0x009a0902 (int)    : min=1 max=5000 step=1 default=157 value=157 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1

Hi!

For troubleshooting it would be nice if you could post the output of:

journalctl --dmesg --grep="uvcvideo"

and

v4l2-ctl --all

Yepp seems to be a bug OR it is just a power issue of the usb. Maybe an easy solution, but have you tried to unplug all unnecessary USB Devices and just use the 2 webcams?

I do not believe it is a power issue since I do NOT have them plugged into the port hub.

The port hub has it's own 12V DC plug that goes into the AC socket. The feed for both webcams are straight from the motherboard.

Just curious, what is the bug reporting mechanism for Manjaro? I'm unfamiliar with it. Also, what the average turn around time for certain bugs like this?

Could you try this?

webcam 1
mplayer tv:// -tv driver=v4l2:width=800:height=600:device=/dev/video0:fps=30

webcam 2
mplayer tv:// -tv driver=v4l2:width=800:height=600:device=/dev/video1:fps=30

It will trigger the webcam directly.

The first one worked, the second one failed with this (which is strange since /dev/video1 exists):

sarah@MidnightStarSign:~$ mplayer tv:// -tv driver=v4l2:width=800:height=600:device=/dev/video1:fps=30
MPlayer SVN-r38157 (C) 2000-2019 MPlayer Team
225 audio & 468 video codecs
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
v4l2: ioctl get format failed: Invalid argument
v4l2: ioctl set mute failed: Inappropriate ioctl for device
v4l2: 0 frames successfully processed, 0 frames dropped.


Exiting... (End of file)

EDIT: For some reason, it's /dev/video 1 & 2, not 0 & 1
They both work for video1 and video 2

Just to rule out a specific firmware problem:

unplug both webcams and plugin this one:

Bus 005 Device 003: ID 1224:2a25 Jieli Technology USB PHY 2.0

then

mplayer tv:// -tv driver=v4l2:width=800:height=600:device=/dev/video0:fps=30

Does it work?

EDIT:

Whupps... see it now.

I unplugged then both then plugged in the one that you requested. It worked.

I don't know what video 0 is though. That's not something I recognize.

Ok it is definitely not the webcam that causes the problems. And mplayer can handle them. I guess it is the program that didn't find the webcam.

Maybe it's more of an OBS issue?

I would suggest to look more for an OBS issue. Yes. Maybe it is possible to trigger the webcam directly in OBS like in mplayer? Sorry i don't use OBS.

/dev/video0 ... 1 ... 2 are just "mountpoints" for devices. If the kernel recognizes a webcam for
example it will be assigned to /dev/video0-9 ...

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by