USB 3.0 cameras dont work properly after upgrading to 3.2.0-64 kernel.

Bug #1335040 reported by Dilip Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After doing a kernel upgrade on my Ubuntu 12.04 LTS system from 3.2.0-63 to 3.2.0-64, USB 3.0 cameras have stopped working properly. I use the application guvcview to preview the cameras. The initial preview when starting the application works fine. But when trying to change the resolution of preview, the application reports an error continuously for each frame.

Description: Ubuntu 12.04.4 LTS
Release: 12.04

guvcview:
  Installed: 1.5.3-0ubuntu1
  Candidate: 1.5.3-0ubuntu1
  Version table:
 *** 1.5.3-0ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe i386 Packages
        100 /var/lib/dpkg/status

cat /proc/version_signature
Ubuntu 3.2.0-64.97-generic-pae 3.2.59

Steps to reproduce:
$ sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install guvcview -y
$ sync
$ sudo reboot

Connect any USB3.0 superspeed camera available on the market to an USB 3.0 port on your system.
I am using an e-con system's See3CAM_80 USB 3.0 camera.

Now start the application guvcview from a terminal window
$ guvcview

The application starts up showing the GUI for controls and another window showing the preview. Now try to change the resolution of the camera by using the "resolution" combo box present in Video tab of the application controls window.

What I expected to happen :
The preview resolution should have changed to the selected resolution.

What happened instead :
The preview window becomes black and no more frames are obtained from the camera. The terminal window shows the following errors repeatedly.
libv4l2: error dequeuing buf: Input/output error
VIDIOC_DQBUF - Unable to dequeue buffer : Input/output error
Error grabbing image
libv4l2: error dequeuing buf: Input/output error
VIDIOC_DQBUF - Unable to dequeue buffer : Input/output error
Error grabbing image
libv4l2: error dequeuing buf: Input/output error
VIDIOC_DQBUF - Unable to dequeue buffer : Input/output error
Error grabbing image
libv4l2: error dequeuing buf: Input/output error
VIDIOC_DQBUF - Unable to dequeue buffer : Input/output error
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument
Error grabbing image
 and so on...

Restarting the application also doesnt work. Only after disconnecting and reconnecting the camera, I am able to see the preview properly.

The workaround is to revert to kernel 3.2.0-63. After that the application is working fine and switching to other resolutions also work properly.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-64-generic-pae 3.2.0-64.97
ProcVersionSignature: Ubuntu 3.2.0-64.97-generic-pae 3.2.59
Uname: Linux 3.2.0-64-generic-pae i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: dilip_kumar 2171 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xf7d10000 irq 46'
   Mixer name : 'Intel PantherPoint HDMI'
   Components : 'HDA:10ec0662,10280576,00100300 HDA:80862806,10280576,00100000'
   Controls : 42
   Simple ctrls : 21
Date: Fri Jun 27 13:20:45 2014
HibernationDevice: RESUME=UUID=34d66c70-81e6-4651-aa2a-8d45e4f4d372
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
MachineType: Dell Inc. Vostro 270s
MarkForUpload: True
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-64-generic-pae root=UUID=62503b1b-36fc-4afd-b26a-3981934e72a2 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-64-generic-pae N/A
 linux-backports-modules-3.2.0-64-generic-pae N/A
 linux-firmware 1.79.16
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: yes
  Hard blocked: no
SourcePackage: linux
StagingDrivers: mei
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/14/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A11
dmi.board.name: 0XFWHV
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA11:bd10/14/2013:svnDellInc.:pnVostro270s:pvr:rvnDellInc.:rn0XFWHV:rvrA00:cvnDellInc.:ct3:cvr:
dmi.product.name: Vostro 270s
dmi.sys.vendor: Dell Inc.

Revision history for this message
Dilip Kumar (ironickal) wrote :
Revision history for this message
Dilip Kumar (ironickal) wrote :

This issue still occurs in the latest version of kernel for Ubuntu 12.04 LTS as of date. (ie. 3.2.0-65)
cat /proc/version_signature

Ubuntu 3.2.0-65.98-generic-pae 3.2.60

I have tested and confirmed that this issue can be recreated, not only in my PC but also in other PC's with different hardware configurations.

If you need any more information for debugging please let me know.

Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
.m. (mulisak) wrote :

bug confirmed with picuntu( ubuntu 1204 ) on ARM rk3188 usb2 kernel 3.0.36+ and webcam a4 tech pk-910h.
Although "kamoso" shows loads of errors like this
libv4l2: error dequeuing buf: Success
picture is displayed even through ssh -X root@picuntu

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.