hello,

You may want to consider the createFromServer method - 
http://wiki.davincidsp.com/index.php?title=Configuring_Codec_Engine_in_Arm_apps_with_createFromServer 
At least takes the potential-dsp.v.-arm-memory-map-inconsistency out of the 
equation.

U need >= CodecEng v2.0 which is shipped in DVSDK >= 1.30.

If u upgrade u should also take advantage of CE_DEBUG=2 
http://wiki.davincidsp.com/index.php?title=Codec_Engine_FAQ#Runtime_Troubleshooting to
 debug this further.

cheers, AC ----- 




________________________________
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: Stephen Berry <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Friday, October 31, 2008 1:45:25 PM
Subject: Re: Encodedecode: Failed to open codec engine


Thanks for your quick answer, Steve.

Yes, I think it is already correctly configured:

/*
*  ======== Engine Configuration ========
*/
var Engine = xdc.useModule('ti.sdo.ce.Engine');
var demoEngine = Engine.create("encodedecode", [
    {name: "h264enc", mod: H264ENC, local: false, groupId: 0},
    {name: "h264dec", mod: H264DEC, local: false, groupId: 0},

]);




> I'm no expert, but you might want to check your encodedecode.cfg file.
> Make sure that the line:
>
>    var myEngine = Engine.create("encode", [
>
> says "encodedecode" to match the engine name that you are trying to open.
>
>    Steve
>
> [EMAIL PROTECTED] wrote:
>> Hi all.
>>
>> I'm modifying the demos of DVEVM6446 and I'm stuck in the error <<Failed
>> to open codec engine "encodedecode">>.
>>
>> What seems strange to me is that only encodedecode fails. Decode and
>> encode run correctly. I also kept an old binary of encodedecode that
>> works
>> fine. So, my doubts (due to my lack of experience, for sure) are, what
>> should I modify (maybe in the code) to make this works? and Why the
>> other
>> demos, using the same codec, works fine?
>>
>> Thanks in advance,
>> Jose
>>
>> ------------------
>> With the DEBUG define, the traces are:
>>
>> Entered PROC_Setup ()
>> Entered DRV_Initialize ()
>>     drvObj    [0x31af0]
>>     arg    [0x0]
>>
>> Failure: Status:[0x80008008] File:[0x50c] Line:[216]
>> Leaving DRV_Initialize ()     status [0x80008008]
>>
>> Failure: Status:[0x80008008] File:[0x200] Line:[116]
>> Leaving PROC_Setup ()     status [0x80008008]
>> Entered MSGQ_TransportClose ()
>>     procId    [0x0]
>> Entered DRV_Invoke ()
>>     drvObj    [0x0]
>>     cmdId    [0x6f02]
>>     arg1    [0x415e0540]
>>     arg2    [0x0]
>> Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj,
>> SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File :
>> drv_api.c Line : 360
>>
>> Failure: Status:[0x80008002] File:[0x50c] Line:[934]
>> Leaving DRV_Invoke ()     status [0x80008002]
>>
>> Failure: Status:[0x80008002] File:[0x202] Line:[165]
>> Leaving MSGQ_TransportClose ()     status [0x80008002]
>> Entered PROC_Stop ()
>>     procId    [0x0]
>> Entered DRV_Invoke ()
>>     drvObj    [0x0]
>>     cmdId    [0x6c04]
>>     arg1    [0x415e0540]
>>     arg2    [0x0]
>> Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj,
>> SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File :
>> drv_api.c Line : 360
>>
>> Failure: Status:[0x80008002] File:[0x50c] Line:[934]
>> Leaving DRV_Invoke ()     status [0x80008002]
>>
>> Failure: Status:[0x80008002] File:[0x200] Line:[575]
>> Leaving PROC_Stop ()     status [0x80008002]
>> Entered POOL_Close ()
>>     poolId    [0x0]
>> Entered DRV_Invoke ()
>>     drvObj    [0x0]
>>     cmdId    [0x7102]
>>     arg1    [0x415e0540]
>>     arg2    [0x0]
>> Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj,
>> SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File :
>> drv_api.c Line : 360
>>
>> Failure: Status:[0x80008002] File:[0x50c] Line:[934]
>> Leaving DRV_Invoke ()     status [0x80008002]
>>
>> Failure: Status:[0x80008002] File:[0x203] Line:[173]
>> Leaving POOL_Close ()     status [0x80008002]
>> Entered PROC_Detach ()
>>     procId    [0x0]
>> Entered DRV_Invoke ()
>>     drvObj    [0x0]
>>     cmdId    [0x6c07]
>>     arg1    [0x415e0540]
>>     arg2    [0x0]
>> Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj,
>> SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File :
>> drv_api.c Line : 360
>>
>> Failure: Status:[0x80008002] File:[0x50c] Line:[934]
>> Leaving DRV_Invoke ()     status [0x80008002]
>>
>> Failure: Status:[0x80008002] File:[0x200] Line:[258]
>> Leaving PROC_Detach ()     status [0x80008002]
>> Entered PROC_Destroy ()
>> Entered DRV_Initialize ()
>>     drvObj    [0x31af0]
>>     arg    [0x0]
>>
>> Failure: Status:[0x80008008] File:[0x50c] Line:[216]
>> Leaving DRV_Initialize ()     status [0x80008008]
>>
>> Failure: Status:[0x80008008] File:[0x200] Line:[164]
>> Leaving PROC_Destroy ()     status [0x80008008]
>> TraceUtil> Error: Failed to open codec engine "encodedecode"
>>
>> ----------------------
>>
>> The /tmp/cearmlog.txt:
>>
>> @0x0002f9b8:[T:0x415e0b60] OP - Process_create_d> Loading and starting
>> DSP
>> server FAILED, status=[0x80008008]
>> @0x000300e4:[T:0x415e0b60] OP - Process_delete_d> Closing remote
>> transport
>> FAILED, status=0x80008002.
>> @0x00030652:[T:0x415e0b60] OP - Process_delete_d> Stopping DSP FAILED,
>> status=0x80008002
>> @0x00030ba9:[T:0x415e0b60] OP - Process_delete_d> Closing pool FAILED,
>> status=0x80008002
>> @0x0003115c:[T:0x415e0b60] OP - Process_delete_d> Detaching from DSP
>> FAILED, status=0x80008002
>> @0x000316fe:[T:0x415e0b60] OP - Process_delete_d> Destroying DSP FAILED,
>> status=0x80008008
>> @0x000317dd:[T:0x41de0b60] CE - rserverOpen: can't start
>> './loopbackCombo.x64P'; Process_create failed
>>
>>
>>
>>
>> _______________________________________________
>> Davinci-linux-open-source mailing list
>> [email protected]
>> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>>
>


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source



      
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to