Webcam fails to initialize 25% and flickers 75% of remaining times

Bug #682128 reported by Arminho
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
NULL Project
Invalid
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

I've recently upgraded from Ubuntu Lucid to Maverick on my ASUS K50AF laptop. I'm mostly satisfied with the upgrade, but there are some issues.
One of these issues concerns the integrated USB-webcam (recognized as 13d3:5130 IMC Networks) which worked fine before the upgrade (kernel 2.6.32, besides the well known "upside-down" issue) but is pretty unstable after upgrading.
In (estimated) 25% of cases when I boot the laptop the webcam cannot be initialized. In these cases dmesg | grep "uvc" contains:
[ 687.093688] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (13d3:5130)
[ 687.093715] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 687.093719] uvcvideo: Failed to query (129) UVC probe control : -108 (exp. 26).
[ 687.093723] uvcvideo: Failed to initialize the device (-5).
[ 687.093943] usbcore: registered new interface driver uvcvideo

In (estimated) 75% of remaining cases initialization is successfull, but the webcam picture is flickering, framerate is very low (1 pic every second) and the picture looks like a mosaik of small squares in some frames.

The problem can be in Cheese, Skype and Google Talk. In Cheese the webcam picture sometimes (about 50%) remains just black, although I can see a flickering image in Google Talk in the same session.

Everytime the image flickers, i can find a lot of lines
"uvcvideo: Failed to resubmit video URB (-27)." with dmesg | grep "uvc".

In the remaining 75% * 25% of logins the webcam works just fine. In sessions when the webcam is working, dmesg | grep "uvc" returns no error messages at all.

sudo modprobe -r uvcvideo
sudo modprobe uvcvideo
has no effect, resating the X-Server doesn't help, I need to restart the computer and hope for my 75%*25%-chance to use my webcam.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-23-generic 2.6.35-23.40
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.35-23.40-generic 2.6.35.7
Uname: Linux 2.6.35-23-generic i686
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: VT1708S Analog [VT1708S Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: armin 1715 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfbcf4000 irq 16'
   Mixer name : 'VIA VT1708S'
   Components : 'HDA:11060397,10431523,00100000'
   Controls : 21
   Simple ctrls : 14
CheckboxSubmission: 61adeb82f3b09804278e2689ead5b8b6
CheckboxSystem: b62ae224500b03a9fc2c9b6caf3feb14
Date: Sat Nov 27 15:08:51 2010
HibernationDevice: RESUME=UUID=922bfa53-fca0-4627-bbdf-353149c9e3b5
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: ASUSTeK Computer INC. K50AF
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-23-generic root=UUID=d9f623ff-08cf-4b37-a640-0eaa0568da09 ro quiet splash
ProcEnviron:
 LANG=de_AT.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.38
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
dmi.bios.date: 12/29/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 202
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: K50AF
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: 1.00
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTek Computer INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr202:bd12/29/2009:svnASUSTeKComputerINC.:pnK50AF:pvr1.0:rvnASUSTeKComputerINC.:rnK50AF:rvr1.00:cvnASUSTekComputerINC.:ct10:cvr1.0:
dmi.product.name: K50AF
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer INC.

Revision history for this message
Arminho (armin-scherz) wrote :
tags: added: kernel-series-unknown
Revision history for this message
René Kjellerup (rk-katana-steel) wrote :

I don't have the flickering, although the video freezes up while using Skype after a few minutes.
and I see 5 new messages each time from the kernel log:
5x [time index] uvcvideo: Failed to resubmit video URB (-27).

this only affects the maverick kernels (2.6.35+) maybe a little earlier
as the lucid kernel (2.6.32), which I've reverted back to for a while doesn't have this issue
from what I can tell.

(my workaround for reverting is simply move the 2.6.35 kernel out of /boot then run update-grub
thus it only detects my younger 2.6.32 kernel, and then reboot)

tags: added: kernel-series-2.6.35
Revision history for this message
René Kjellerup (rk-katana-steel) wrote :

Addition:
I modified the two lines of kernel logging code in the UVCVideo module from the 2.6.35 source
(one in uvc_status.c:xxx and the other in uvc_video.c:xxx) and added the URB length to the
output and got: urb->actual_length == 0 (and -27 is -EFBIG) ?

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Unlinking as different vendor ID.

affects: linux (Fedora) → null
Changed in null:
importance: Unknown → Undecided
status: Unknown → New
status: New → Invalid
Revision history for this message
penalvch (penalvch) wrote :

Arminho, thank you for reporting this and helping make Ubuntu better. Maverick reached EOL on April 2012.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We were wondering if this is still an issue in a supported release? If so, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in a supported release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
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.