GNOME Bugzilla – Bug 795221
No device found (on Linux)
Last modified: 2018-04-14 14:22:36 UTC
Cheese 3.28.0 says "No device found". Apparently this happens after Linux update. $ uname -a Linux victor 4.15.0-2-amd64 #1 SMP Debian 4.15.11-1 (2018-03-20) x86_64 GNU/Linux $ cheese (cheese:24938): Gtk-WARNING **: 10:40:04.170: Theme parsing error: cheese.css:7:35: The style property GtkScrollbar:min-slider-length is deprecated and shouldn't be used anymore. It will be removed in a future version ** Message: 10:40:04.345: cheese-application.vala:211: Error during camera setup: No device found (cheese:24938): cheese-CRITICAL **: 10:40:04.353: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed (cheese:24938): GLib-CRITICAL **: 10:40:04.353: g_variant_new_string: assertion 'string != NULL' failed (cheese:24938): GLib-CRITICAL **: 10:40:04.353: g_variant_ref_sink: assertion 'value != NULL' failed (cheese:24938): GLib-GIO-CRITICAL **: 10:40:04.353: g_settings_schema_key_type_check: assertion 'value != NULL' failed (cheese:24938): GLib-CRITICAL **: 10:40:04.353: g_variant_get_type_string: assertion 'value != NULL' failed (cheese:24938): GLib-GIO-CRITICAL **: 10:40:04.353: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given (cheese:24938): GLib-CRITICAL **: 10:40:04.353: g_variant_unref: assertion 'value != NULL' failed ** (cheese:24938): CRITICAL **: 10:40:04.353: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed
If you enter the command gst-launch-1.0 v4l2src ! videoscale ! xvimagesink what is the output?
$ gst-launch-1.0 v4l2src ! videoscale ! xvimagesink Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. Additional debug info: gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Execution ended after 0:00:00.000072449 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...
...which makes it not a Cheese / GNOME problem but a problem lower in the software stack. Closing this ticket as invalid as it is not a problem in Cheese itself. Feel free to file a ticket in the ticket system of your distribution. Bug 761574 is similar.