GNOME Bugzilla – Bug 790290
Cheese crashes on launch if no camera device is present
Last modified: 2020-11-12 07:12:22 UTC
Description of problem: This happens only on Wayland. Cheese crashes on launch if the computer does not have any camera device connected. Version-Release number of selected component (if applicable): Ubuntu 18.04 Cheese 3.26.0 Additional info: (cheese:3620): cheese-CRITICAL **: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed (cheese:3620): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed (cheese:3620): GLib-CRITICAL **: g_variant_ref_sink: assertion 'value != NULL' failed (cheese:3620): GLib-GIO-CRITICAL **: g_settings_schema_key_type_check: assertion 'value != NULL' failed (cheese:3620): GLib-CRITICAL **: g_variant_get_type_string: assertion 'value != NULL' failed (cheese:3620): GLib-GIO-CRITICAL **: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given (cheese:3620): GLib-CRITICAL **: g_variant_unref: assertion 'value != NULL' failed ** (cheese:3620): CRITICAL **: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed
Still not fixed.
Original Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/1710370
I have tested this on Fedora 27 under Wayland and Cheese works correctly when no camera is connected. But it is an upstream bug according to the Ubuntu developers.
This is most likely an Ubuntu issue, not an upstream one.
Nope, not an Ubuntu issue. I was able to reproduce this issue on the latest Fedora Rawhide under Wayland.
Same here on ArchLinux but works on Fedora 28. No idea what is the real issue... You will find people with same issue on most Linux distro.
Just found this: - Works as root - Does not work as user even after chmod 777 /dev/video0
Ok, found the issue, pipewire is launched by mutter/gnome-shell and is locking the webcam...
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use cheese and if you still see this bug / want this feature in a recent and currently supported version, then please feel free to report it at https://gitlab.gnome.org/GNOME/cheese/-/issues/ Thank you for creating this report and we are sorry it could not be implemented (volunteer workforce and time is quite limited).