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.

DMAI1.20 vs DMAI1.18

We successfully integrated our DM6467 video encoder and decoder using DMAI1.18.00.01 in DVSDK 2.00.01.15.  Recently we upgraded to the latest version of DMAI (1.20.00.06).  When we modify our Rules.make at the top-level of DVSDK_INSTALL_DIR to try to get our app within dvsdk_demos_2_00_00_02 to use  DMAI1.20.00.06, we get the following error messages:

   data/home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/lib/dmai_linux_dm6467.a470MV(Sound_alsa.dm6467.o470MV): In function
`setMixerVolume':
   /home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c:71: undefined reference to `snd_mixer_selem_id_malloc'
   /home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c:74: undefined reference to `snd_mixer_open'
   /home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c:77: undefined reference to `snd_strerror'
   /home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c:83: undefined reference to `snd_mixer_attach'
   /home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c:86: undefined reference to `snd_strerror'
   /home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c:92: undefined reference to `snd_mixer_selem_register'
   /home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c:95: undefined reference to `snd_strerror'
   /home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c:100: undefined reference to `snd_mixer_load'
   /home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c:103: undefined reference to `snd_strerror'
   /home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c:108: undefined reference to `snd_mixer_first_elem'
   /home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c:111: undefined reference to `snd_mixer_selem_get_id'
   /home/rchen/dvsdk_2_00_01_15/dmai_1_20_00_06/packages/ti/sdo/dmai/linux/Sound_alsa.c:112: undefined reference to `snd_mixer_selem_is_active
'

I tried to find the .h file where these were declared since I thought it could be an include dir issue but it wasn't obvious to me where this was.  I'm thinking there must be another step necessary to incorporate DMAI 1.20.00.06 into the DVSDK besides changing Rules.make which I am missing.

We also checked the files in dmai_1_20_00_06/docs but couldn't find any steps we were missing.

We can build within the dmai_1_20_00_06 directory itself with no issues.

Has anyone else run into this before?  Our preference is to use the latest version of DMAI as a previous XDM release to a customer used this.

 

   -Robert

 

 

  • These functions sound like alsa sound library calls; I would make sure your LSP/file system have support for ALSA; by the way, I am not familiar with dvsdk_2_00_01_15 version, where did you get this from?

  •  

    Juan,

    Thank you!

    The LSP that comes with DVSDK 2.00.01.15 ("LSP 2.00 version 0.9.0") does mention support of ALSA in the audio driver description.  However, the User's Guide for the audio driver (sprug98.pdf) doesn't seem to mention any snd_mixer_* functions.   I did find that there is apparently an update to LSP 2.00 at https://www-a.ti.com/downloads/sds_support/targetcontent/psp/mv_lsp_2_00/index.html that looks like it might resolve this issue.  However, when I try clicking on "Production Release", I get a broken link (I can get something when I click on "Beta Release" -- but that version is apparently older than the one I have now).  Do you know where I can get to a good link for the production version of the latest?

    Regarding DVSDK version 2.00.01.15, this happened to be the version that was on the SDS download site when I was looking for the latest DVSDK that works with HD DaVinci.  It appears that, later, this version was replaced with 2.00.00.18 (details in this thread:  http://community.ti.com/forums/t/5856.aspx).  Would you recommend reverting to 2.00.00.18?  (Everything has been working well [with the exception of this issue :)] up to this point, so I'd like to stay with what we have installed if feasible).

    Thank you for your help!

     

        -Robert

     

     

  • Juan,

    Thank you!   This is exactly what I was looking for.

    I tried downloading the updated LSP 1.4.  Unfortunately, I still get the same error messages when I try building with DMAI 1.20.

    For the moment we were able to workaround this by reverting to DMAI 1.18 in our release.

    Also, it looks like this latest version of the DVSDK in your link uses DMAI 1.20.  I'm therefore pretty confident that upgrading to this should resolve our build issues. 

    Based on this, I'm pretty sure this will resolve this issue.  I'll go ahead and call this issue "resolved."  Thanks for your help!

     

         -Robert