Skip to contentSkip to conversation

Cannot allocate memory

DISCUSSION [email protected] 2 participants 2 messages Sep 4, 2008 – Sep 13, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#1 lore raw

Hi,

Quoted 13 lines · On Thursday 04 September 2008, [email protected] 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:

Quoted 8 lines

-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:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list