Issues with webcam

Hello,

I have been experiencing issues with my webcams (Logitech Brio 100 and Logitech c920) ever since upgrading to 14.0 (currently on 15.1). I have followed every notable tutorial on the matter but have yet to resolve the issues. The attached image shows my pwcview output. I have also tried testing the webcams in the browser (Firefox) using webcamtests.com, Zoom and Google Meet. The first two fail to load any video even though the cameras are detected, while Google Meet produces video similar to pwcview.

I have also tried running webcamd in the foreground with debugging enabled. When doing so the following error gets logged when accessing the camera:

ERR: : Failed to resubmit video URB (-6).

I appreciate any help on the issue.

Thank you in advance.
 

Attachments

  • Screenshot_20260808_114701.png
    Screenshot_20260808_114701.png
    362.5 KB · Views: 22
  • Screenshot_20260808_120009.png
    Screenshot_20260808_120009.png
    308.2 KB · Views: 22
Just starting with baseline troubleshooting, does either camera function with another computer and/or operating system? It strikes me as odd that you would see noise or distorted video as the output. Is the image static or does it change when the camera is moved, or disconnected and reconnected? Testing with another computer could eliminate or confirm hardware problems as a possibility. If the hardware is shown to work then you can be sure you're chasing a software issue.
 
Very slight success chance but I remember I once had to take a picture with pwcsnap on the chosen resolution which correctly activated the camera. Without doing that, it sometimes showed a distorted view. It was a Logitech C270.
 
It is in good enough state. Especially since it is really not that dificult to add any missing usb ids should you need to. Not to mention no one is crancking out webcam chips very quickly so that port is solid for a good while longer. See below an example for adding missing usb ids:

https://forums.freebsd.org/threads/...-hd-etc-quick-fix-to-make-webcam-work.101566/

Ultimately that port will have to be ffw to a newer linux media tree.

To the OP, check with usbconfig that you got the correct ugen address for your webcamd daemon. And also permissions for the /dev/usb/ devices are correct (perhaps g+rw for operator and have your user in that group)
 
siladi -- I already did the former; changing the permissions on /dev/usb/* made no difference.

I tried testing the webcam with guvcview and it produced the following:
ENCODER: no video codec detected for Theora (ogg theora)
GUVCVIEW: version 2.2.2
V4L2CORE: couldn't determine device (/dev/video0) list index
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Invalid argument
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Invalid argument
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Invalid argument
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Invalid argument
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Invalid argument
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Invalid argument
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Invalid argument
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Invalid argument
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Invalid argument
V4L2_CORE: ioctl (-1067952623) retried 4 times - giving up: Resource temporarily unavailable)
...
V4L2_CORE: (jpeg decoder) error while decoding frame
V4L2_CORE: (jpeg decoder) error while decoding frame
V4L2_CORE: (jpeg decoder) error while decoding frame
V4L2_CORE: (jpeg decoder) error while decoding frame
V4L2_CORE: (jpeg decoder) error while decoding frame
V4L2_CORE: (jpeg decoder) error while decoding frame
...

FYI -- I do have libtheora and gstreamer1-plugins-theora-1.28.4 installed.

I also tried: ffplay -f v4l2 -framerate 25 -video_size 800x600 -input_format mjpeg -i /dev/video0 -loglevel repeat+level+verbose
[mjpeg @ 0x3c582560b380] [fatal] No JPEG data found in image
[mjpeg @ 0x3c582560b380] [verbose] skipping APPx stub (len=2)
[info] Input #0, video4linux2,v4l2, from '/dev/video0':
[info] Duration: N/A, start: 1786369106.934631, bitrate: N/A
[info] Stream #0:0: Video: mjpeg (Baseline), 1 reference frame, yuvj422p(pc, bt470bg/unknown/unknown, center), 800x600, 24 fps, 24 tbr, 1000k tbn, start 1786369106.934631
[mjpeg @ 0x3c582560b380] [warning] Found EOI before any SOF, ignoring
[mjpeg @ 0x3c582560b380] [fatal] No JPEG data found in image
[mjpeg @ 0x3c582560b380] [verbose] skipping APPx stub (len=2)
[mjpeg @ 0x3c582560b380] [error] overread 8
[ffplay_buffer @ 0x3c5825a090c0] [verbose] w:800 h:600 pixfmt:yuvj422p tb:1/1000000 fr:24/1 sar:0/1 csp:bt470bg range:pc alpha:unspecified
[auto_scale_0 @ 0x3c5825a09300] [verbose] w:iw h:ih flags:'' interl:0
[ffplay_buffersink @ 0x3c5825a09240] [verbose] auto-inserting filter 'auto_scale_0' between the filter 'ffplay_buffer' and the filter 'ffplay_buffersink'
[auto_scale_0 @ 0x3c5825a09300] [verbose] w:800 h:600 fmt:yuvj422p csp:bt470bg range:pc sar:0/1 -> w:800 h:600 fmt:rgb0 csp:gbr range:pc sar:0/1 flags:0x00000004
[auto_scale_0 @ 0x3c5825a09300] [framesync @ 0x3c5825b6b010] [verbose] Selected 1/1000000 time base
[auto_scale_0 @ 0x3c5825a09300] [framesync @ 0x3c5825b6b010] [verbose] Sync level 1
[swscaler @ 0x3c5825baa700] [warning] deprecated pixel format used, make sure you did set range correctly
[mjpeg @ 0x3c582560b380] [warning] Found EOI before any SOF, ignoring
[mjpeg @ 0x3c582560b380] [fatal] No JPEG data found in image
[verbose] Created 800x600 texture with SDL_PIXELFORMAT_BGR888.
[mjpeg @ 0x3c582560b380] [verbose] skipping APPx stub (len=2)
[mjpeg @ 0x3c582560b380] [error] overread 8
[mjpeg @ 0x3c582560b380] [verbose] skipping APPx stub (len=2)
[mjpeg @ 0x3c582560b380] [error] overread 8
[mjpeg @ 0x3c582560b380] [verbose] skipping APPx stub (len=2)
[mjpeg @ 0x3c582560b380] [error] overread 8
[mjpeg @ 0x3c582560b380] [verbose] skipping APPx stub (len=2)
[mjpeg @ 0x3c582560b380] [error] overread 8
[mjpeg @ 0x3c582560b380] [verbose] skipping APPx stub (len=2)
[mjpeg @ 0x3c582560b380] [error] overread 8
[mjpeg @ 0x3c582560b380] [verbose] skipping APPx stub (len=2)
[mjpeg @ 0x3c582560b380] [error] overread 8
[mjpeg @ 0x3c582560b380] [verbose] skipping APPx stub (len=2)
[mjpeg @ 0x3c582560b380] [error] overread 8
[mjpeg @ 0x3c582560b380] [verbose] skipping APPx stub (len=2)
[mjpeg @ 0x3c582560b380] [error] overread 8
[mjpeg @ 0x3c582560b380] [warning] EOI missing, emulating

JPEG decoding errors seem to be a common in both cases, not sure if this is expected or an issue with my setup.
 
Back
Top