You are not logged in.

#1 2020-11-16 09:36:29

Rixxo
Member
Registered: 2020-11-15
Posts: 2

Webcam issue black screen

Hi everyone,

I am experiencing issues with my webcam on Wayland and Xorg with Gnome. It doesn't working with Cheese, since I see a black square; and doesn't work with Google Hangout/Meet (on Firefox, Chromium, or Gnome Web). However, it does work with Zoom. I have done some troubleshooting, and I am not able to figure out the problem. The webcam is recognized by the system and does work if you try to capture its stream into a file. For example, I have run the following command, and I was able to see my face in the video that was generated:

ffmpeg -f v4l2 -framerate 90 -video_size 1280x720 -input_format mjpeg -i /dev/video0 out.mkv

To share some general info about the status of my system:

$ dmesg | grep "usb 1-7"
[    1.993552] usb 1-7: new high-speed USB device number 3 using xhci_hcd
[    2.246939] usb 1-7: New USB device found, idVendor=0bda, idProduct=579f, bcdDevice= 0.02
[    2.246944] usb 1-7: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    2.246947] usb 1-7: Product: USB Camera
[    2.246949] usb 1-7: Manufacturer: 11121119-000JM312X
[    2.246951] usb 1-7: SerialNumber: 200901010001
$ dmesg | grep Camera
[    2.246947] usb 1-7: Product: USB Camera
[   55.970797] uvcvideo: Found UVC 1.00 device USB Camera (0bda:579f)
[   55.985396] input: USB Camera: USB Camera as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/input/input14
$ v4l2-ctl --list-devices
USB Camera: USB Camera (usb-0000:00:14.0-7):
	/dev/video0
	/dev/video1
	/dev/media0
$ v4l2-ctl --list-ctrls
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=100 step=1 default=50 value=50
                     saturation 0x00980902 (int)    : min=0 max=100 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-180 max=180 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=100 max=500 step=1 default=300 value=300
                           gain 0x00980913 (int)    : min=0 max=64 step=1 default=0 value=0
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=1
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=10 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=100 step=1 default=50 value=50
         backlight_compensation 0x0098091c (int)    : min=0 max=1 step=1 default=0 value=0
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=1
$ lsmod
Module                  Size  Used by
snd_seq_dummy          16384  0
snd_hrtimer            16384  1
snd_seq                86016  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
uhid                   20480  1
ccm                    20480  6
rfcomm                 90112  16
fuse                  139264  3
joydev                 28672  0
input_leds             16384  0
mousedev               24576  0
nvidia_drm             57344  0
nvidia_modeset       1220608  1 nvidia_drm
snd_hda_codec_hdmi     73728  2
cmac                   16384  9
algif_hash             16384  4
algif_skcipher         16384  4
af_alg                 28672  18 algif_hash,algif_skcipher
bnep                   28672  2
snd_hda_codec_realtek   143360  1
snd_hda_codec_generic    94208  1 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
intel_rapl_msr         20480  0
intel_rapl_common      28672  1 intel_rapl_msr
nvidia              27746304  25 nvidia_modeset
hid_rmi                24576  0
rmi_core               86016  1 hid_rmi
8250_dw                16384  0
serio                  28672  1 rmi_core
mei_hdcp               24576  0
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
intel_wmi_thunderbolt    20480  0
mxm_wmi                16384  0
ath10k_pci             65536  0
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
coretemp               20480  0
ath10k_core           602112  1 ath10k_pci
kvm_intel             323584  0
ath                    36864  1 ath10k_core
uvcvideo              114688  0
i915                 2392064  8
mac80211              974848  1 ath10k_core
videobuf2_vmalloc      20480  1 uvcvideo
kvm                   794624  1 kvm_intel
videobuf2_memops       20480  1 videobuf2_vmalloc
snd_hda_intel          53248  6
snd_intel_nhlt         20480  1 snd_hda_intel
videobuf2_v4l2         28672  1 uvcvideo
videobuf2_common       57344  2 videobuf2_v4l2,uvcvideo
btusb                  65536  0
snd_hda_codec         159744  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
irqbypass              16384  1 kvm
btrtl                  24576  1 btusb
rapl                   16384  0
videodev              249856  3 videobuf2_v4l2,uvcvideo,videobuf2_common
btbcm                  16384  1 btusb
snd_hda_core          102400  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
btintel                28672  1 btusb
intel_cstate           16384  0
bluetooth             679936  45 btrtl,btintel,btbcm,bnep,btusb,rfcomm
snd_hwdep              16384  1 snd_hda_codec
i2c_algo_bit           16384  1 i915
intel_uncore          147456  0
cfg80211              843776  3 ath,mac80211,ath10k_core
pcspkr                 16384  0
razerkbd               81920  0
mc                     61440  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_pcm               143360  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
ecdh_generic           16384  2 bluetooth
drm_kms_helper        221184  2 nvidia_drm,i915
ecc                    32768  1 ecdh_generic
snd_timer              40960  3 snd_seq,snd_hrtimer,snd_pcm
rfkill                 28672  8 bluetooth,cfg80211
snd                   110592  24 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
mei_me                 45056  1
i2c_i801               36864  0
libarc4                16384  1 mac80211
intel_gtt              24576  1 i915
mei                   118784  3 mei_hdcp,mei_me
syscopyarea            16384  1 drm_kms_helper
soundcore              16384  1 snd
intel_lpss_pci         20480  0
sysfillrect            16384  1 drm_kms_helper
intel_lpss             16384  1 intel_lpss_pci
tpm_crb                20480  0
sysimgblt              16384  1 drm_kms_helper
intel_pch_thermal      16384  0
fb_sys_fops            16384  1 drm_kms_helper
idma64                 20480  0
i2c_hid                32768  0
battery                20480  0
evdev                  28672  21
ac                     16384  0
wmi                    36864  2 intel_wmi_thunderbolt,mxm_wmi
mac_hid                16384  0
tpm_tis                16384  0
tpm_tis_core           28672  1 tpm_tis
tpm                    73728  3 tpm_tis,tpm_crb,tpm_tis_core
rng_core               16384  1 tpm
drm                   520192  8 drm_kms_helper,nvidia_drm,i915
sg                     40960  0
scsi_mod              253952  1 sg
crypto_user            16384  0
agpgart                53248  2 intel_gtt,drm
ip_tables              36864  0
x_tables               49152  1 ip_tables
ext4                  778240  3
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  131072  1 ext4
dm_snapshot            53248  3
dm_bufio               32768  1 dm_snapshot
hid_generic            16384  0
usbhid                 65536  0
hid                   143360  6 i2c_hid,usbhid,razerkbd,hid_generic,uhid,hid_rmi
dm_crypt               53248  1
dm_mod                159744  18 dm_crypt,dm_snapshot,dm_bufio
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
crc32c_intel           24576  6
ghash_clmulni_intel    16384  0
aesni_intel           372736  19
crypto_simd            16384  1 aesni_intel
xhci_pci               20480  0
cryptd                 24576  7 crypto_simd,ghash_clmulni_intel
glue_helper            16384  1 aesni_intel
xhci_hcd              278528  1 xhci_pci

Any idea about any possible way forward?

Last edited by Rixxo (2021-01-17 16:44:27)

Offline

#2 2021-11-23 07:55:23

blackout
Member
Registered: 2014-05-21
Posts: 38

Re: Webcam issue black screen

sorry no idea, butmy lenovo just displays a black image and also the ffmpeg capture shows only black video

1 roman@roman ~ % sudo dmesg | grep Camera
[    1.276570] usb 1-8: Product: Integrated Camera
[    2.351909] usb 1-8: Found UVC 1.10 device Integrated Camera (04f2:b6be)
[    2.352809] input: Integrated Camera: Integrated C as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input8
[    2.353188] usb 1-8: Found UVC 1.50 device Integrated Camera (04f2:b6be)
[    2.353469] input: Integrated Camera: Integrated I as /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.2/input/input9
oman@roman ~ % v4l2-ctl --list-devices
Video Capture 3 (usb-0000:00:14.0-8):
	/dev/video0
	/dev/video1
	/dev/video2
	/dev/video3
	/dev/media0
	/dev/media1
roman@roman ~ % lsmod | grep uvc
uvcvideo              147456  0
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_v4l2         40960  1 uvcvideo
videobuf2_common       86016  4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
videodev              307200  3 videobuf2_v4l2,uvcvideo,videobuf2_common
mc    

Last edited by blackout (2021-11-23 08:01:19)

Offline

Board footer

Powered by FluxBB