RE: cheese-3.10.2 does not detect webcam but guvcview does



-----Original Message-----
From: Bastien Nocera [mailto:hadess hadess net]
Sent: Monday, 26 May, 2014 14:15
To: John Frankish
Cc: cheese-list gnome org
Subject: Re: cheese-3.10.2 does not detect webcam but
guvcview does

On Sat, 2014-05-24 at 15:07 +0000, John Frankish wrote:
#6  0x000000000040f0d3 in
cheese_effects_manager_add_effect (effect=<optimized out>, name=<optimized out>, 
self=0x1ed5610)
    at src/cheese-effects-manager.c:222

Still missing important debug information I'm afraid.

'seems the trick is to compile with "-ggdb"

It's trying to build the Time delay effect which needs the
"frei0r-filter- delay0r" plugin (which lives in the
gst-plugins-bad package). Cheese should probably do better at avoiding crashing when an 
effect isn't available.

Could you please re-test with cheese 3.12.x, and file a
bug if the problem persists?

Thanks

Hmm - assuming we're referring to /usr/local/lib/gstreamer-
1.0/libgstfrei0r.so, it is present and correct...

Are you sure that your GStreamer installation knows to go get
the plugin there?

Some progress being made at last

I don't see it written anywhere, but the gstreamer frei0r plugin
requires
frei0r-plugins in order to work.

Are you filing bugs about this, or are we just debugging your
hand-made distribution?

https://bugzilla.gnome.org/show_bug.cgi?id=730786

There's a test call cheese-test-monitor in the cheese sources which
you can use to debug your problem. The device monitor code uses udev
to enumerate devices. Attach the output of "udevadm info
--export-db" so we can see if the camera is detected properly.

cheese-test-monitor doesn't do anything (cheese-test-camera seg faults).

Udev output attached

Your udev installation is probably broken, as it doesn't tag the laptop builtin
camera with the necessary V4L tags. 

Indeed - hopefully fixed now - see attached.

But (is it missing a ~/.config/something file not created on install?)..

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bd6b06 in cheese_camera_device_get_best_format (device=0x1fe37a0) at 
libcheese/cheese-camera-device.c:970
970     libcheese/cheese-camera-device.c: No such file or directory.
(gdb) bt
#0  0x00007ffff7bd6b06 in cheese_camera_device_get_best_format (device=0x1fe37a0) at 
libcheese/cheese-camera-device.c:970
#1  0x00007ffff7bdcf70 in cheese_camera_set_new_caps (camera=0x662a30) at libcheese/cheese-camera.c:764
#2  0x00007ffff7bdd232 in cheese_camera_play (camera=0x662a30) at libcheese/cheese-camera.c:806
#3  0x000000000042310d in cheese_application_setup_camera (self=0x6621a0) at src/cheese-application.c:645
#4  0x0000000000421f9b in cheese_application_common_init.2720 (self=0x6621a0) at src/cheese-application.c:360
#5  0x000000000042219e in cheese_application_real_activate.2686 (base=0x6621a0) at 
src/cheese-application.c:394
#6  0x00007fffed4274c7 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
#7  0x00007fffed4392ee in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#8  0x0000000000422381 in cheese_application_real_command_line.2689 (base=0x6621a0, cl=0x67d2e0) at 
src/cheese-application.c:442
#9  0x00007fffed20ccdc in ffi_call_unix64 () from /usr/local/lib/libffi.so.6
#10 0x00007fffed20c970 in ffi_call () from /usr/local/lib/libffi.so.6
#11 0x00007fffed42482a in g_cclosure_marshal_generic_va () from /usr/local/lib/libgobject-2.0.so.0
#12 0x00007fffed4274c7 in g_signal_emit_valist () from /usr/local/lib/libgobject-2.0.so.0
#13 0x00007fffed4392ee in g_signal_emit () from /usr/local/lib/libgobject-2.0.so.0
#14 0x00007fffee3682d6 in ?? () from /usr/local/lib/libgio-2.0.so.0
#15 0x00007fffee2c8c9e in ?? () from /usr/local/lib/libgio-2.0.so.0
#16 0x00007fffee2ced19 in g_application_run () from /usr/local/lib/libgio-2.0.so.0
#17 0x000000000040ed5e in _vala_main (args=0x7fffffffeb38, args_length1=1) at src/cheese-main.c:68
#18 0x000000000040edad in main (argc=1, argv=0x7fffffffeb38) at src/cheese-main.c:83


Attachment: udev_db_1.tar.gz
Description: udev_db_1.tar.gz



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]