Cheese doesn't detect my webcam

Bug #197659 reported by Emmanuel Pacaud
16
Affects Status Importance Assigned to Milestone
cheese (Ubuntu)
Incomplete
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: cheese

I have a USB logitech webcam connected to my machine, seen as a v4l device, and working when using gstreamer-properties dialog.

But cheese fails to use it and show the test source instead.

lsusb:

Bus 002 Device 002: ID 046d:0840 Logitech, Inc. QuickCam Express

dmesg:

[ 35.709617] Linux video capture interface: v2.00
[ 35.794280] usbcore: registered new interface driver libusual
[ 35.808071] quickcam: QuickCam USB camera found (driver version QuickCam USB 0.6.6 $Date: 2006/11/04 08:38:14 $)
[ 35.808080] quickcam: Kernel:2.6.24-10-generic bus:2 class:FF subclass:FF vendor:046D product:0840
[ 35.819498] quickcam: Sensor PB-0100/0101 detected
[ 35.821557] quickcam: Registered device: /dev/video0

Revision history for this message
Wousser (wousser) wrote :

I can confirm this bug. Cheese was working fine on my laptop, due recent updates cheese doesn't detect my webcam anymore.

Revision history for this message
Byron Poland (wpoland) wrote :

I have a Logitech 9000 pro and Cheese doesn't see it as well. gstreamer-properties is able to see it and test video works, skype and ekiga work as well.

this works as well: gst-launch-0.10 v4l2src ! ffmpegcolorspace ! ximagesink .

$ cheese --verbose
Detected webcam: UVC Camera (046d:0990)
device: /dev/video0
video/x-raw-yuv 1600 x 1200 num_framerates 1
5/1
video/x-raw-yuv 960 x 720 num_framerates 2
10/1 5/1
video/x-raw-yuv 800 x 600 num_framerates 5
25/1 20/1 15/1 10/1 5/1
video/x-raw-yuv 640 x 480 num_framerates 6
30/1 25/1 20/1 15/1 10/1 5/1
video/x-raw-yuv 352 x 288 num_framerates 6
30/1 25/1 20/1 15/1 10/1 5/1
video/x-raw-yuv 320 x 240 num_framerates 6
30/1 25/1 20/1 15/1 10/1 5/1
video/x-raw-yuv 176 x 144 num_framerates 6
30/1 25/1 20/1 15/1 10/1 5/1
video/x-raw-yuv 160 x 120 num_framerates 6
30/1 25/1 20/1 15/1 10/1 5/1

Revision history for this message
Byron Poland (wpoland) wrote :

fiddled around in gconf-editor, and changed the webcam string for cheese and it started to work after a couple of tries... very weird.... (it was set at Test Pattern, I changed it to /dev/video0)

Revision history for this message
ChrisDone (chrisdone) wrote :

I can confirm this. Works in gstreamer-properties; v4l and I can see myself on my cam. When I open Cheese it just shows the Test Pattern.

I've tried your idea, Byron, but it has made no change. :(

"gst-launch-0.10 v4lsrc ! ffmpegcolorspace ! ximagesink ." works

chris@chrislaptop:~$ gst-launch-0.10 v4lsrc ! ffmpegcolorspace ! ximagesink .
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /pipeline0/ximagesink0: Output window was closed
Additional debug info:
ximagesink.c(1069): gst_ximagesink_handle_xevents (): /pipeline0/ximagesink0
Execution ended after 67047732767 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...

It shows my cam live.

Revision history for this message
Sebastian Keller (skeller) wrote :

The original bug report seems to be a duplicate of #196811
If this is the case https://bugs.launchpad.net/ubuntu/+source/cheese/+bug/197659/comments/2 should be a different bug, since cheese seems to find a camera, which would not be the case if it was not detected as v4l capable.

Revision history for this message
Albert Vilella (avilella) wrote :

this happens to me as well. The test works:

gst-launch-0.10 v4l2src ! ffmpegcolorspace ! ximagesink .

But cheese won't recognize my camera. Skype works fine as well. cheese --verbose doesn't even find the camera, shows up nothing...

Revision history for this message
Egbert van der Wal (eggie) wrote :

Same here in Kubuntu Intrepid. Logitech QuickCam Express works fine in camorama but Cheese doesn't detect it.

Revision history for this message
Fabian A. Scherschel (fabsh) wrote :

Egbert: I think you are experiencing bug #290506. Can you verify if a resolution change does anything to help?

Revision history for this message
Egbert van der Wal (eggie) wrote :

Nope. Going to Edit->Preferences shows an empty 'Camera' list and a Resolution list with only 320x240 in it, nothing else.

Revision history for this message
Fabian A. Scherschel (fabsh) wrote :

OK. Ignore my comment, then. Just making sure. There is weird stuff going on with cameras in Intrepid all over the place, just trying to get to the bottom of it...

Revision history for this message
Andres Mujica (andres.mujica) wrote :

Hi emmanuel, is this still happening to you with intrepid fully updated?

this is related to hal, libv4l, gstreamer, uvcvideo and gspca issues that are being worked on and almost all of them are solved. So if you can test would be great.

Thanks!

Changed in cheese:
status: New → Incomplete
Revision history for this message
Emmanuel Pacaud (emmanuel-pacaud) wrote :

The situation is worse than when I've reported the issue.

Even with gstreamer-properties I'm not able to see the camera image.

dmesg output:

[21696.424050] usb 3-1: new full speed USB device using uhci_hcd and address 3
[21696.602380] usb 3-1: configuration #1 chosen from 1 choice
[21696.605519] quickcam: QuickCam USB camera found (driver version QuickCam USB 0.6.6 $Date: 2006/11/04 08:38:14 $)
[21696.605536] quickcam: Kernel:2.6.27-10-generic bus:3 class:FF subclass:FF vendor:046D product:0840
[21696.628022] quickcam: Sensor PB-0100/0101 detected
[21696.629418] quickcam: Registered device: /dev/video0

lsmod output:

Module Size Used by
quickcam 81188 0
videodev 41344 1 quickcam
v4l1_compat 22404 1 videodev
...

gstreamer-properties output:

gstreamer-properties-Message: Skipping unavailable plugin 'artsdsink'
gstreamer-properties-Message: Skipping unavailable plugin 'glimagesink'
gstreamer-properties-Message: Skipping unavailable plugin 'v4lmjpegsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'qcamsrc'
gstreamer-properties-Message: Skipping unavailable plugin 'esdmon'
gstreamer-properties-Message: Error running pipeline 'Video for Linux (v4l)': Could not get/set settings from/on resource. [v4l_calls.c(198): gst_v4l_open (): /GstPipeline:pipeline0/GstV4lSrc:v4lsrc4:
Device opened, but wrong type (0x0)]

pacaud@lappc-p087:~$ gst-launch-0.10 v4lsrc ! ffmpegcolorspace ! ximagesink .
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0: Could not get/set settings from/on resource.
Additional debug info:
v4l_calls.c(198): gst_v4l_open (): /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0:
Device opened, but wrong type (0x0)
Setting pipeline to NULL ...
FREEING pipeline ...

pacaud@lappc-p087:~$ gst-launch-0.10 v4l2src ! ffmpegcolorspace ! ximagesink .
Setting pipeline to PAUSED ...
libv4l2: error getting capabilities: Unknown error 515
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Error getting capabilities for device '/dev/video0': It isn't a v4l2 driver. Check if it is a v4l1 driver.
Additional debug info:
v4l2_calls.c(95): gst_v4l2_get_capabilities (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Unknown error 515
Setting pipeline to NULL ...
FREEING pipeline ...

Revision history for this message
Andres Mujica (andres.mujica) wrote :

can you send as separate attachments the output for the following files?

 uname -a > uname-a.log
 cat /proc/version_signature > proc_version_signature.log
 sudo lspci -vvnn > lspci-vvnn.log (those are 2 v's not a w)
 dmesg > dmesg.log
 lsusb > lsusb.log
 lshal > lshal.log

 Thanks in advance

Changed in linux:
status: New → Incomplete
Revision history for this message
Emmanuel Pacaud (emmanuel-pacaud) wrote :
Revision history for this message
Emmanuel Pacaud (emmanuel-pacaud) wrote :
Revision history for this message
Emmanuel Pacaud (emmanuel-pacaud) wrote :
Revision history for this message
Emmanuel Pacaud (emmanuel-pacaud) wrote :
Revision history for this message
Emmanuel Pacaud (emmanuel-pacaud) wrote :
Revision history for this message
Emmanuel Pacaud (emmanuel-pacaud) wrote :
Revision history for this message
Albert Vilella (avilella) wrote :

I can confirm this works for me:

gst-launch-0.10 v4l2src ! ffmpegcolorspace ! ximagesink .

But cheese won't work.

Revision history for this message
Andres Mujica (andres.mujica) wrote :

@Emmanuel thanks for your info, it seems after all that your issue is the one pointed by Sebastian, so i'm marking this as dupe from the bug report bug #196811

@Albert, it seems that you 're having a different issue? would it be possible for you to open a new bug report? or check if one describing your problem already exists? Check for your webcam lssub id and look for bug reports with that device, so you can find it easily.

Thanks a lot for your help

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.