This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

codec engine build fails

in dvsdk/cs1omap3530_1_01_00, building engine codec complains

dvsdk/xdctools_3_16_01_27/tconf.x86U: can't create session manager: can't find JVM

But java_vm is there in /dvsdk/xdctools_3_16_01_27/jre/bin. I can not figure out.

  • Regarding the above issue, I found if I copy dvsdk to a new location rather than original installation location, I would get this problem. Anyway, I have built all components, but there are no sound output, here are debug messages. I don't know why  there are sound buffer allocation failure, I use provided loadmodules.sh, but as I remember, it shouldn't affect audio play.

    [DSP] @0,083,419tk: [+0 T:0x87f3dc04 S:0x87f421fc] OM - Memory_cacheInv> Enter(addr=0x863cb000, sizeInBytes=2048)
    [DSP] @0,083,481tk: [+0 T:0x87f3dc04 S:0x87f421fc] OM - Memory_cacheInv> return
    [DSP] @0,083,524tk: [+0 T:0x87f3dc04 S:0x87f421fc] OM - Memory_cacheInv> Enter(addr=0x863eb000, sizeInBytes=8192)
    [DSP] @0,083,592tk: [+0 T:0x87f3dc04 S:0x87f421fc] OM - Memory_cacheInv> return
    [DSP] @0,083,646tk: [+0 T:0x87f3dc04 S:0x87f421bc] ti.sdo.ce.audio1.AUDDEC1 - AUDDEC1_process> Enter (handle=0x87f3d7c0, inBufs=0x87f42264, outBufs=0x87f42328, inArgs=0x87306a38, outArgs=0x87306a48)
    [DSP] @0,083,750tk: [+5 T:0x87f3dc04 S:0x87f4219c] CV - VISA_enter(visa=0x87f3d7c0): algHandle = 0x87f3d7f8
    [DSP] @0,083,809tk: [+0 T:0x87f3dc04 S:0x87f4217c] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x87f3d7f8)
    [DSP] @0,083,869tk: [+0 T:0x87f3dc04 S:0x87f4217c] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    [DSP] @0,085,473tk: [+5 T:0x87f3dc04 S:0x87f4219c] CV - VISA_exit(visa=0x87f3d7c0): algHandle = 0x87f3d7f8
    [DSP] @0,085,571tk: [+0 T:0x87f3dc04 S:0x87f4217c] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x87f3d7f8)
    [DSP] @0,085,638tk: [+0 T:0x87f3dc04 S:0x87f4217c] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    [DSP] @0,085,733tk: [+0 T:0x87f3dc04 S:0x87f421bc] ti.sdo.ce.audio1.AUDDEC1 - AUDDEC1_process> Exit (handle=0x87f3d7c0, retVal=0x0)
    [DSP] @0,085,803tk: [+0 T:0x87f3dc04 S:0x87f421fc] OM - Memory_cacheWb> Enter(addr=0x863eb000, sizeInBytes=8192)
    [DSP] @0,085,898tk: [+0 T:0x87f3dc04 S:0x87f421fc] OM - Memory_cacheWb> return
    [DSP] @0,085,944tk: [+5 T:0x87f3dc04 S:0x87f423cc] CN - NODE> returned from call(algHandle=0x87f3d7c0, msg=0x87306880); messageId=0x0002fdf1
    [DSP] @0,086,684tk: [+0 T:0x87f38c34 S:0x87f3cbf4] CR - processRmsCmd(0x873048a8, 4056): cmd = 5
    [DSP] @0,086,742tk: [+0 T:0x87f38c34 S:0x87f3cbf4] CR - remote time = 0x0, trace buffer size = 4032
    @1,395,141us: [+0 T:0x413a4490 S:0x413a3a34] CE - Engine_fwriteTrace> returning count [2060]
    @1,395,202us: [+0 T:0x413a4490 S:0x413a3ab4] CV - VISA_call Completed: messageId=0x0002fdf1, command=0x0, return(status=0)
    @1,395,263us: [+5 T:0x413a4490 S:0x413a3abc] CV - VISA_freeMsg(0x6ed18, 0x41bb6880): Freeing message with messageId=0x0002fdf1
    @1,395,324us: [+0 T:0x413a4490 S:0x413a3b0c] ti.sdo.ce.audio1.AUDDEC1 - AUDDEC1_process> Exit (handle=0x6ed18, retVal=0x0)
    @1,395,355us: [+2 T:0x413a4490 S:0x413a3b5c] ti.sdo.dmai - [Adec1] AUDDEC1_process() ret 0, consumed 170, created 1024 samples
    @1,432,983us: [+2 T:0x413a4490 S:0x413a3cc4] ti.sdo.dmai - [Sound] Failed to set buffer size (2048) , got (512) on plughw:0,0 (Success)
    Plug PCM: Hardware PCM card 0 'omap3beagle' device 0 subdevice 0
    Its setup is:
      stream       : CAPTURE
      access       : RW_INTERLEAVED
      format       : S16_LE
      subformat    : STD
      channels     : 2
      rate         : 48000
      exact rate   : 48000 (48000/1)
      msbits       : 16
      buffer_size  : 24064
      period_size  : 512
      period_time  : 10666
      tstamp_mode  : NONE
      period_step  : 1
      avail_min    : 512
      period_event : 0
      start_threshold  : 1
      stop_threshold   : 24064
      silence_threshold: 0
      silence_size : 0
      boundary     : 1577058304
      appl_ptr     : 0
      hw_ptr       : 0
    @1,436,370us: [+2 T:0x413a4490 S:0x413a3d04] ti.sdo.dmai - [Sound] Plug PCM: Hardware PCM card 0 'omap3beagle' device 0 subdevice 0
    Its setup is:
      stream       : PLAYBACK
      access       : RW_INTERLEAVED
      format       : S16_LE
      subformat    : STD
      channels     : 2
      rate         : 48000
      exact rate   : 48000 (48000/1)
      msbits       : 16
      buffer_size  : 24064
      period_size  : 512
      period_time  : 10666
      tstamp_mode  : NONE
      period_step  : 1
      avail_min    : 512
      period_event : 0
      start_threshold  : 24064
      stop_threshold   : 24064
      silence_threshold: 0
      silence_size : 0
      boundary     : 1577058304
      appl_ptr     : 0
      hw_ptr       : 0
    @1,469,543us: [+2 T:0x413a4490 S:0x413a3d04] ti.sdo.dmai - [Sound] @1,469,848us: [+0 T:0x413a4490 S:0x413a3ccc] OM - Memory_getBufferPhysicalAddress> Enter(virtAddr=0x41c450aa, size=4)
    @1,469,940us: [+1 T:0x413a4490 S:0x413a3ccc] OM - Memory__getPhysicalAddress> Enter(virtAddr=0x41c450aa, size=4)
    @1,469,970us: [+1 T:0x413a4490 S:0x413a3ccc] OM - Memory__getPhysicalAddress> found in cb(Sc=0x41c45000, Ec=0x41c4a000, Ss=0x41c450aa, Es=0x41c450ae, PSc=0x863cb000)

  • I am still struggling with sound issue. It worked before. I just downloaded dvsdk_3_01_00_10 again. Now I test dsplink sample message and loop. The messagegpp works fine, but loopgpp not. Any idea of how to proceed?

    root@beagleboard:/home/user# ./messagegpp message.out 10
    ========== Sample Application : MESSAGE ==========
    Entered MESSAGE_Create ()
    Leaving MESSAGE_Create ()
    Entered MESSAGE_Execute ()
    Transferring 10 iterations took 0 seconds 1099 microseconds.
    RoundTrip Time for 1 message is 109 microseconds.
    Leaving MESSAGE_Execute ()
    Entered MESSAGE_Delete ()
    Leaving MESSAGE_Delete ()
    ====================================================
    root@beagleboard:/home/user# ./loopgpp loop.out 1024 10000 0
    =============== Sample Application : LOOP ==========
    ==== Executing sample for DSP processor Id 0 ====
    Entered LOOP_Create ()
    Leaving LOOP_Create ()
    Entered LOOP_Execute ()
    [  115.368743] DSP-side configuration mismatch/failure
    [  115.373687] 0              -> success
    [  115.377380] Positive value -> DSP-side failure code.
    [  115.382385] (Uint32) -1    -> DSP-side component was not initialized.
    [  115.382415]
    [  115.390380]     ProcId received : 0, Expected : 0
    [  115.395111]     DRV configuration status    [0xffffffff]
    [  115.400482]     IPS configuration status    [0xffffffff]
    [  115.406036]     POOL configuration status   [0xffffffff]
    [  115.411407]     MPCS configuration status   [0xffffffff]
    [  115.416748]     MPLIST configuration status [0xffffffff]
    [  115.422119]     MQT configuration status    [0xffffffff]
    [  115.427459]     DATA configuration status   [0xffffffff]
    [  115.432800]     RINGIO configuration status [0xffffffff]
    [  115.438323] DSP MMU Error Fault!  MMU_IRQSTATUS = [0x1]. Virtual DSP addr reference that generated t.
    PROC_start failed. Status = [0x80008052]
    Leaving LOOP_Execute ()
    Entered LOOP_Delete ()
    Leaving LOOP_Delete ()