Gstreamer nvcompositor not working on 28.2 ?

Running 28.2 and trying to test the new nvcompositor

External Image

nvidia@tegra-ubuntu:~/Desktop$ head -n 1 /etc/nv_tegra_release

R28 (release), REVISION: 2.0, GCID: 10567845, BOARD: t186ref, EABI: aarch64, DATE: Fri Mar 2 04:57:01 UTC 2018

gst-launch-1.0 nvcompositor
name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1920
sink_0::height=1080 sink_1::xpos=0 sink_1::ypos=0
sink_1::width=1600 sink_1::height=1024 sink_2::xpos=0
sink_2::ypos=0 sink_2::width=1366 sink_2::height=768
sink_3::xpos=0 sink_3::ypos=0 sink_3::width=1024
sink_3::height=576 ! nvoverlaysink display-id=1
videotestsrc ! comp.
videotestsrc ! comp.
videotestsrc ! comp.
videotestsrc ! comp. -e

WARNING: erroneous pipeline: no element “nvcompositor”

Wasn’t nvcompositor added to 28.2 after all?

Hi njal,
We are checking this.

Hi njal,
Please try

sudo apt-get install gstreamer1.0-plugins-bad
rm .cache/gstreamer-1.0/registry.aarch64.bin
gst-inspect-1.0 nvcompositor

nvidia@tegra-ubuntu:~/Desktop$ sudo apt-get install gstreamer1.0-plugins-bad
[sudo] password for nvidia:
Reading package lists… Done
Building dependency tree
Reading state information… Done
gstreamer1.0-plugins-bad is already the newest version (1.8.3-1ubuntu0.2).
0 upgraded, 0 newly installed, 0 to remove and 323 not upgraded.
nvidia@tegra-ubuntu:~/Desktop$ rm .cache/gstreamer-1.0/registry.aarch64.bin
rm: cannot remove ‘.cache/gstreamer-1.0/registry.aarch64.bin’: No such file or directory
nvidia@tegra-ubuntu:~/Desktop$ gst-inspect-1.0 nvcompositor
No such element or plugin ‘nvcompositor’

I see an error. You don’t correctly clean the cache.

nvidia@tegra-ubuntu:~/Desktop$ rm .cache/gstreamer-1.0/registry.aarch64.bin
rm: cannot remove '.cache/gstreamer-1.0/registry.aarch64.bin': No such file or directory

We have verified it working. Please do simple debugging before making post. Thanks.

Sorry, my bad. Didn’t spot the relative path.

It seems to be working now - at least with videotestsrc. Thanks!!