omap3-isp-live does not allocate big enough buffers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Laurent

I am working on a demo-application for displaying a videostream on a 
beagleboard. Now I have seen that you have done something similar, 
but if I run your "live" application out of the omap3-isp-live repo,
then I get the following error:

root@beagleboard:~# modprobe omap_vout video1_numbuffers=3 
video2_numbuffers=3 video1_bufsize=771200 video2_bufsize=771200 
vid1_static_vrfb_alloc=n vid2_static_vrfb_alloc=n
root@beagleboard:~# ./live
fb size is 800x480
Device /dev/video6 opened: OMAP3 ISP resizer output (media).
viewfinder configured for 2011 800x482
AEWB: #win 10x7 start 16x74 size 256x256 inc 30x30
trying to allocate 800x480
Device /dev/video7 opened: omap_vout ().
3 buffers requested.
Buffer 0 mapped at address 0xb6d68000.
Buffer 1 mapped at address 0xb6cac000.
Buffer 2 mapped at address 0xb6bf0000.
3 buffers requested.
Buffer 0 too small (771200 bytes required, 770048 bytes available).
error: unable to allocate buffers for viewfinder.
error: unable to set buffers pool

This seems to happen in the v4l2_alloc_buffers function of v4l2.c
when memtype is V4L2_MEMORY_USERPTR. Has it been broken in the
newer kernel versions? Do you have hint where I should start fixing?

I am using the following config:
beagleboard-xm
linux-omap branch, tag v3.5
leopard imaging li-5m03 with mt9p031

Greetings,
Florian

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux