Fail to layout 2 nvoverlaysink on one display

Hello,
on tx2 4G R32.2, I am trying to fill up one screen with two nvoverlaysink, using the following commands:

  • gst-launch-1.0 videotestsrc pattern=18 ! ‘video/x-raw, width=1920, height=1080, format=UYVY’ ! nvvidconv left=0 top=455 right=1920 bottom=1080 ! ‘video/x-raw(memory:NVMM), width=1920,height=625, format=RGBA’ ! nvoverlaysink sync=false overlay=1 display-id=0 overlay-x=0 overlay-y=455 overlay-w=1920 overlay-h=625

  • gst-launch-1.0 videotestsrc pattern=0 ! ‘video/x-raw, width=1920, height=1080, format=UYVY’ ! nvvidconv left=0 top=0 right=1920 bottom=455 ! ‘video/x-raw(memory:NVMM), width=1920,height=455, format=RGBA’ ! nvoverlaysink sync=false overlay=0 display-id=0 overlay-x=0 overlay-y=0 overlay-w=1920 overlay-h=455

It reports the following error when I execute the second command:
NvxBaseWorkerFunction[2575] comp OMX.Nvidia.std.iv_renderer.overlay.yuv420 Error -2147479552
NvxBaseWorkerFunction[2575] comp OMX.Nvidia.std.iv_renderer.overlay.yuv420 Error -2147479552
Setting pipeline to NULL …
NvxBaseWorkerFunction[2575] comp OMX.Nvidia.std.iv_renderer.overlay.yuv420 Error -2147479552

Hi,
On TX2, you need to set win_mask. Please refer to developer guide