Hi,
I am using jb4.2.2_1.1.0. Hardware IMX6q.
I want to decode HD (1280x720) H264, and file format is mkv.
I am getting following error while want to play that file using Gallery.
I/OMXPlayer( 4219): Link result: [OMX.Freescale.std.parser.fsl.sw-based:3:16384].
I/OMXPlayer( 4219): Link result: [OMX.Freescale.std.audio_decoder.aac.sw-based:3:16384].
I/OMXPlayer( 4219): Loading component audio_render.android ...
I/OMXPlayer( 4219): Link result: [OMX.Freescale.std.audio_decoder.aac.sw-based:3:49152].
I/OMXPlayer( 4219): Link result: [OMX.Freescale.std.audio_render.android.sw-based:3:49152].
I/OMXPlayer( 4219): Loading component video_decoder.avc ...
I/vpu-lib ( 4219): Product Info: i.MX6Q/D/S
I/OMXPlayer( 4219): Link result: [OMX.Freescale.std.parser.fsl.sw-based:5:1048576].
I/OMXPlayer( 4219): Link result: [OMX.Freescale.std.video_decoder.avc.v3.hw-based:5:1048576].
I/OMXPlayer( 4219): LEVEL: 1 FUNCTION: DoAllocateBuffer LINE: 1120
I/OMXPlayer( 4219): Allocate memory failed, size: 1048576
I/OMXPlayer( 4219): LEVEL: 1 FUNCTION: DoAllocateBuffer LINE: 1144
I/OMXPlayer( 4219): LEVEL: 1 FUNCTION: AllocateBuffer LINE: 368
I/OMXPlayer( 4219): Failed to allocate buffer resource for port #1
I/OMXPlayer( 4219): LEVEL: 1 FUNCTION: PortAllocateBuffers LINE: 1222
I/OMXPlayer( 4219): LEVEL: 1 FUNCTION: SysEventHandler LINE: 1566
I/OMXPlayer( 4219): OMX.Freescale.std.parser.fsl.sw-based allocate buffer for port 1 failed. buffer size 1048576 , index 0
I/OMXPlayer( 4219): OMX.Freescale.std.parser.fsl.sw-based report Error 80001000.
Any suggestions, Why this memory allocation fails.
Hi,
Is there any update for this issue?
DaianeAngolini Feb 28, 2014 6:38 AM (in response to Oscar Navarro Alvarez)
are you using the recommended kernel command line?
Hi
Karina
I am not able to access the link.
I am using following kernel command line
console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=400M video=mxcfb0:dev=ldb,LDB-1080P50-rbt-w432,if=RGB24,bpp=32 ldb=spl0 fbmem=24M fb0base=0x27b00000 enable_wait_mode=off root=/dev/mmcblk0p1 init=/init androidboot.hardware=freescale ldo_active=off pmem=64M lvds=spwg
Ok. You should be using a custom board.
Was you able to reproduce the same issue using imx6qsabresd?
Hi,
Daiane Angolini
Yes, I am using custom board.
I have prepared a simple application which is running in a for loop and doing memory allocation, This test is able to allocate memory.
I have verified that this is not memory fragmentation issue.
I will check this on SabareSD board.
Thanks
Saurabh
Thanks for your reply.
Please, let us know when you have been reproduced it on SabreSD board.
Hi,
This issue is not reproduce in SabreSD board.
What could be the possible reason to failed on my case?
Thanks
Saurabh
DaianeAngolini please continue with the follow up.