Is there a USB camera that works with Tumbleweed?

I want to buy a USB webcam that works out of the box on Tumbleweed. Could anyone recommend one?

raija@localhost:~> cheese

(cheese:26018): GLib-GObject-**CRITICAL** **: 23:05:54.504: g_value_dup_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(cheese:26018): GLib-GObject-**CRITICAL** **: 23:05:54.572: g_value_dup_string: assertion 'G_VALUE_HOLDS_STRING (value)' failed

(cheese:26018): cheese-**WARNING** **: 23:05:56.027: Useita puskureita putoilee.: ../libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstCameraBin:camerabin/G
stViewfinderBin:vf-bin/ClutterGstVideoSink:cluttergstvideosink0:
There may be a timestamping problem, or this computer is too slow.


(cheese:26018): cheese-**WARNING** **: 23:05:57.100: Useita puskureita putoilee.: ../libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstCameraBin:camerabin/G
stViewfinderBin:vf-bin/ClutterGstVideoSink:cluttergstvideosink0:
There may be a timestamping problem, or this computer is too slow.
/CODE

URL: https://paste.opensuse.org/86854725

I installed webcamoid on Tumbleweed and it works for my integrated USB camera in my monitor.

https://susepaste.org/images/19216061.png

You picture shows the Droste effect, weird, but I could that have to do with “There may be a timestamping problem, or this computer is too slow.”

How is your webcam connected? Via USB?

Found that this is likely done through xvimagesink - GStreamer

I tried:

> sudo zypper info gstreamer-utils
> gst-launch-1.0 -v videotestsrc ! xvimagesink 
Setting pipeline to PAUSED ... 
Pipeline is PREROLLING ... 
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, format=(string)YV12, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(
fraction)1/1, interlace-mode=(string)progressive 
/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0.GstPad:sink: caps = video/x-raw, format=(string)YV12, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(f
raction)1/1, interlace-mode=(string)progressive 
Pipeline is PREROLLED ... 
Setting pipeline to PLAYING ... 
Redistribute latency... 
New clock: GstSystemClock 
^Chandling interrupt. 
Interrupt: Stopping pipeline ... 
Execution ended after 0:00:59.045044217 
Setting pipeline to NULL ... 
Freeing pipeline ...

That displays:

https://paste.opensuse.org/images/5881853.png

With the noise area right under constantly updated.

Can you do the same, what output on the console do you get and how does the picture looks like?

I also see the same test picture as you.
But in the end there will be an error message.



**localhost:~ #** zypper info gstreamer-utils
Loading repository data...
Reading installed packages...


Information for package gstreamer-utils:
----------------------------------------
Repository     : Pääasennuslähde (OSS)
Name           : gstreamer-utils
Version        : 1.20.1-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 196.4 KiB
Installed      : Yes
Status         : up-to-date
Source package : gstreamer-1.20.1-1.1.src
Upstream URL   : https://gstreamer.freedesktop.org
Summary        : Streaming-Media Framework Runtime
Description    :  
    GStreamer is a streaming-media framework, based on graphs of filters
    which operate on media data. Applications using this library can do
    anything from real-time sound processing to playing videos, and just
    about anything else media-related.  Its plug-in-based architecture
    means that new data types or processing capabilities can be added by
    installing new plug-ins.

**localhost:~ #** 
**localhost:~ #** gst-launch-1.0 -v videotestsrc ! xvimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, format=(string)YV12, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiv
iew-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0.GstPad:sink: caps = video/x-raw, format=(string)YV12, width=(int)320, height=(int)240, framerate=(fraction)30/1, multivi
ew-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Output window was closed
Additional debug info:
../sys/xvimage/xvimagesink.c(568): gst_xv_image_sink_handle_xevents (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0
Execution ended after 0:00:06.282837068
Setting pipeline to NULL ...
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason error (-5)
Freeing pipeline ...
**localhost:~ #** 

The error message was displayed because, you closed the Video Test window instead of, clicking on the Terminal window where you started the Video Test and then, typing <Ctrl-C>.

@RaijaR:

The Timestamping and slow computer issues –

  • Is the machine’s system clock set to the correct time?
    Meaning, is it set to the “beginning of UNIX® time” or, some time approximately the same as either UTC or, your local time?
  • If, the system partition uses the Btrfs filesystem, have the Btrfs housekeeping routines been regularly executed?
    Meaning the Btrfs “balance” and “scrub” routines.

My mistake.
I wanted to buy a new webcam because the Logiteh C525 is really old. Is it no longer recognized as a camera?
The problem is that I don’t know which webcam is definitely working.

04: USB 00.3: 0000 Unclassified device
  [Created at usb.122]
  Unique ID: Xlzz.sQFbX0ZxLK6
  Parent ID: k4bc.2DFUsyrieMD
  SysFS ID: /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.3
  SysFS BusID: 1-1:1.3
  Hardware Class: unknown  <==?
  Model: "Logitech HD Webcam C525"
  Hotplug: USB
  Vendor: usb 0x046d "Logitech, Inc."
  Device: usb 0x0826 "HD Webcam C525"
  Revision: "0.10"
  Serial ID: "72413800"
  Driver: "uvcvideo"
  Driver Modules: "uvcvideo"
  Speed: 480 Mbps
  Module Alias: "usb:v046Dp0826d0010dcEFdsc02dp01ic0Eisc02ip00in03"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #9 (Hub)

The only thing which isn’t returned by the device is the “Hardware Class” – which probably wasn’t around then …

  • Every things else is there – “Model”, “Vendor”, and so on.
  • The Kernel Driver being used is also mentioned.

You could check if in fact the driver is correctly loaded into the Kernel with –

 > lsmod | grep -i 'video'

and

 # modinfo uvcvideo

If the driver hasn’t been correctly loaded into the Kernel then, you need to try –

 # modprobe uvcvideo

I don’t know if it’s still there, but I bought a loss-leader special at Micro Center. They had them in a basket of about 100. It works perfectly, out of the box, on my Tumbleweed install. It is a

Sakar Vivitar Web Cam VWC104-B

I paid $2.99 for it. That is not a typo. It was 3 bucks plus tax. If you find it, it may not be at that price but will be the lowest price web cam you can rely on. People on the other end of my video meetings say it looks fine.

I started the Webcamoid program, but even the red LED does not light up. The webcam is like dead.
With Cheese, I get a really bad picture. The picture shows my white bull terrier lying on the floor.lol!

URL: SUSE Paste

raija@localhost:~> lsmod | grep -i 'video'
uvc**video**              151552  0
**video**buf2_vmalloc      20480  1 uvc**video**
**video**buf2_memops       20480  1 **video**buf2_vmalloc
**video**buf2_v4l2         40960  1 uvc**video**
**video**buf2_common       86016  4 **video**buf2_vmalloc,**video**buf2_v4l2,uvc**video**,**video**buf2_memops
**video**dev              311296  3 **video**buf2_v4l2,uvc**video**,**video**buf2_common
mc                     69632  5 **video**dev,snd_usb_audio,**video**buf2_v4l2,uvc**video**,**video**buf2_common
usbcore               376832  7 xhci_hcd,snd_usb_audio,usbhid,snd_usbmidi_lib,uvc**video**,btusb,xhci_pci
**video**                  57344  1 i915
raija@localhost:~>
 raija@localhost:~> sudo modinfo uvcvideo
[sudo] root-käyttäjän salasana:  
filename:       /lib/modules/5.17.1-1-default/kernel/drivers/media/usb/uvc/uvcvideo.ko.zst
version:        1.1.1
license:        GPL
description:    USB Video Class driver
author:         Laurent Pinchart <laurent.pinchart@ideasonboard.com>
suserelease:    openSUSE Tumbleweed
srcversion:     3424C6612575BC1B47E5820
alias:          usb:v*p*d*dc*dsc*dp*ic0Eisc01ip01in*
alias:          usb:v*p*d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v8086p0B03d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v29FEp4D53d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v2833p0211d*dc*dsc*dp*icFFisc01ip00in*
alias:          usb:v2833p0201d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v1C4Fp3000d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v1BCFp0B40d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v1B3Fp2002d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v1B3Bp2951d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v19ABp1000d00*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v19ABp1000d01[0-1]*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v19ABp1000d012[0-6]dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v199Ep8102d*dc*dsc*dp*icFFisc01ip00in*
alias:          usb:v18ECp3290d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v18ECp3288d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v18ECp3188d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v18CDpCAFEd*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v1871p0516d*dc*dsc*dp*icFFisc01ip00in*
alias:          usb:v1871p0306d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v17EFp480Bd*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v17DCp0202d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v174Fp8A34d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v174Fp8A33d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v174Fp8A31d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v174Fp8A12d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v174Fp5931d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v174Fp5212d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v152Dp0310d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v13D3p5103d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v0E8Dp0004d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v0BD3p0555d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v0AC8p3420d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v0AC8p3410d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v0AC8p332Dd*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v06F8p300Cd*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v05E3p0505d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v05C8p0403d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v05ACp8600d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v05ACp8501d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v05A9p7670d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v05A9p264Ad*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v05A9p2643d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v05A9p2641d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v05A9p2640d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v058Fp3820d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v04F2pB071d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v046Dp082Dd*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v046Dp08C7d*dc*dsc*dp*icFFisc01ip00in*
alias:          usb:v046Dp08C6d*dc*dsc*dp*icFFisc01ip00in*
alias:          usb:v046Dp08C5d*dc*dsc*dp*icFFisc01ip00in*
alias:          usb:v046Dp08C3d*dc*dsc*dp*icFFisc01ip00in*
alias:          usb:v046Dp08C2d*dc*dsc*dp*icFFisc01ip00in*
alias:          usb:v046Dp08C1d*dc*dsc*dp*icFFisc01ip00in*
alias:          usb:v045Ep0723d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v045Ep0721d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v045Ep00F8d*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v0458p706Ed*dc*dsc*dp*ic0Eisc01ip00in*
alias:          usb:v0416pA91Ad*dc*dsc*dp*ic0Eisc01ip00in*
depends:        videobuf2-v4l2,videodev,videobuf2-common,usbcore,videobuf2-vmalloc,mc
retpoline:      Y
intree:         Y
name:           uvcvideo
vermagic:       5.17.1-1-default SMP preempt mod_unload modversions  
sig_id:         PKCS#7
signer:         openSUSE Secure Boot CA
sig_key:        FA:BE:D8:BF:40:9A:5E:64
sig_hashalgo:   sha256
signature:      7E:8C:DB:49:EF:49:35:48:1E:CF:CE:8E:F0:59:E2:CB:A4:F6:FE:F6:
                49:F9:36:E3:6C:D5:85:C7:87:D2:5B:86:1F:6E:13:4D:9D:4E:BA:0B:
                0E:BE:28:C9:A9:0F:F9:22:DB:2A:68:9D:CD:D6:12:BE:DC:C8:6A:01:
                81:E6:72:15:6F:16:2C:3C:D4:D7:F1:23:18:A9:DD:C7:D9:97:D4:96:
                E2:9E:CF:63:62:D2:91:7B:CC:7D:BC:E6:19:1F:03:7E:A5:D6:A6:FA:
                23:86:4A:73:06:CD:81:A3:1D:9A:90:02:AF:F4:09:E5:98:9E:A8:98:
                3C:ED:6A:27:A5:57:0E:10:1B:F8:49:85:E2:D0:6A:1B:80:5C:F2:16:
                60:BB:26:41:3D:2A:81:DC:44:54:70:8F:8F:1E:6D:78:93:23:C0:08:
                5B:64:28:8F:41:75:06:8D:BE:C8:39:EA:71:9F:30:89:1A:B9:0A:28:
                7C:C0:75:D1:26:5A:C0:C2:1E:FC:5F:53:70:B6:63:2B:4F:30:93:65:
                F0:14:89:B0:45:4A:5D:DF:EA:BD:15:43:36:A5:F2:86:60:7E:85:25:
                32:5E:10:D3:90:73:35:67:69:98:54:5F:47:0C:73:26:B6:C9:B9:4C:
                FB:EE:B4:22:C1:36:E4:1C:67:BD:CE:3D:EA:A4:17:0E
parm:           clock:Video buffers timestamp clock
parm:           hwtimestamps:Use hardware timestamps (uint)
parm:           nodrop:Don't drop incomplete frames (uint)
parm:           quirks:Forced device quirks (uint)
parm:           trace:Trace level bitmask (uint)
parm:           timeout:Streaming control requests timeout (uint)
raija@localhost:~>
 raija@localhost:~>  
raija@localhost:~> sudo modprobe uvcvideo   (nothing on screen)
raija@localhost:~> 


Hey,

I live in Finland and I don’t think that model can be sold here. It seems to be on Amazon, but I don’t bother to order from Germany. I buy a webcam and hope it works. If that doesn’t work, I’ll give it to my nephew :wink:

I don’t understand how a webcam should technically work.
But I’ve tested that

  • webcamoid not working at all - webcam is completely dead
  • cheese works so like - colors are completely wrong
  • kamoso - works well but is quite slow.

I think the fault is not in the Locitech C525 camera, but in the software. Of course I still have to test the C525 in the second distro …

There doesn’t seem to be a reason to do a bug report, as there are already a lot of reports about webcams.

Looking at the posted picture, the issue could, possibly, be a “dead-on-arrival” USB device.

  • Never assume that, hardware quality is such that, ALL devices function correctly when they’re shipped from the factory – a small percentage will have production line failures discovered by the end customer – another percentage will be damaged during shipping.

This is perfectly normal, even though, we’re used to a surprisingly high number of perfectly functioning devices picked up from a bin in our favourite store where we buy the things …

Hi
In cheese, select preferences and change the video resolution to see if that helps.