[9.10] "could net set buffer info" on OmniVision Technologies Laptop Integrated Webcam

Bug #201030 reported by Tomas Cassidy
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
camorama (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: camorama

When trying to start Camorama via the Applications->Graphics menu, it displays the error "Could not connect to video device (/dev/video0). Please check connection."
I also have "Camera Monitor" installed and this displays an icon in the system tray saying "Camera is on. Video device: /dev/video0" whenever I start Camorama and get it's error message. I can also verify that the camera works with the "cheese" program.

Revision history for this message
Kjell Braden (afflux) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it because it does not contain enough information.
Could you please attach the output of
camorama -D

Thanks,

Changed in camorama:
status: New → Incomplete
Revision history for this message
Tomas Cassidy (tomas-cassidy) wrote :
Revision history for this message
Kjell Braden (afflux) wrote :

Can you now please attach the output of lsusb -v? Thanks in advance,

Revision history for this message
Tomas Cassidy (tomas-cassidy) wrote :
Revision history for this message
Kjell Braden (afflux) wrote :

Sorry, I forgot to ask what version of ubuntu and camorama are you running?
You can obtain those information via "cat /etc/lsb-release" and "apt-cache policy camorama"

Thanks,

Changed in camorama:
importance: Undecided → Medium
status: Incomplete → New
Revision history for this message
Uwe Hauck (bicyclist) wrote :

Hello, same problem for me. Before todays update, cheese also reported that error, now only camorama has problems. Here are my information as you requested:
cat /etc/lsb-release:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

and: apt-cache policy camorama:

camorama:
  Installiert:0.19-2
  Mögliche Pakete:0.19-2
  Versions-Tabelle:
 *** 0.19-2 0
        500 http://archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Tomas Cassidy (tomas-cassidy) wrote :

I am running Ubuntu 7.10 with camorama version 0.18-2ubuntu2.

Kjell Braden (afflux)
Changed in camorama:
status: New → Triaged
Revision history for this message
Uwe Hauck (bicyclist) wrote :

More information from me: camorama -D tells me:

VIDIOCGCAP
device name = UVC Camera (05ca:183b)
device type = 1
can use mmap()
# of channels = 1
# of audio devices = 0
max width = 0
max height = 0
min width = 48
min height = 32

VIDIOCGWIN
x = 0
y = 0
width = 640
height = 480
chromakey = 0
flags = 0
VIDIOCSWIN -- could not set window info, exiting....

Revision history for this message
Kjell Braden (afflux) wrote :

As I explained on IRC, the information provided by Uwe look like a different bug to me. Thanks for helping.

Revision history for this message
wijit (awijit) wrote : Re: [7.10] "could net set buffer info" on OmniVision Technologies Laptop Integrated Webcam

i've got the same warning dialog but slightly different camorama -D result. Here it is:

tleuser@linuxtle835:~$ camorama -D

VIDIOCGCAP
device name = Acer CrystalEye webcam
device type = 1
can use mmap()
# of channels = 1
# of audio devices = 0
max width = 640
max height = 480
min width = 48
min height = 32

VIDIOCGWIN
x = 0
y = 0
width = 160
height = 120
chromakey = 0
flags = 0

VIDIOCGWIN
x = 0
y = 0
width = 320
height = 240
chromakey = 0
flags = 0

VIDIOCGPICT:
bright = 2056
hue = 32768
colour = 19661
contrast = 8224
whiteness = 40648
colour depth = 16
YUYV
VIDIOCGMBF -- could not set buffer info, exiting...

Revision history for this message
wijit (awijit) wrote :

And here is more info about the system that run camorama:

tleuser@linuxtle835:~$ cat /etc/lsb-release;apt-cache policy camorama
DISTRIB_ID=LinuxTLE
DISTRIB_RELEASE=9.0
DISTRIB_CODENAME=hua-hin
DISTRIB_DESCRIPTION="LinuxTLE 9.0 (hua-hin)"
camorama:
  ติดตั้งแล้ว: 0.18-2ubuntu2
  Candidate: 0.18-2ubuntu2
  ตารางเวอร์ชั่น:
 *** 0.18-2ubuntu2 0
        500 http://download.thaigrid.or.th gutsy/universe Packages
        100 /var/lib/dpkg/status
tleuser@linuxtle835:~$

LinuxTLE is a derivative of Ubuntu 7.10 Gutsy Gibbon. It is capable of I/O Thai language. However, regulary updating to the system makes me not too sure about the real version.

Revision history for this message
CPKS (c-1) wrote :

Same here, running Intrepid AMD64 on Acer 5620Z.

Revision history for this message
Yasir M Elsharif (yasir.elsharif) wrote :

Hello Guys, here are my outputs.
I have almost the same problem, and I am running ubuntu 8.10(64-bit), on DELL inspiron 1420, the two annoying problem I am having are the webcam and the mic.
***************************
one more thing is: why the webcam appears sometimes as Omnivision and sometimes laptop integrated webcam?
***************************
yasir@yasir-laptop:~$ lsusb
Bus 007 Device 003: ID 05a9:2640 OmniVision Technologies, Inc.
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 004: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
yasir@yasir-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"
yasir@yasir-laptop:~$ apt-cache policy camorama
camorama:
  Installed: 0.19-2
  Candidate: 0.19-2
  Version table:
 *** 0.19-2 0
        500 http://archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status
yasir@yasir-laptop:~$ camorama -D

VIDIOCGCAP
device name = Laptop Integrated Webcam
device type = 1
can use mmap()
# of channels = 1
# of audio devices = 0
max width = 1600
max height = 1200
min width = 48
min height = 32

VIDIOCGWIN
x = 0
y = 0
width = 320
height = 240
chromakey = 0
flags = 0

VIDIOCGWIN
x = 0
y = 0
width = 800
height = 600
chromakey = 0
flags = 0

VIDIOCGPICT:
bright = 29491
hue = 0
colour = 41942
contrast = 36408
whiteness = 21845
colour depth = 0
VIDIOCGMBF -- could not set buffer info, exiting...
yasir@yasir-laptop:~$

Revision history for this message
Philippe Coval (rzr) wrote :

Same issue w/ toshiba laptop (*) ,
webcam works w/ empathy or xawtv at least

camorama -D
device name = CNA7157

I can help for test

(*) http://rzr.online.fr/q/tecra

Regards

Revision history for this message
hans rood (hansrood) wrote :

I have the same problem, same alert and same debug-message, with ubuntu- intrepid and jaunty, with Logitech QuickCam E3500 Plus and others.

And yes, with cheese no problem.

My system is built around an ASUS P5QL-CM board with Intel G43 Chipset.

Hope to be helpful

hansr

Revision history for this message
MichaelTayrov (mtayrov) wrote :

Same problem in Camorama.
I use ubuntu 9.10 and have no problems with my cam in Cheese, Skype, Empathy, etc.

~$ camorama -d /dev/video0 -D
VIDIOCGCAP
device name = A4 TECH USB2.0 PC Camera J
device type = 1
can use mmap()
# of channels = 1
# of audio devices = 0
max width = 640
max height = 480
min width = 48
min height = 32

VIDIOCGWIN
x = 0
y = 0
width = 320
height = 240
chromakey = 0
flags = 0

VIDIOCGWIN
x = 0
y = 0
width = 320
height = 240
chromakey = 0
flags = 0

VIDIOCGPICT:
bright = 28672
hue = 32768
colour = 17476
contrast = 33825
whiteness = 39321
colour depth = 16
YUYV
VIDIOCGMBF -- could not set buffer info, exiting...

Revision history for this message
marcsdb (marc-sdb) wrote :

Hi all,

is this problem already solved?
Last few days I have had the same problem with camstream and camorama using a Logitech Webcam C600 on Debian Lenny.
The apps webcam and skype are running well with this webcam.
About one hour ago I installed luvcview, which uses the mmap() access to the v4l2 device as default. I tried to switch to the read() access but the access failed.
I don't know very much about all v4l2 system specific functions but it seams that this is the problem of camstream and camorama: Both uses the read()-access instead of the mmap() access but the cam don't provide this kind of access.

Greetings
Marc

Revision history for this message
Tomas Cassidy (tomas-cassidy) wrote :

I can confirm the problem still exists on Ubuntu 9.10.

$ camorama -D

VIDIOCGCAP
device name = Laptop Integrated Webcam
device type = 1
can use mmap()
# of channels = 1
# of audio devices = 0
max width = 1600
max height = 1200
min width = 48
min height = 32

VIDIOCGWIN
x = 0
y = 0
width = 800
height = 600
chromakey = 0
flags = 0

VIDIOCGWIN
x = 0
y = 0
width = 800
height = 600
chromakey = 0
flags = 0

VIDIOCGPICT:
bright = 29491
hue = 0
colour = 41942
contrast = 36408
whiteness = 21845
colour depth = 0
VIDIOCGMBF -- could not set buffer info, exiting...

summary: - [7.10] "could net set buffer info" on OmniVision Technologies Laptop
+ [9.10] "could net set buffer info" on OmniVision Technologies Laptop
Integrated Webcam
Revision history for this message
Dimitrios Ntoulas (ntoulasd) wrote :

Still exists

$ camorama -D

VIDIOCGCAP
device name = USB 2.0 PC Camera
device type = 1
can use mmap()
# of channels = 1
# of audio devices = 0
max width = 640
max height = 480
min width = 48
min height = 32

VIDIOCGWIN
x = 0
y = 0
width = 320
height = 240
chromakey = 0
flags = 0

VIDIOCGWIN
x = 0
y = 0
width = 320
height = 240
chromakey = 0
flags = 0

VIDIOCGPICT:
bright = 30703
hue = 32896
colour = 30961
contrast = 40959
whiteness = 21845
colour depth = 0
VIDIOCGMBF -- could not set buffer info, exiting...

$ uname -a
Linux dimitris-laptop 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux

$ lsusb
Bus 002 Device 002: ID 058f:3820 Alcor Micro Corp.

Revision history for this message
Dimitrios Ntoulas (ntoulasd) wrote :

EDIT :
Working if I use libv4l-0

$ LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so camorama

also work with effectv

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so effectv

Revision history for this message
Blanz (rcblanzy) wrote :

VIDIOCGCAP
device name = HP Webcam
device type = 1
can use mmap()
# of channels = 1
# of audio devices = 0
max width = 640
max height = 480
min width = 48
min height = 32

VIDIOCGWIN
x = 0
y = 0
width = 640
height = 480
chromakey = 0
flags = 0

VIDIOCGWIN
x = 0
y = 0
width = 320
height = 240
chromakey = 0
flags = 0

VIDIOCGPICT:
bright = 32896
hue = 32768
colour = 16513
contrast = 16513
whiteness = 43690
colour depth = 16
YUYV

Linux 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 GNU/Linux
Ubuntu 10.04 32 bit

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.