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.

Linux/DRA74: Gstreamer Playback is not working after integrating VSDK3.04

Part Number: DRA74

Tool/software: Linux

Hello Team, 

We have Integrated the VSDK3.04 specific changes to our build and after that Gstreamer playback with explicit and playbin is not working and failing with following errors:

1. root@mmt2020-a880:~# gst-launch-1.0 playbin uri=file:///tmp/USB1-1.2-sda1/SampleVideo/B01_Baseline1.0_1280_720.MP4 video-sink=waylandsink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
MmRpc_create: Error: open failed, name=/dev/rpmsg-dce
/data/work/Jenkins/TI-BASE-MMT2020-SDK1/elina-distro/build-mmt2020-a880/tmp/work/cortexa15hf-vfp-neon-elina-linux-gnueabi/libdce/3.00.12.00-r4/git/libdce.c:416:   dce_ipc_init    ERROR: Failed eError == DCE_EOK error val -4/data/work/Jenkins/TI-BASE-MMT2020-SDK1/elina-distro/build-mmt2020-a880/tmp/work/cortexa15hf-vfp-neon-elina-linux-gnueabi/libdce/3.00.12.00-r4/git/libdce.c:479:  Engine_open     ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4MmRpc_create: Error: open failed, name=/dev/rpmsg-dce
/data/work/Jenkins/TI-BASE-MMT2020-SDK1/elina-distro/build-mmt2020-a880/tmp/work/cortexa15hf-vfp-neon-elina-linux-gnueabi/libdce/3.00.12.00-r4/git/libdce.c:416:   dce_ipc_init    ERROR: Failed eError == DCE_EOK error val -4/data/work/Jenkins/TI-BASE-MMT2020-SDK1/elina-distro/build-mmt2020-a880/tmp/work/cortexa15hf-vfp-neon-elina-linux-gnueabi/libdce/3.00.12.00-r4/git/libdce.c:479:  Engine_open     ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4Redistribute latency...
surface                : 90 created
[destroyed object]: error 0: invalid format 0x32315559
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
wl_display@1: error 0: invalid object 7
Error communicating with wayland: Invalid argument
Error communicating with wayland: Invalid argument
New clock: GstSystemClock
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended

2. root@mmt2020-a880:~# gst-launch-1.0 filesrc location=/tmp/USB1-1.2-sdb1/SampleVideo/B01_Baseline1.0_1280_720.MP4 ! qtdemux ! h264parse ! ducatih264dec ! waylandsink
Setting pipeline to PAUSED ...
MmRpc_create: Error: open failed, name=/dev/rpmsg-dce
ERROR: Pipeline doesn't want to pause.
/data/work/Jenkins/TI-BASE-MMT2020-SDK1/elina-distro/build-mmt2020-a880/tmp/work/cortexa15hf-vfp-neon-elina-linux-gnueabi/libdce/3.00.12.00-r4/git/libdce.c:416:        dce_ipc_init    ERROR: Failed eError == DCE_EOK error val -4/data/work/Jenkins/TI-BASE-MMT2020-SDK1/elina-distro/build-mmt2020-a880/tmp/work/cortexa15hf-vfp-neon-elina-linux-gnueabi/libdce/3.00.12.00-r4/git/libdce.c:479: Engine_open  ERROR: Failed dce_ipc_init(coreIdx) == DCE_EOK error val -4Setting pipeline to NULL ...
Freeing pipeline ...
root@mmt2020-a880:~#

Do we need to update or enable anything specific to gstreamer?

Regards,

Ikshwaku

  • Hi Ikshwaku,
    This is a known limitation with Vision-sdk 3.04 release since vDRM replaces omapdrm for vision-sdk usecases.
    From the log MmRpc_create: Error: open failed, name=/dev/rpmsg-dce
    it looks like even ipumm is also not loaded first of all.

    TI is working on this. Officially gstreamer support will be available in Vision-SDK 3.05 release.
    There are some patches required for gst ducati and gstvpe to have the omapdrm support.
    Will get back to you on this.

    Ram
  • Ikshwaku -- as noted today, this patch has been provided to you separately.