On Wed, Jan 11, 2017 at 9:29 AM, Pierre-Olivier Huard <pierre-olivier.hu...@twiga-web.com> wrote: > Hello, > > I'm trying to make G2D plugins from gstreamer-imx work with my imx6Q. I work > on Yocto, Fido branch, with 3.14.38 kernel. I use a module from Variscite, > the DART-MX6. My kernel is from Variscite Github > (https://github.com/varigit/linux-2.6-imx/tree/imx_3.14.38_6qp_ga_var01), > and my meta is based on the meta-variscite. > > The plugins are from https://github.com/Freescale/gstreamer-imx, I also > posted an issue (n°104) but I don't have any answer. > > When I try to run gst-launch-1.0 imxv4l2videosrc ! imxg2dvideosink I get the > following error : > > g2d_alloc: alloc memory fail with size 16! > ERROR: Pipeline doesn't want to pause. > Setting pipeline to NULL ... > Freeing pipeline .. > > With more debug : > > 0:00:00.540714000 425 0x549400 INFO imxphysmemallocator > phys_mem_allocator.c:62:gst_imx_phys_mem_allocator_init:<GstImxPhysMemAllocator@0x54d908> > initializing physical memory allocator > g2d_alloc: alloc memory fail with size 16! > 0:00:00.556959667 425 0x549400 ERROR imxg2dallocator > allocator.c:59:gst_imx_g2d_alloc_phys_mem:<imxg2dallocator0> could not > allocate 16 bytes of physical memory > 0:00:00.557108000 425 0x549400 WARN imxphysmemallocator > phys_mem_allocator.c:154:gst_imx_phys_mem_allocator_alloc:<imxg2dallocator0> > could not allocate memory block with 16 bytes > 0:00:00.557213000 425 0x549400 WARN GST_BUFFER > gstbuffer.c:739:gst_buffer_new_allocate: failed to allocate 16 bytes > > I tried to change the CMA value, already to 320M, but I get the same error. > > a part of my kernel configuration : > > CONFIG_MXC_GPU_VIV=y > > CONFIG_CMA_SIZE_MBYTES=320 > CONFIG_CMA_SIZE_SEL_MBYTES=y > > CONFIG_CMA_ALIGNMENT=8 > CONFIG_CMA_AREAS=7 > > CONFIG_DMA_CMA=y > > CONFIG_DMA_SHARED_BUFFER=y > > I think it would be a kernel misconfiguration. It works on another iMX6 > (DualLite), with nearly the same meta, and a different kernel (3.14.28). Any > thougts about kernel missing configuration?
Please try our kernel without meta-variscite and see if it works; or contact their support team. -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale