After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795221 - No device found (on Linux)
No device found (on Linux)
Status: RESOLVED NOTGNOME
Product: cheese
Classification: Applications
Component: general
3.28.x
Other Linux
: Normal critical
: ---
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2018-04-13 07:43 UTC by Victor Porton
Modified: 2018-04-14 14:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Victor Porton 2018-04-13 07:43:11 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
Comment 1 André Klapper 2018-04-14 13:09:24 UTC
If you enter the command
   gst-launch-1.0 v4l2src ! videoscale ! xvimagesink
what is the output?
Comment 2 Victor Porton 2018-04-14 13:25:18 UTC
$ 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 ...
Comment 3 André Klapper 2018-04-14 14:22:36 UTC
...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.