libimxdmabuffer icon indicating copy to clipboard operation
libimxdmabuffer copied to clipboard

DWL allocation + imx8mp

Open CarlBarrIng opened this issue 1 year ago • 0 comments

Hi,

I'm trying to use gst-imx plugins from your other repo, but it has problems allocating memory. So i want to test this lib first. As I am trying to make it work on imx8mp device with hantro vpu with 5.10 kernel, i think i need to use DWL allocation. However, im compiling libs and program to test ION allocation and DWL allocation. That is what i get when i try to pass the "test-alloc" demo:

imagen

ION allocation passes, DWL allocation do not. Any idea why is this happening or how to solve this error? I think to use DWL allocation libimxdma uses libhantro.so.1 (Or at least simbols found there). This lib is included as well.

Im compiling the libs with the following config:

--with-dma-heap-allocator=no --with-ion-allocator=yes --with-dwl-allocator=yes --with-g2d-allocator=no --with-pxp-allocator=no --with-ipu-allocator=no

Greetings

CarlBarrIng avatar Jul 02 '24 10:07 CarlBarrIng