public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Cannot allocate memory
@ 2008-09-04  8:09 EVENTYR
  2008-09-13 16:28 ` Laurent Pinchart
  0 siblings, 1 reply; 2+ messages in thread
From: EVENTYR @ 2008-09-04  8:09 UTC (permalink / raw)
  To: video4linux-list

Hi,

I'm executing test software which is in official website:


http://v4l2spec.bytesex.org/spec/capture-example.html

My system is a debian stable with kernel 2.6.24 (i'm trying with 2.6.18 too).


Software crash (stop) when i use USERPTR mode:

-u | --userp         Use application allocated buffers

Software returns:

"VIDIOC_QBUF error 12, Cannot allocate memory"

With other two modes (READ and MMAP) works fine, but i need that works with USERPTR mode, what is the problem?

Thanks a lot.






Ahora también puedes acceder a tu correo Terra desde el móvil.

Infórmate pinchando aquí.





--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cannot allocate memory
  2008-09-04  8:09 Cannot allocate memory EVENTYR
@ 2008-09-13 16:28 ` Laurent Pinchart
  0 siblings, 0 replies; 2+ messages in thread
From: Laurent Pinchart @ 2008-09-13 16:28 UTC (permalink / raw)
  To: video4linux-list, EVENTYR

Hi,

On Thursday 04 September 2008, EVENTYR@terra.es wrote:
> Hi,
>
> I'm executing test software which is in official website:
>
>
> http://v4l2spec.bytesex.org/spec/capture-example.html
>
> My system is a debian stable with kernel 2.6.24 (i'm trying with 2.6.18
> too).
>
>
> Software crash (stop) when i use USERPTR mode:
>
> -u | --userp         Use application allocated buffers
>
> Software returns:
>
> "VIDIOC_QBUF error 12, Cannot allocate memory"
>
> With other two modes (READ and MMAP) works fine, but i need that works with
> USERPTR mode, what is the problem?

The driver you're using probably doesn't support the user pointer method. Not 
all drivers do. Why do you need that specific method ?

Best regards,

Laurent Pinchart

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-13 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04  8:09 Cannot allocate memory EVENTYR
2008-09-13 16:28 ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox