webcam is detected but not working

Asked by Afsal Rahman

webcam is detected not working under kernel 5.4.0.33 and 5.4.0.31 . The webcam is functional with kernels 5.0 and 5.6.15 .
-usb:1
                      description: Video
                      product: USB 2.0 Web Camera
                      vendor: Alcor Micro, Corp.
                      physical id: 2
                      bus info: usb@1:1.2
                      version: 0.08
                      capabilities: usb-2.00
                      configuration: driver=uvcvideo maxpower=200mA speed=480Mbit/s

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Afsal Rahman
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsusb; lsb_release -a; uname -a

Thanks

Revision history for this message
Afsal Rahman (afsalriha) said :
#2

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 1d0b:0021 HAN HUA CABLE & WIRE TECHNOLOGY (J.X.) CO., LTD.
Bus 001 Device 003: ID 058f:5608 Alcor Micro Corp.
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
Linux afsal-Excelance 5.4.0-33-generic #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

If you run:

sudo cheese

Do you see yourself OK?

Revision history for this message
Afsal Rahman (afsalriha) said :
#4

Running cheese with admin privilege yields the same dark screen .

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Is the webcam built into the system or is it an external USB webcam?

Revision history for this message
Afsal Rahman (afsalriha) said :
#6

This webcam is buit into my system .
product home page 👉 https://www.iball.co.in/Product/Excelance/11187

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Yikes, surprised it ran Windows 10 with 32Gb of storage.

If there a button or shortcut to enable / disable the webcam? Have you tried that whilst cheese is running?

Revision history for this message
Afsal Rahman (afsalriha) said :
#8

i had 15+ gigs of free space after a fresh installation of windows 10 😅

There is no button or shortcut to enable / disable the webcam . surprisingly this webcam is very functional with kernels 5.0 and 5.6.15 , and not even get detected with kernel 5.4 .

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

I suggest you report a bug

Revision history for this message
Afsal Rahman (afsalriha) said :
#10

waiting for the next kernel update . if its not getting solved with it , i will definitely file a bug report .

Revision history for this message
Andrei Hryshanovich (ahryshanovich) said :
#11

I have Ubuntu 19.10 and faced this issue several days ago after updating from 5.3.0-53 kernel to 5.3.0-55.

Revision history for this message
Afsal Rahman (afsalriha) said :
#12

https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1881757

 from launchpad bug tracker :-
Status changed to 'Confirmed' because the bug affects multiple users.

changed in linux-signed (Ubuntu):
status: New → Confirmed

Revision history for this message
Afsal Rahman (afsalriha) said :
#13

issue solved in 5.4.0-37-generic

Revision history for this message
Dave Mann (cwo4mann) said :
#14

Just tested today before a Zoom Call:

(cheese:217294): cheese-WARNING **: 14:57:25.628: Internal GStreamer error: code not implemented. Please file a bug at https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/new.: ../gst-libs/gst/video/gstvideofilter.c(296): gst_video_filter_transform (): /GstCameraBin:camerabin/GstEncodeBin:video-encodebin/GstVideoConvert:videoconvert1:
invalid video buffer received

Same problem as it records a few seconds of video then halts and must be killed from terminal.
Wondering about the "invalid video buffer received" error which stopped it.

Thanks for advice.