libv4l2: error turning on stream: Cannot allocate memory

Bug #359045 reported by Andrea Piccinelli on 2009-04-10
This bug affects 8 people
Affects Status Importance Assigned to Milestone
libv4l (Ubuntu)

Bug Description

I'm running Ubuntu Jaunty, libv4l-0 v0.5.8-1, and when I try to use my webcam (Acer CristalEye webcam), I get this error:

libv4l2: error turning on stream: Cannot allocate memory

This happens every time, with luvcview, gstreamer-properties, cheese....

The strange thing is that sometimes the webcam actually works. What kind of info do you need for this bug?

Andrea Piccinelli (frasten) wrote :
Andrea Piccinelli (frasten) wrote :
Richdel (richdel1991) wrote :

I hav an identical bug,

It doesnt work with msn webcam with amsn either,

I had no problems with this in 8.10


Jelle Foks (jellefoks) wrote :

When the problem occurs for me on my vaoi VGN-FW140E, it ususally works fine right after a reboot, but then after not using the camera for a while (a perhaps a standy/resume cycle), it stops working and gives the error message.

I have the same problem with Jaunty on an HP 6930p with the built in "CKA7216" device. The webcam used to work on Intrepid.

Ken Foskey (foskey) wrote :

Bug 359045 appears related as well.

Andrea Piccinelli (frasten) wrote :

I've attached a /var/log/messages related to this bug.

cappo (da-cappo) wrote :

Same for me...
with cheese -> error message

libv4l2: error turning on stream: Cannot allocate memory

When I log ınto xterm and launch cheese from there, ıt works; but when I log ınto Xfce ıt shows the mentıoned error message.

I see the same thing with cheese and my Logitech QuickCam Pro 9000. skype can use my webcam without trouble.

...wowever, when launched from gnome-panel rather than gnome-terminal, cheese is able to use my webcam, albeit a bit hyper saturated. (w/no effects turned on)

littlewiki (lil.wk) wrote :

I have the same problem her with cheese and gstreamer-properties but luvciew works fine.

luvcview 0.2.4

SDL information:
  Video driver: x11
  A window manager is available
Device information:
  Device path: /dev/video0
Stream settings:
  Frame format: MJPG
  Frame size: 640x480
  Frame rate: 30 fps

Vik (vik-catalyst) wrote :

Confirmed on an Acer Aspire 9300 using cheese on up-to-date jaunty:

Linux kereru 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux

libv4l2: error turning on stream: Cannot allocate memory

Vik :v)

Vik (vik-catalyst) wrote :

Here is the output from dmesg when cheese fails on my laptop under KDE. It starts with

[613591.929752] uvcvideo: device USB2.0 Camera requested null bandwidth, defaulting to lowest.
[613591.930239] cheese: page allocation failure. order:5, mode:0x8000

and gets worse :)

Vik :v)

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libv4l (Ubuntu):
status: New → Confirmed

I have Ubuntu 11.04, libv4l 0.8.3-1, and the "CrystalEye" webcam attached to my aspireone.

libv4l2: error turning on stream: Erro de entrada/saída

Bus 003 Device 006: ID 0ac8:3420 Z-Star Microelectronics Corp. Venus USB2.0 Camera

Damian Pietras (damianp) wrote :

I have the same error, I can use the camera for some time and then receive this error. I'm using Logitech C525, uvcvideo driver and a vanillia 3.7.1 kernel.

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

Duplicates of this bug

Other bug subscribers