FS#74222 - cheese displays incorrect resolution together with red/green color patterns (VF0700)

Attached to Project: Arch Linux
Opened by Thomas (tomsam) - Thursday, 24 March 2022, 07:32 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 26 April 2022, 23:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

Recently, with one of the updates to

Linux warp 5.16.16-arch1-1 #1 SMP PREEMPT Mon, 21 Mar 2022 22:59:40 +0000 x86_64 GNU/Linux
- cheese 41.1-2
- libcheese 41.1-2
- Creative VF0700 live! webcam


cheese started to behave strangly.

While at 640x480 everything still works fine, I encounter a problem at high resolutions (1280x720 and 960x544, and both in picture as well as in video).

In high resolutions, only part of the picture is shown (e.g. instead of me being seen in the middle, I'm displayed on the right hand side) and green/red vertical stripes are displayed. The problem occurs with the filters

No Effect
Bulge
Dice
Edge

while the other filters show the correct resolution and correct result !

Sometimes I get messages like

(cheese:2400): cheese-WARNING **: 08:10:23.294: A lot of buffers are being dropped.: ../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasesink.c(3143): gst_base_sink_is_too_late (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:video_filter_bin/ClutterGstVideoSink:cluttergstvideosink18:
There may be a timestamping problem, or this computer is too slow.

but I doubt the part "this computer is too slow" is correct, because my system has a Ryzen 5900X, and anyway not many processes do run when I call cheese (98.8% idle while running cheese, according to top, ~30GB free memory).

IMHO, dmesg does not show any error messages wrt the device

$ sudo dmesg | egrep 'media|video'
[ 4.214866] mc: Linux media interface: v0.10
[ 4.225329] videodev: Linux video capture interface: v2.00
[ 4.440693] usbcore: registered new interface driver uvcvideo


Do we have a bug in the software here? Are some (new) dependencies missing, or is my webcam broken? (but why do 5 of the 9 filter show correct results)

Let me know, if you need more information

Additional info:
* package version(s)
cheese 41.1-2
libcheese 41.1-2

* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

Start cheese at a high resolution (with a VF0700)

This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 26 April 2022, 23:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  clutter-gst 3.0.27-4
Comment by Jeff Bigler (saturn_knight) - Friday, 08 April 2022, 16:14 GMT
I have the exact same issue with the same version of Cheese. My video driver is Nvidia-dkms version 510.60.02-1. I am using a Logitech c922 camera.
Comment by Georg Schwarz (gschwarz) - Sunday, 17 April 2022, 15:15 GMT
I am experiencing the same issue after updating cheese. The behaviour occurs with every USB webcam I tried (most of them older Logitech models).
Even at 640x480 some effects are subject to this bug. For some webcams the bug does not materialize for "no effect" at 1280x960, but it does for certain effects at that resolution.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 26 April 2022, 21:57 GMT
upstream bug: https://gitlab.gnome.org/GNOME/cheese/-/issues/51

clutter-gst is broken, see:

gst-launch-1.0 videotestsrc ! jpegenc ! jpegdec ! clutterautovideosink

Loading...