G2D Alloc Error - Gstreamer-1.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

G2D Alloc Error - Gstreamer-1.0

986 Views
faizel
Contributor I

Hi All,

We are trying the following pipeline in gstreamer1.0 for imx6 based custom board (yocto sdk dizzy) which has a sensor of resolution 720*480(BT656) connected over CSI.

Following are the two sources for our imxg2dcompositor element, 

1. imxv4l2videosrc -->imxg2dcompositor(input-1)

2. filesrc location=<png file> --> pngdec --> imagefreeze --> imxg2dcompositor(input-2)

and here is the ouput of g2d compositor connected to video sink.

imxg2dcompositor(output) --> imxgedvideosink

When we have this pipleline run along with a qt application(using x11 and framebuffer direct), we are getting a error from the g2d library as follows, 

g2d_alloc: alloc memory fail with size 1382400.

and pipleline get stopped.

NB: We are able to stream the video from  imxv4l2videosrc  to imxg2dvideosink without any issues

 

Thanks 

Faizel

0 Kudos
1 Reply

572 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Faizel,

g2d_alloc has the 32MB limit. Please check graphics user guide document at: https://community.nxp.com/servlet/JiveServlet/download/523230-1-295723/i.MX_6_Graphics_Users_Guide.p... 

 

Section 9 GPU memory, for instructions to change this reserved memory space.

Regards

0 Kudos