Black screen while webcam (Logitech) streaming

Bug #620056 reported by Bevor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Undecided
Unassigned

Bug Description

My webcam (Logitech, Inc. QuickCam Communicate MP/S5500) always worked without any problem. Recently, the stream in either Skype, mplayer or camstream (didn't try other players) stays just black although they recognize my webcam and the webcam is running. Probably on of the latest updates of any package destroyed anything (Please let me know which package version of which package I should post).

I tried out my camera with the following commands (only black screen)
$ mplayer tv:// -tv driver=v4l2:device=/dev/video0:width=640:height=480
$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so camstream
---------------------------------------------------------------------------------------------
In mplayer I get the following output:
$ mplayer tv:// -tv driver=v4l2:device=/dev/video0:width=640:height=480
MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <email address hidden>
 comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: UVC Camera (046d:09a1)
 Capabilites: video capture streaming
 supported norms:
 inputs: 0 = Camera 1;
 Current input: 0
 Current format: YUYV
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 640 x 480 (preferred colorspace: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x480 => 640x480 Packed YUY2
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
Audio: no sound
Starting playback...
v4l2: ioctl set mute failed: Invalid argument
v4l2: 32 frames successfully processed, 31 frames dropped.

My graphic card is an Nvidia GTS 250.

xserver-xorg-video-v4l:
Version: 1:0.2.0-4
----------------------------------------------------------------------------
Ubuntu version:
Description: Ubuntu 10.04.1 LTS
Release: 10.04
----------------------------------------------------------------------------
$ lsmod
Module Size Used by
binfmt_misc 7960 1
snd_hda_codec_via 33207 1
snd_hda_intel 25677 2
snd_hda_codec 85759 2 snd_hda_codec_via,snd_hda_intel
snd_cmipci 37557 0
gameport 10966 1 snd_cmipci
snd_opl3_lib 10846 1 snd_cmipci
snd_mpu401_uart 6857 1 snd_cmipci
snd_usb_audio 92747 1
snd_usb_lib 19193 1 snd_usb_audio
snd_hwdep 6924 3 snd_hda_codec,snd_opl3_lib,snd_usb_audio
snd_pcm_oss 41394 0
snd_pcm 87882 5 snd_hda_intel,snd_hda_codec,snd_cmipci,snd_usb_audio,snd_pcm_oss
snd_mixer_oss 16299 1 snd_pcm_oss
snd_seq_dummy 1782 0
snd_seq_oss 31219 0
snd_seq_midi 5829 0
snd_rawmidi 23420 3 snd_mpu401_uart,snd_usb_lib,snd_seq_midi
snd_seq_midi_event 7267 2 snd_seq_oss,snd_seq_midi
snd_seq 57481 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 23649 3 snd_opl3_lib,snd_pcm,snd_seq
snd_seq_device 6888 6 snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
uvcvideo 62467 0
videodev 40518 1 uvcvideo
v4l1_compat 15495 2 uvcvideo,videodev
v4l2_compat_ioctl32 12020 1 videodev
asus_atk0110 10033 0
edac_core 45423 0
fbcon 39270 71
tileblit 2487 1 fbcon
font 8053 1 fbcon
bitblit 5811 1 fbcon
edac_mce_amd 9278 0
softcursor 1565 1 bitblit
psmouse 64576 0
serio_raw 4918 0
snd 71106 21 snd_hda_intel,snd_hda_codec,snd_cmipci,snd_opl3_lib,snd_mpu401_uart,snd_usb_audio,snd_hwdep,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc 8500 2 snd_hda_intel,snd_pcm
i2c_piix4 9639 0
nvidia 10832442 38
vga16fb 12757 1
vgastate 9857 1 vga16fb
soundcore 8052 1 snd
lp 9336 0
parport 37160 1 lp
usbhid 41084 0
hid 83440 1 usbhid
ohci1394 30260 0
dm_raid45 75532 0
r8169 39650 0
usb_storage 49833 0
e1000 108809 0
xor 4685 1 dm_raid45
mii 5237 1 r8169
ieee1394 94771 1 ohci1394
pata_atiixp 4209 0
pata_marvell 3225 0
ahci 37870 2
---------------------------------------------------------------------------------
# lsusb
Bus 001 Device 002: ID 046d:09a1 Logitech, Inc. QuickCam Communicate MP/S5500

---------------------------------------------------------------------------------

# v4l-info
### v4l2 device info [/dev/video0] ###
general info
    VIDIOC_QUERYCAP
 driver : "uvcvideo"
 card : "UVC Camera (046d:09a1)"
 bus_info : "usb-0000:00:12.2-5"
 version : 0.1.0
 capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING]

standards

inputs
    VIDIOC_ENUMINPUT(0)
 index : 0
 name : "Camera 1"
 type : CAMERA
 audioset : 0
 tuner : 0
 std : 0x0 []
 status : 0x0 []

video capture
    VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
 index : 0
 type : VIDEO_CAPTURE
 flags : 1
 description : "MJPEG"
 pixelformat : 0x47504a4d [MJPG]
    VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
 index : 1
 type : VIDEO_CAPTURE
 flags : 0
 description : "YUV 4:2:2 (YUYV)"
 pixelformat : 0x56595559 [YUYV]
    VIDIOC_G_FMT(VIDEO_CAPTURE)
 type : VIDEO_CAPTURE
 fmt.pix.width : 176
 fmt.pix.height : 144
 fmt.pix.pixelformat : 0x56595559 [YUYV]
 fmt.pix.field : NONE
 fmt.pix.bytesperline : 352
 fmt.pix.sizeimage : 50688
 fmt.pix.colorspace : SRGB
 fmt.pix.priv : 0

controls
    VIDIOC_QUERYCTRL(BASE+0)
 id : 9963776
 type : INTEGER
 name : "Brightness"
 minimum : 0
 maximum : 255
 step : 1
 default_value : 144
 flags : 0
    VIDIOC_QUERYCTRL(BASE+1)
 id : 9963777
 type : INTEGER
 name : "Contrast"
 minimum : 0
 maximum : 255
 step : 1
 default_value : 27
 flags : 0
    VIDIOC_QUERYCTRL(BASE+2)
 id : 9963778
 type : INTEGER
 name : "Saturation"
 minimum : 0
 maximum : 255
 step : 1
 default_value : 28
 flags : 0

### video4linux device info [/dev/video0] ###
general info
    VIDIOCGCAP
 name : "UVC Camera (046d:09a1)"
 type : 0x1 [CAPTURE]
 channels : 1
 audios : 0
 maxwidth : 960
 maxheight : 720
 minwidth : 48
 minheight : 32

channels
    VIDIOCGCHAN(0)
 channel : 0
 name : "Camera 1"
 tuners : 0
 flags : 0x0 []
 type : CAMERA
 norm : 0

tuner
ioctl VIDIOCGTUNER: Invalid argument

audio
ioctl VIDIOCGAUDIO: Invalid argument

picture
    VIDIOCGPICT
 brightness : 33410
 hue : 0
 colour : 32896
 contrast : 32896
 whiteness : 0
 depth : 16
 palette : YUYV

buffer
ioctl VIDIOCGFBUF: Invalid argument

window
    VIDIOCGWIN
 x : 0
 y : 0
 width : 176
 height : 144
 chromakey : 0
 flags : 0

------------------------------------------------------

$ xawtv -hwscan
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.32-24-generic)
looking for available devices
port 310-341
    type : Xvideo, image scaler
    name : NV17 Video Texture

/dev/video0: OK [ -device /dev/video0 ]
    type : v4l2
    name : UVC Camera (046d:09a1)
    flags: capture

Revision history for this message
Bevor (bugs-devgems) wrote :

Since the latest (kernel) update the camera seems to work again.

Changed in ubuntu:
status: New → Invalid
status: Invalid → Fix Released
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.