Twinkletoes
Posts: 210
Joined: Fri May 25, 2012 9:44 pm

egl_render throwing insufficient resources exception

Thu Jan 03, 2013 2:09 pm

We have some code using egl_render which plays big_buck_bunny correctly.

We have encoded another raw h.264 which can be played by hello_video. When we try this with our code we get an OMX_ErrorInsufficientResources error from the EglRender component.

Under what circumstances does EglRender throw this error?

The only difference we can see between the two videos is that our one has a 1440x1080 resolution, whereas Big buck bunny is 1920x1080.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5288
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: egl_render throwing insufficient resources exception

Thu Jan 03, 2013 2:14 pm

Usually a failure to allocate buffers. What is your gpu_mem split?
search around for "vcdebug reloc" to identify memory usage on gpu.

Twinkletoes
Posts: 210
Joined: Fri May 25, 2012 9:44 pm

Re: egl_render throwing insufficient resources exception

Thu Jan 03, 2013 3:36 pm

Aha - found the problem - the GL texture was 1920x1080 but the video was 1440x1080. Change the GL texture size and it works.

Return to “OpenMAX”