Hello,
We're having an issue with testing IVA-HD on AM57x processors using the file to file video encoding pipeline example given in the documentation:
gst-launch-1.0 filesrc location=waterfall-352-288-nv12-inp.yuv ! videoparse width=352 height=288 format=nv12 ! video/x-raw, width=352, height=288 ! ducatih264enc ! filesink location=waterfall-352-288-nv12-inp_gst.h264
Setting pipeline to PAUSED ... MmRpc_create: Error: open failed, name=/dev/rpmsg-dce ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0: Could not initialize supporting library. Additional debug info: ../../../../gst-plugins-base-1.14.4/gst-libs/gst/video/gstvideoencoder.c(1634): gst_video_encoder_change_state (): /GstPipeline:pipeline0/GstDucatiH264Enc:ducatih264enc0: Failed to start encoder ../git/libdce.c:416: dce_ipc_init ERROR: Failed eError == DCE_EOK error val -4../git/libdce.c:479: Engine_open ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4Setting pipeline to NULL ... Freeing pipeline ...
From what I've read in other posts on E2e, this stems from /dev/rpmsg-dce not being present. It is missing from our file system as well, despite libdce1 and ipumm-fw being present in our rootfs, as well as the IPUs seemingly initializing without error:
[ 0.000000] OF: reserved mem: initialized node ipu1-memory@95800000, compatible id shared-dma-pool [ 0.000000] OF: reserved mem: initialized node ipu2-memory@9b800000, compatible id shared-dma-pool [ 0.496765] iommu: Adding device 58820000.ipu to group 1 [ 0.496847] iommu: Adding device 55020000.ipu to group 2 [ 8.127830] omap-rproc 58820000.ipu: ignoring dependency for device, assuming no driver [ 8.156225] omap-rproc 58820000.ipu: ignoring dependency for device, assuming no driver [ 8.176230] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@95800000 [ 8.186541] remoteproc remoteproc0: 58820000.ipu is available [ 8.198093] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver [ 8.208505] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver [ 8.222832] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@9b800000 [ 8.281392] remoteproc remoteproc1: 55020000.ipu is available [ 8.981164] remoteproc remoteproc1: powering up 55020000.ipu [ 8.987174] remoteproc remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3747232 [ 9.052254] remoteproc remoteproc0: powering up 58820000.ipu [ 9.061272] remoteproc remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 6803868 [ 9.182927] remoteproc remoteproc1: remote processor 55020000.ipu is now up [ 9.256599] remoteproc remoteproc0: remote processor 58820000.ipu is now up
Any suggestions?
Thanks,
Matt McKee