Hi
I'm getting CMEMK Error: Failed to find a pool which fits xxxxxx errors. When i try to run gst-launch command.
As i searched via google i found that this problem occurs because of cmem configurations which is in loadmodules.sh file.
with default values of loadmodules.sh file gst-launch command was working without any problem on DVSDK 2.10 but on DVSDK 3.10 i'm getting CMEMK Error: Failed to find a pool which fits xxxxxx errors.
Default loadmodules.sh file configurations are below for cmem.
insmod cmemk.ko phys_start=0x85400000 phys_end=0x88000000 \
pools=1x6651904,1x3670016,18x1548288,1x282624,1x159744,1x49152,1x32768,1x28672,1x16384,3x12288,2x8192,36x4096
as i understood 0x88000000 - 0x85400000 = 0x2C00000 means 46137344 bytes equals 44 MB. So for cmem default 44 MB had been reserved. total bytes of default pools (1*6651904+1*3670016+18*1548288+1*282624+1*159744+1*49152+1*32768+1*28672+1*16384+3*12288+2*8192+36*4096) equals 38961152 bytes (37,15625 MB) so we have 6,84375MB more that we can use. If there is something wrong or misunderstanding, please correct me.
Although i modified loadmodules.sh file as calculation above. I am still getting same errors.
I am getting errors below. i am changing pools as memory requires. but i am getting another error. there is no end i could reached. Is that possible that there may be a bug on dvsdk_3_10_00_19.
pools=1x6651904,1x3670016,18x1548288,1x282624,1x159744,1x49152,1x32768,1x28672,1x16384,3x12288,2x8192,36x4096 --> CMEMK Error: Failed to find a pool which fits 16538976 and CMEM Error: getPool: Failed to get a pool fitting a size 16538976
pools=1x17651904,1x3670016,10x1548288,1x282624,1x159744,1x49152,1x32768,1x28672,1x16384,3x12288,2x8192,36x4096 --> CMEMK Error: Failed to find a pool which fits 4840192 and CMEM Error: getPool: Failed to get a pool fitting a size 4840192
pools=1x17651904,1x4970016,10x1548288,1x282624,1x159744,1x49152,1x32768,1x28672,1x16384,3x12288,2x8192,36x4096 --> CMEMK Error: Failed to find a pool which fits 1645056 and CMEM Error: getPool: Failed to get a pool fitting a size 1645056
goes on ...
- Platform DM365 with 256MB NAND
- Host Ubuntu 10.04 LTS - Lucid Lynx
- Compiler is MontaVista v5.0
- DVSDK is dvsdk_3_10_00_19
- ti-gstremer is gst-ti-plugin-full-1.01.00
- kernel is arago-2.6.32.rc2
when i compiled gst-ti-plugin-full-1.01.00 with codesourcery 2010q1 compiler. i got atexit error while loading gstremer libraries. So i compiled with MontaVista v5.0
I am able to run gstremer on dvsdk_2_10_01_18 and montavista kernel (2.6.18). but when i try to transfer h264 encoded video from a composite camera connected to DM365EVM via RTP to another dm365. It is taking 30-40 seconds to see on LCD. I think this delay occurs because of dvsdk_2_10_01_18 or montavista kernel (2.6.18). So i think that i need new dvsdk and kernel.
Is there anybody who solved this problem and able to run gstreamer on DM365 with dvsdk_3_10_00_19.
Thanks